Customizing Color System

The following table lists the available variables for customization.

NameDefault valueDescription
$primary material-color( $primary-palette, default ) The color that focuses the user attention.
Used for primary buttons and for elements of primary importance across the theme.
$primary-contrast material-color( $primary-palette, default-contrast ) The color used along with the primary color denoted by $primary.
Used to provide contrast between the background and foreground colors.
$secondary material-color( $secondary-palette, default ) The secondary color of the theme.
$secondary-contrast material-color( $secondary-palette, default-contrast ) The color used along with the secondary color denoted by $secondary.
Used to provide contrast between the background and foreground colors.
$tertiary material-color($tertiary-palette, default) The tertiary color of the theme.
$tertiary-contrast material-color($tertiary-palette, default-contrast) The color used along with the tertiary color denoted by $tertiary.
Used to provide contrast between the background and foreground colors.
$info #0058e9 The color for informational messages and states.
$success #37b400 The color for success messages and states.
$warning #ffc000 The color for warning messages and states.
$error #f31700 The color for error messages and states.
$dark get-base-hue( grey, 800 ) The dark color of the theme.
$light get-base-hue( grey, 100 ) The light color of the theme.
$inverse if( $is-dark-theme, $light, $dark ) Inverse color of the theme. Depending on the theme luminance dark or lught, it will be light or dark