From 4331af20047faa9bd46cf29740e5920aee577e3a Mon Sep 17 00:00:00 2001 From: Christian Lawson-Perfect Date: Fri, 21 Mar 2025 15:27:00 +0000 Subject: [PATCH] add dark mode --- style.css | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/style.css b/style.css index 299b7f1..1e03925 100644 --- a/style.css +++ b/style.css @@ -12,6 +12,15 @@ color-scheme: light dark; } +@media (prefers-color-scheme: dark) { + :root { + --bg-lum: 0.3; + } + body { + background: black; + } +} + body { font-family: 'Atkinson Hyperlegible'; line-height: 1.5;