New to Kendo UI for Angular? Start a free 30-day trial

Customizing Color System

The following table lists the available variables for customization.

NameTypeDefault valueComputed value
$primaryColor

material-color( $primary-palette, main )

#3f51b5

Description
The color that focuses the user attention.
Used for primary buttons and for elements of primary importance across the theme.
$primary-contrastColor

material-color( $primary-palette, main-contrast )

white

Description
The color used along with the primary color denoted by $primary.
Used to provide contrast between the background and foreground colors.
$secondaryColor

material-color( $secondary-palette, main )

#e51a5f

Description
The secondary color of the theme.
$secondary-contrastColor

material-color( $secondary-palette, main-contrast )

white

Description
The color used along with the secondary color denoted by $secondary.
Used to provide contrast between the background and foreground colors.
$tertiaryColor

material-color($tertiary-palette, main)

#00695c

Description
The tertiary color of the theme.
$tertiary-contrastColor

material-color($tertiary-palette, main-contrast)

white

Description
The color used along with the tertiary color denoted by $tertiary.
Used to provide contrast between the background and foreground colors.
$infoColor

#0058e9

#0058e9

Description
The color for informational messages and states.
$successColor

#37b400

#37b400

Description
The color for success messages and states.
$warningColor

#ffc000

#ffc000

Description
The color for warning messages and states.
$errorColor

#f31700

#f31700

Description
The color for error messages and states.
$darkColor

get-base-hue( gray, 800 )

#424242

Description
The dark color of the theme.
$lightColor

get-base-hue( gray, 100 )

#f5f5f5

Description
The light color of the theme.
$inverseColor

if( $dark-theme, $light, $dark )

#424242

Description
Inverse color of the theme. Depending on the theme luminance dark or light, it will be light or dark

In this article

Not finding the help you need?