1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
@mixin taxonomy_dark { .taxonomy-element { background-color: $alt-bg-color-dark; a { color: $fg-color-dark; } a:active { color: $fg-color-dark; } } } body.colorscheme-dark { @include taxonomy_dark(); } body.colorscheme-auto { @media (prefers-color-scheme: dark) { @include taxonomy_dark(); } }