Skip to content

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.

string

Name of the theme.

() => Promise<{ default: string; }>

Function returning a promise that resolves with the CSS for the theme.

void