properly include taxonomy_dark mixin (#581)

This commit is contained in:
Artem Khvastunov
2021-07-14 03:07:06 +02:00
committed by GitHub
parent afa17c8989
commit b52ca9e036
5 changed files with 45 additions and 8 deletions

View File

@@ -1,4 +1,4 @@
@mixin taxonomy {
@mixin taxonomy_dark {
.taxonomy-element {
background-color: $alt-bg-color-dark;
@@ -10,3 +10,13 @@
}
}
}
body.colorscheme-dark {
@include taxonomy_dark();
}
body.colorscheme-auto {
@media (prefers-color-scheme: dark) {
@include taxonomy_dark();
}
}