AboutSupportDeveloper GuideVersion 14.0.19

Interface CustomThemeOptionsWithScheme

Hierarchy

  • BaseThemeOptions
    • CustomThemeOptionsWithScheme

Properties

default?: "light" | "dark"

The default color scheme for this theme.

This will be used as a fallback if the user has not yet selected a color scheme, or there was an error fetching the user's color scheme.

Default

'dark'
label: string
logoUrl?: string
palettes: {
    dark: CustomPaletteSet;
    light: CustomPaletteSet;
}

The palette for this theme.

When a user selects a color scheme, the palette will be updated to match the selected scheme.

If system is selected, the palette will be updated to match the user's system color scheme.

Type declaration