From 2137d8b322394f6da436174f03ea5363df21315d Mon Sep 17 00:00:00 2001 From: Gabriel Gordon-Hall Date: Tue, 23 Sep 2025 12:44:56 +0100 Subject: [PATCH] set color-scheme (#817) --- frontend/src/styles/index.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/src/styles/index.css b/frontend/src/styles/index.css index 7b5703ce..1160d3a2 100644 --- a/frontend/src/styles/index.css +++ b/frontend/src/styles/index.css @@ -8,6 +8,7 @@ @layer base { /* Light defaults */ :root { + color-scheme: light; --_background: 48 33% 97%; --_foreground: 222.2 84% 4.9%; --_primary: var(--_muted); @@ -44,6 +45,7 @@ /* Dark defaults (used if no theme class but user prefers dark) */ .dark { + color-scheme: dark; --_background: 60 2% 18%; --_foreground: 48 7% 95%; --_primary: var(--_muted);