fix: tell Dark Reader this page is already dark

Dark Reader inverts an already-dark palette, which wrecks the interface: the
colours here carry meaning — the urgency ramp is how you read how soon
something ends — so having them re-mapped is not a cosmetic problem.

darkreader-lock is its documented opt-out. color-scheme: dark is the standard
signal alongside it, so browser chrome and form controls render dark too.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
This commit is contained in:
Lucas Winther
2026-08-15 01:43:47 +02:00
co-authored by Claude Opus 5
parent 3bab95acd5
commit 0efcfc52f0
+16
View File
@@ -10,6 +10,22 @@
content="Live and upcoming events across your gacha games, sorted by what ends soonest." content="Live and upcoming events across your gacha games, sorted by what ends soonest."
/> />
<meta name="theme-color" content="#12141c" /> <meta name="theme-color" content="#12141c" />
<!--
This page is already dark. Two signals, because they cover different
readers:
color-scheme tells the browser (and well-behaved extensions) that a dark
rendering is intended, so form controls and scrollbars come out dark and
nothing tries to synthesise a light theme.
darkreader-lock is Dark Reader's documented opt-out. Without it Dark
Reader inverts an already-dark palette, which wrecks the urgency ramp —
the colours in this UI carry meaning, so having them re-mapped is not a
cosmetic problem.
-->
<meta name="color-scheme" content="dark" />
<meta name="darkreader-lock" />
<link rel="preconnect" href="https://fonts.googleapis.com" /> <link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin /> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link <link