diff options
author | fncnt <github@vncnt.eu> | 2019-05-25 12:07:23 +0300 |
---|---|---|
committer | fncnt <github@vncnt.eu> | 2019-05-25 12:07:23 +0300 |
commit | 61e554fa30cec707b2cf890c99331b8cde5fb889 (patch) | |
tree | 3fc3a28c049bda598494f781a6b6b18200a35af7 | |
parent | 4de1dddf3513b0002ac1bda6c120c906a562e9d6 (diff) |
Fix darkmode by replacing :html with :root in prefers-color-scheme media query.
-rw-r--r-- | static/css/vncnt.css | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/static/css/vncnt.css b/static/css/vncnt.css index f738adc..63fb563 100644 --- a/static/css/vncnt.css +++ b/static/css/vncnt.css @@ -19,7 +19,7 @@ there. @import url('barebones.css'); @media screen and (prefers-color-scheme: dark) { - :html { + :root { /* dark theme: light background, dark text, blue accent */ --theme-hue: 0; /* black */ --accent-hue: 194; /* blue */ |