Class

ThemeColorsDefinitionCreator

ThemeColorsDefinitionCreator()

Helps to create new themes

Constructor

new ThemeColorsDefinitionCreator()

Methods

static getPredefined(nameopt) → {ThemeColorsDefinitionCreator.ThemeColorsDefinition}

Returns a predefined ThemeColorsDefinition object.
Parameters:
Name Type Attributes Description
name "DarkTheme" | "MediumTheme" | "BlueDarkTheme" | "BlueMediumTheme" <optional>
Name of the predefined theme

Type Definitions

ThemeColorsDefinition

Defines colors of a theme
Properties:
Name Type Description
colors CoreThemeColors object with theme colors
lightTheme boolean indicates whether UI should consider the theme to be inherently light or dark. Influences chosen text color, hover effects etc.