diff options
author | 2019-06-25 13:19:44 +0300 | |
---|---|---|
committer | 2023-01-13 10:37:55 +0300 | |
commit | 8f9f5acccf45155dfd2a544c901477a723d28e23 (patch) | |
tree | 4836582623635303a3f6ff14b62c8b6d3ba0a45f /vnext | |
parent | cb5240d00c19cb6c2266438fb7974c98c4d52bc4 (diff) |
Initial dark mode
Diffstat (limited to 'vnext')
-rw-r--r-- | vnext/src/index.css | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/vnext/src/index.css b/vnext/src/index.css index 2f5d0b5e..2fb4c087 100644 --- a/vnext/src/index.css +++ b/vnext/src/index.css @@ -1,6 +1,7 @@ @custom-media --viewport-desktop (width >=62.5rem); :root { --main-width: 1000px; + color-scheme: light dark; } * { @@ -356,3 +357,13 @@ hr { border-right: 2px solid #ff339a; } } + +@media (prefers-color-scheme: dark) { + body { + background: #363636; + color: #fff; + } + a { + color: #ff9966; + } +} |