diff --git a/README.md b/README.md index ccb444f..2625093 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,8 @@ Personal Homepage ## Credits -- [Zola](https://getzola.org) static site engine -- [Duckquill](https://duckquill.daudix.one) great theme +- [Zola](https://getzola.org) +- [Duckquill](https://duckquill.daudix.one) ## Disclaimer diff --git a/config.toml b/config.toml index ad16f80..b070cc5 100644 --- a/config.toml +++ b/config.toml @@ -56,7 +56,7 @@ accent_color_dark = "#2d7ea0" # Whether to fix low contrast in text selection, checkboxes, etc. # Use only if the default doesn't provide enough contrast, e.g. the accent color is set to yellow. # -fix_contrast = false +fix_contrast = true # # Ditto but for the dark theme. fix_contrast_dark = true diff --git a/sass/mods.scss b/sass/mods.scss index 532453c..bdb22f9 100644 --- a/sass/mods.scss +++ b/sass/mods.scss @@ -1,9 +1,5 @@ body { font-family: "U42SansQuasiNerd", sans-serif; - background-image: var(--bg-overlay), url("bg.png"); - background-position: center; - background-size: cover; - background-attachment: fixed; } @font-face { @@ -18,11 +14,14 @@ body { @include theme-variables using ($theme) { @if $theme == "dark" { --bg-overlay: linear-gradient(rgb(0 0 0 / 0.6), rgb(0 0 0 / 0.6)); + body { + font-family: "U42SansQuasiNerd", sans-serif; + background-image: var(--bg-overlay), url("bg.png"); + background-position: center; + background-size: cover; + background-attachment: fixed; + } } @else { - --bg-overlay: linear-gradient( - rgb(255 255 255 / 0.5), - rgb(255 255 255 / 0.5) - ); } }