Theme section of Adaptable State

TypeScript
export interface ThemeState extends
Extends

BaseState

Properties

PropertyDescription
CurrentThemeName 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
SystemThemesWhich, if any, of the 2 themes shipped by Adaptable should be available; leave unset to provide both, or an empty array to provide neither.
UserThemesCustom 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[];
Property Value

AdaptableTheme[]