OpenFin Workspace Platform API
    Preparing search index...

    Type Alias CustomThemeOptions

    CustomThemeOptions: BaseThemeOptions & {
        notificationIndicatorColors?: NotificationIndicatorColors;
        palette: CustomPaletteSet;
    }

    Type Declaration

    • OptionalnotificationIndicatorColors?: NotificationIndicatorColors

      NOTE: Only used in Notifications

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

      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