Skip to main content

Type Alias: Theme

Theme = "auto" | "light" | "dark"

Defined in: view/gantt-shell.ts:202

Theming's only preset axis — 'auto' follows prefers-color-scheme (no data-fg-theme attribute written), 'light'/'dark' pin it. ADR 0029: the app pushes the answer; it writes gantt.theme or pins data-fg-theme on an ancestor. The library never calls back into the app to ask.