aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/index.css
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2019-06-25 13:19:44 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:55 +0300
commit8f9f5acccf45155dfd2a544c901477a723d28e23 (patch)
tree4836582623635303a3f6ff14b62c8b6d3ba0a45f /vnext/src/index.css
parentcb5240d00c19cb6c2266438fb7974c98c4d52bc4 (diff)
Initial dark mode
Diffstat (limited to 'vnext/src/index.css')
-rw-r--r--vnext/src/index.css11
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;
+ }
+}