Files
hugo-coder-timeline/assets/scss/_footer_dark.scss
John Schroeder b00b75064d Automatic dark/light colorschemes (#234)
* Automatic dark/light colorschemes

A new `colorscheme` option is added with the capability to be always dark,
always light, or automatic based on the user's browser setting.  This
makes the `inverted` option superfluous, and therefore deprecated.
Nomenclature of files, variables, etc are changed from `inverted` to
`dark` to reflect this change.

Closes #226.

* Remove inverted option completely

The `inverted` option is now not just deprecated, but removed
completely.
2019-11-21 10:13:49 -03:00

18 lines
234 B
SCSS

@mixin footer_dark {
.footer {
a {
color: $link-color-dark;
}
}
}
body.colorscheme-dark {
@include footer_dark()
}
body.colorscheme-auto {
@media (prefers-color-scheme: dark) {
@include footer_dark()
}
}