AboutSupportDeveloper GuideVersion 21.0.10

Type alias CustomThemeOptions

CustomThemeOptions: BaseThemeOptions & {
    notificationIndicatorColors?: Record<string, NotificationIndicatorColorsSet>;
    palette: CustomPaletteSet;
}

Type declaration

  • Optional notificationIndicatorColors?: Record<string, NotificationIndicatorColorsSet>

    NOTE: Only used in Notifications

    Used for providing color overrides of notification indicators or defining custom colors that clients could target.

    Example

    const themeOptions = {
    default: 'light',
    palettes: {...}
    notificationIndicatorColors: {
    red: {
    background: '#FF0000',
    foreground: '#FFFFDD'
    },
    customred: {
    // If `foreground` is not defined it will default to `#FFFFFF`
    background: '#FF0011'
    }
    }
    };
  • palette: CustomPaletteSet