From 8f9f5acccf45155dfd2a544c901477a723d28e23 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Tue, 25 Jun 2019 13:19:44 +0300 Subject: Initial dark mode --- vnext/src/index.css | 11 +++++++++++ 1 file changed, 11 insertions(+) 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; + } +} -- cgit v1.2.3