feat: Update to latest Duckquill (a lot of var. name changes)
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
David Lapshin 2023-10-15 23:48:09 +00:00
parent eb0b17b3c5
commit 451918d398
Signed by: daudix
GPG key ID: 93ECF15D3053D81C
3 changed files with 22 additions and 37 deletions

View file

@ -4,7 +4,7 @@ description = "Passionate designer, translator, and FOSS contributor."
theme = "duckquill" theme = "duckquill"
compile_sass = true compile_sass = true
minify_html = true minify_html = false
generate_feed = true generate_feed = true
feed_filename = "atom.xml" feed_filename = "atom.xml"
build_search_index = false build_search_index = false
@ -23,7 +23,7 @@ highlight_themes_css = [
smart_punctuation = true smart_punctuation = true
[extra] [extra]
accent_color = "#c061cb" primary_color = "#c061cb"
animated_favicon = true animated_favicon = true
blog_description = "Howdy! welcome to my little blog, I write about software, FOSS and what not. Take your cup of ☕ and look around!" blog_description = "Howdy! welcome to my little blog, I write about software, FOSS and what not. Take your cup of ☕ and look around!"
blog_title = "Daudix's Blog" blog_title = "Daudix's Blog"

View file

@ -1,32 +1,31 @@
@use "sass:color"; @use "sass:color";
$accent-color: #c061cb; $primary-color: #c061cb;
$accent-color-20: color.scale($accent-color, $alpha: -80%); $primary-color-alpha: color.scale($primary-color, $alpha: -80%);
$bg-color-l: color.mix($primary-color, rgb(250, 250, 250), 10%);
$bg-color-d: color.mix($primary-color, rgb(11, 11, 11), 5%);
$crt-bg: radial-gradient( $crt-bg: radial-gradient(
color.scale($accent-color, $lightness: -80%), color.scale($primary-color, $lightness: -80%),
color.scale($accent-color, $lightness: -90%) color.scale($primary-color, $lightness: -90%)
); );
$bg-l: color.mix($accent-color, rgb(250, 250, 250), 10%); $glow: 0 0 0 1px color.scale($primary-color, $alpha: -95%),
$bg-d: color.mix($accent-color, rgb(11, 11, 11), 5%); 0 2px 6px 2px color.scale($primary-color, $alpha: -95%),
0 4px 24px 4px color.scale($primary-color, $alpha: -90%);
$glow:
0 0 0 1px color.scale($accent-color, $alpha: -95%),
0 2px 6px 2px color.scale($accent-color, $alpha: -95%),
0 4px 24px 4px color.scale($accent-color, $alpha: -90%);
:root { :root {
--accent-color-20: #{$accent-color-20}; --bg-color: #{$bg-color-l};
--accent-color: #{$accent-color};
--background: #{$bg-l};
--crt-bg: #{$crt-bg}; --crt-bg: #{$crt-bg};
--primary-color-alpha: #{$primary-color-alpha};
--primary-color: #{$primary-color};
--glow: #{$glow}; --glow: #{$glow};
} }
@media (prefers-color-scheme: dark) { @media (prefers-color-scheme: dark) {
:root { :root {
--background: #{$bg-d}; --bg-color: #{$bg-color-d};
} }
} }
@ -70,14 +69,14 @@ $glow:
a { a {
padding: 0.75rem; padding: 0.75rem;
border-radius: var(--border-radius); border-radius: var(--rounded-corner);
background-color: transparent; background-color: transparent;
transition: all 0.35s cubic-bezier(0.17, 0.89, 0.32, 1.28); transition: all 0.35s cubic-bezier(0.17, 0.89, 0.32, 1.28);
} }
a:hover { a:hover {
background-color: var(--fg-05); background-color: var(--fg05);
box-shadow: 0 0 0 8px var(--fg-05); box-shadow: 0 0 0 8px var(--fg05);
text-decoration: none; text-decoration: none;
} }
} }
@ -94,12 +93,12 @@ section#wallpapers {
background-color: rgba(255, 163, 72, 0.2); background-color: rgba(255, 163, 72, 0.2);
img { img {
border-radius: var(--border-radius); border-radius: var(--rounded-corner);
} }
} }
details.blur ul li { details.blur ul li {
color: var(--accent-color); color: var(--primary-color);
filter: blur(6px); filter: blur(6px);
transition: var(--transition-longer); transition: var(--transition-longer);
@ -108,17 +107,3 @@ details.blur ul li {
filter: blur(0); filter: blur(0);
} }
} }
.johnvertisement {
margin: 0 auto;
display: block;
width: min(728px, 100vw);
height: min(90px, 12.367vw);
border: none;
}
.site-footer {
details {
all: unset;
}
}

@ -1 +1 @@
Subproject commit abf31905ada64b29ede58efb3ab600001c8f51b9 Subproject commit 6242b721f25f9f10faf2dba9870bb611c80471cb