Skip to content

ThemeMode

type ThemeMode =
| "auto"
| "inherit"
| ResolvedTheme;

Defined in: src/ui/theme-context.tsx:25

How the dashboard’s theme is decided:

  • "auto" — its own system/light/dark preference (persisted), with the toggle.
  • "inherit" — follow the host page (see detectHostTheme); no toggle.
  • "light" / "dark" — fixed by the host (e.g. from its own theme state); no toggle.