ThemeState
Defined in: src/ui/theme-context.tsx:28
What useTheme returns.
Properties
Section titled “Properties”| Property | Type | Description | Defined in |
|---|---|---|---|
resolved |
ResolvedTheme |
The single theme every surface, text color and viewer resolves to. | src/ui/theme-context.tsx:30 |
showToggle |
boolean |
Whether the dashboard owns the theme (shows its own toggle). | src/ui/theme-context.tsx:32 |
store |
ThemeStore | undefined |
The product’s theme store, when a ThemeProvider supplied one. | src/ui/theme-context.tsx:34 |