- Colour tokens in index.css named by role (ink, body, muted, link, brand, action, surface, tint, danger), used everywhere instead of hex - Dark mode: follows the system, a header toggle (site and admin) overrides it and is remembered; set before first paint in index.html - Data colours go through src/lib/color.ts: withAlpha for tints, accentText (lighter on dark) for text in an accent, readableOn for text on one, so an admin's pale colour still reads - Migration 040 drops events.gradient: a card is its photo or plain, with its colour as the border; other decorative gradients are solid - The countdown and a hero event without a photo mix their colour toward ink behind white text Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
25 lines
857 B
HTML
25 lines
857 B
HTML
<!doctype html>
|
|
<html lang="<!-- site:lang -->">
|
|
<head>
|
|
<!-- site:head-start -->
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title><!-- site:title --></title>
|
|
<!-- Theme before first paint, so a dark visitor never sees a white
|
|
flash: this browser's choice (ThemeToggle), else the system. -->
|
|
<script>
|
|
try {
|
|
var t = localStorage.getItem("ngu-theme");
|
|
document.documentElement.dataset.theme =
|
|
t === "dark" || t === "light" ? t : matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light";
|
|
} catch (e) {}
|
|
</script>
|
|
<!-- site:head-end -->
|
|
</head>
|
|
<body>
|
|
<!-- site:body-start -->
|
|
<div id="root"></div>
|
|
<script type="module" src="/src/main.tsx"></script>
|
|
<!-- site:body-end -->
|
|
</body>
|
|
</html>
|