auto theme

This commit is contained in:
2019-10-10 08:40:02 -07:00
parent d2d42398ff
commit e7595f5080
3 changed files with 14 additions and 3 deletions

View File

@@ -13,6 +13,17 @@
--foreground: #d8dee9;
}
body {
--background: #fff;
--foreground: #333;
}
@media (prefers-color-scheme: dark) {
body {
--background: #2e3440;
--foreground: #d8dee9;
}
}
html,
body {