aboutsummaryrefslogtreecommitdiff
path: root/www/assets/base-style.css
diff options
context:
space:
mode:
Diffstat (limited to 'www/assets/base-style.css')
-rw-r--r--www/assets/base-style.css6
1 files changed, 3 insertions, 3 deletions
diff --git a/www/assets/base-style.css b/www/assets/base-style.css
index 4ee87d6..4c5a730 100644
--- a/www/assets/base-style.css
+++ b/www/assets/base-style.css
@@ -1,5 +1,7 @@
html {
width: 100%;
+ --fg-color: black;
+ --bg-color: white;
}
* {
@@ -9,8 +11,6 @@ html {
body {
width: 100%;
margin: 0;
- --fg-color: black;
- --bg-color: white;
color: var(--fg-color);
background-color: var(--bg-color);
}
@@ -88,7 +88,7 @@ nav {
vertical-align: middle;
}
-body[data-theme="dark"] {
+html[data-theme="dark"] {
--fg-color: white;
--bg-color: black;