Browse Source

parameterize alternate font color for header

Alexander Avery 3 months ago
parent
commit
d688459719
  1. 3
      assets/sass/main.scss
  2. 1
      layouts/_default/baseof.html

3
assets/sass/main.scss

@ -2,6 +2,7 @@
@import 'cards.scss'; @import 'cards.scss';
@import 'code.scss'; @import 'code.scss';
@import 'fonts.scss'; @import 'fonts.scss';
@import 'hugo:vars';
@mixin screen-max($max) { @mixin screen-max($max) {
@media (max-width: $max - 1) { @media (max-width: $max - 1) {
@ -35,7 +36,7 @@ header {
margin: auto; margin: auto;
font-weight: bold; font-weight: bold;
text-decoration: none; text-decoration: none;
color: $background-color; color: $font-color-alternate;
} }
} }
} }

1
layouts/_default/baseof.html

@ -22,6 +22,7 @@
{{ $defaultColors := dict {{ $defaultColors := dict
"background_color" "#1f2835" "background_color" "#1f2835"
"font_color" "#f8f8ff" "font_color" "#f8f8ff"
"font_color_alternate" "#1f2835"
"top_bar" "#f8f8ffcc" "top_bar" "#f8f8ffcc"
"dark" "#111" "dark" "#111"
"link_color" "#5fcfd0" "link_color" "#5fcfd0"

Loading…
Cancel
Save