From 803795aa9635459cbc7cf83df9e5773eb71b2bac Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 5 Nov 2026 07:47:51 +0000 Subject: [PATCH] Keep every Anomalon site light, whatever the OS setting The shared stylesheet followed prefers-color-scheme, so visitors with a dark OS got dark pages. The light palette is now the only default (color-scheme: light); dark remains available only by an explicit data-theme="dark". Copied byte for byte from anomalon.com/ds/v1 (sha256 b8150cdf...). Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_0194kAmZqD922d7DPkm5UTas --- web/static/anomalon.css | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/web/static/anomalon.css b/web/static/anomalon.css index 4d59cdb..32f4470 100644 --- a/web/static/anomalon.css +++ b/web/static/anomalon.css @@ -35,15 +35,9 @@ --an-radius: 6px; --an-header-h: 56px; --an-w-prose: 620px; --an-w-home: 880px; --an-w-tool: 1200px; + color-scheme: light; } -@media (prefers-color-scheme: dark) { - :root:not([data-theme="light"]) { - --an-bg: #11161c; --an-surface: #171e26; --an-ink: #e6eaee; --an-ink-2: #aab3bd; --an-ink-3: #8a939d; - --an-line: #2a333d; --an-line-strong: #3a4552; --an-accent: #4fb7b0; --an-accent-hover: #6cc9c2; --an-accent-ink: #0c1a1a; - --an-accent-soft: #16302f; --an-ok: #6fcf97; --an-ok-soft: #173326; --an-warn: #e0b55a; --an-warn-soft: #3a2e14; - --an-bad: #f2867d; --an-bad-soft: #3d1d1a; --an-mute-soft: #222a33; color-scheme: dark; - } -} +/* Light by default on every site, whatever the OS setting. Dark only when a page sets data-theme="dark". */ :root[data-theme="dark"] { --an-bg: #11161c; --an-surface: #171e26; --an-ink: #e6eaee; --an-ink-2: #aab3bd; --an-ink-3: #8a939d; --an-line: #2a333d; --an-line-strong: #3a4552; --an-accent: #4fb7b0; --an-accent-hover: #6cc9c2; --an-accent-ink: #0c1a1a;