diff options
author | Lukas Stabe <lukas@stabe.de> | 2020-09-26 03:40:42 +0000 |
---|---|---|
committer | Lukas Stabe <lukas@stabe.de> | 2020-09-26 03:40:42 +0000 |
commit | ca3f73d5433156c2c6d1af7877024996ff020afd (patch) | |
tree | de7e8811aba3efdeb614f88cd7cc906a1d209586 | |
parent | remove default color scheme cli argument (diff) | |
download | miniserve-ca3f73d5433156c2c6d1af7877024996ff020afd.tar.gz miniserve-ca3f73d5433156c2c6d1af7877024996ff020afd.zip |
fix theme picker highlighting of selected theme
-rw-r--r-- | data/style.scss | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/data/style.scss b/data/style.scss index f7facc2..c146919 100644 --- a/data/style.scss +++ b/data/style.scss @@ -160,7 +160,14 @@ nav .theme li a::hover { color: var(--change_theme_link_color_hover); } -nav .theme li.active a { +@each $theme in $themes { + body.theme_#{$theme} nav .theme li.theme_#{$theme} a { + font-weight: bold; + color: var(--switch_theme_active); + } +} + +body:not([class^="theme_"]) nav .theme li.theme_default a { font-weight: bold; color: var(--switch_theme_active); } |