Keep the header dark and give the light theme a grey content background

The header and its menu popovers always use the dark theme colours, the
light theme body is zinc-100 and Kanban columns zinc-200 so they still
stand out. The theme toggle icon follows the page theme through a new
page-dark variant, and TallStackUI hint and selection group description
texts are one shade darker to keep 4.5:1 contrast on the grey background.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
2026-11-25 06:01:50 +02:00
co-authored by Claude Opus 5.5
parent 7d7b72989d
commit 6936d0950b
6 changed files with 34 additions and 14 deletions
+6
View File
@@ -13,6 +13,12 @@
@custom-variant dark (&:where(.dark, .dark *));
/*
* The header always carries the .dark class, so anything that must follow the
* page theme itself (the theme toggle icon) uses page-dark: instead of dark:.
*/
@custom-variant page-dark (&:where(html.dark, html.dark *));
@theme {
--font-sans: Inter, ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
'Segoe UI Symbol', 'Noto Color Emoji';