registerTheme
registerTheme(
name,loader):void
Defined in: themes/index.ts:27
Function that allows overriding the default themes or registering new themes to be used by the setups or web components.
Parameters
Section titled “Parameters”string
Name of the theme.
loader
Section titled “loader”() => Promise<{ default: string; }>
Function returning a promise that resolves with the CSS for the theme.
Returns
Section titled “Returns”void