CssVariableThemeProvider class

CssVariableThemeProvider loads themes from json. Writes json themes into the dom as css variables. It can return the theme object to consumers

Methods

enableThemeGlobally(string)
provideTheme(ThemeConfiguration, ThemeProviderOptions)

Method Details

enableThemeGlobally(string)

function enableThemeGlobally(themeName: string)

Parameters

themeName

string

provideTheme(ThemeConfiguration, ThemeProviderOptions)

function provideTheme(theme: ThemeConfiguration, options?: ThemeProviderOptions)

Parameters