ThemeState
Theme section of Adaptable State
TypeScript
export interface ThemeState extendsExtends
Properties
| Property | Description |
|---|---|
| CurrentTheme | Name of current theme (or theme to set at startup); leave blank if using 'Light Theme', set to 'dark' for 'Dark Theme' or provide name of Custom Theme |
| SystemThemes | Which, if any, of the 2 themes shipped by Adaptable should be available; leave unset to provide both, or an empty array to provide neither. |
| UserThemes | Custom themes (of type AdaptableTheme) provided by developers |
Property Details
CurrentTheme
Name of current theme (or theme to set at startup); leave blank if using 'Light Theme', set to 'dark' for 'Dark Theme' or provide name of Custom Theme
TypeScript
CurrentTheme?: TypeHint<string, 'light' | 'dark' | 'os'>;Property Value
TypeHint<string, 'light' | 'dark' | 'os'>
SystemThemes
Which, if any, of the 2 themes shipped by Adaptable should be available; leave unset to provide both, or an empty array to provide neither.
TypeScript
SystemThemes?: (AdaptableTheme | string)[];Property Value
(AdaptableTheme | string)[]
UserThemes
Custom themes (of type AdaptableTheme) provided by developers
TypeScript
UserThemes?: AdaptableTheme[];