Skip to content

Home > mcu-extra > applyTheme

applyTheme variable

This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Signature:

typescript
applyTheme: (theme: Theme, options?: {
    brightnessSuffix?: boolean;
    colorFormat?: 'hex' | 'rgb';
    dark?: boolean;
    paletteTones?: number[];
    target?: HTMLElement;
}) => void