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
enable |
|
provide |
Method Details
enableThemeGlobally(string)
function enableThemeGlobally(themeName: string)
Parameters
- themeName
-
string
provideTheme(ThemeConfiguration, ThemeProviderOptions)
function provideTheme(theme: ThemeConfiguration, options?: ThemeProviderOptions)
Parameters
- theme
- ThemeConfiguration
- options
- ThemeProviderOptions