Skip to content

Documentation / @ripl/charts / setDefaultTheme

Function: setDefaultTheme() ​

setDefaultTheme(theme): void

Defined in: charts/src/core/theme.ts:127

Sets the module-level default theme applied to charts that do not specify their own theme.

Parameters ​

ParameterTypeDescription
themestring | ThemeA registered theme name ('light', 'dark', 'auto', or a custom name) or a Theme.

Returns ​

void