diff options
author | Ryan Schanzenbacher <ryan@rschanz.org> | 2021-12-26 00:30:09 -0500 |
---|---|---|
committer | Ryan Schanzenbacher <ryan@rschanz.org> | 2021-12-26 00:30:09 -0500 |
commit | 8555cf72dec9321fa010296ce6988cf7b7cf602b (patch) | |
tree | 006ad83008cc8e08524631ebb4b638bfbfa490fd /themes/hugo-coder/assets/scss/_taxonomies_dark.scss | |
parent | 2e1cd1a569ea516be6bfdc681411cae51632a290 (diff) |
convert theme from submodule to regular files
Diffstat (limited to 'themes/hugo-coder/assets/scss/_taxonomies_dark.scss')
m--------- | themes/hugo-coder | 0 | ||||
-rw-r--r-- | themes/hugo-coder/assets/scss/_taxonomies_dark.scss | 22 |
2 files changed, 22 insertions, 0 deletions
diff --git a/themes/hugo-coder b/themes/hugo-coder deleted file mode 160000 | |||
Subproject 55b2a150f990bc56364dba347bc9acc6aab07be | |||
diff --git a/themes/hugo-coder/assets/scss/_taxonomies_dark.scss b/themes/hugo-coder/assets/scss/_taxonomies_dark.scss new file mode 100644 index 0000000..77c734d --- /dev/null +++ b/themes/hugo-coder/assets/scss/_taxonomies_dark.scss | |||
@@ -0,0 +1,22 @@ | |||
1 | @mixin taxonomy_dark { | ||
2 | .taxonomy-element { | ||
3 | background-color: $alt-bg-color-dark; | ||
4 | |||
5 | a { | ||
6 | color: $fg-color-dark; | ||
7 | } | ||
8 | a:active { | ||
9 | color: $fg-color-dark; | ||
10 | } | ||
11 | } | ||
12 | } | ||
13 | |||
14 | body.colorscheme-dark { | ||
15 | @include taxonomy_dark(); | ||
16 | } | ||
17 | |||
18 | body.colorscheme-auto { | ||
19 | @media (prefers-color-scheme: dark) { | ||
20 | @include taxonomy_dark(); | ||
21 | } | ||
22 | } | ||