Issue #73: Dark/Light/System theme + selector for marketing/ and docs-site/ #77

Merged
EduarD3V merged 2 commits from issue/73-theme-selector into agent-develop 2026-10-08 05:44:02 +02:00
Collaborator
No description provided.
Three-state Light/Dark/System control in the nav pill (desktop) and the mobile
panel, backed by a segmented group of the installed Button. The choice persists
under gotoi-theme — the same key the dashboard uses — and app.html resolves it
before first paint, so there is no flash of the wrong theme. The dark token
ladder already shipped; only the switch and the init were missing.

Refs #73
fumadocs already wires next-themes (class attribute, system default, pre-paint
inline script), but baseOptions left themeSwitch at its two-state default. Set
mode to light-dark-system so the docs sidebar and mobile header offer
Light/Dark/System, reuse the same component in the landing header so the site
root has a control too, and pin the switch's View Transitions cross-fade off
under prefers-reduced-motion.

Refs #73
EduarD3V merged commit 62cb34f04a into agent-develop 2026-10-08 05:44:02 +02:00
Sign in to join this conversation.
No description provided.