aboutsummaryrefslogtreecommitdiff
path: root/public/global.css
diff options
context:
space:
mode:
Diffstat (limited to 'public/global.css')
-rw-r--r--public/global.css10
1 files changed, 10 insertions, 0 deletions
diff --git a/public/global.css b/public/global.css
index cbe8d1c..e3fcea0 100644
--- a/public/global.css
+++ b/public/global.css
@@ -9,11 +9,21 @@
--fg-alt: #111111;
}
+@media (prefers-color-scheme: dark) {
+ :root {
+ --bg: #000000;
+ --bg-alt: #222222;
+ --fg: #dddddd;
+ --fg-alt: #ffffff;
+ }
+}
+
body, html {
background-color: var(--bg);
color: var(--fg);
margin: 0;
font-family: "Inter", "Neue Haas Grotesk", "Helvetica", "Helvetica Neue", -apple-system, BlinkMacSystemFont, sans-serif;
+ color-scheme: light dark;
}
.limwidth {