Customizing Common

The following table lists the available variables for customization.

NameTypeDefault valueComputed value
$border-radius$border-radius$border-radius
Description
Border radius for all components.
$base-bgtry-darken( $component-bg, 3% )try-darken( $component-bg, 3% )
Description
The background of the components' chrome area.
$base-text$component-color
Description
The text color of the components' chrome area.
$base-bordertry-darken( $base-bg, 3% )try-darken( $base-bg, 3% )
Description
The border color of the components' chrome area.
$base-gradientnullnull
Description
The gradient background of the components' chrome area.
$hovered-bgtry-darken( $base-bg, 3% )try-darken( $base-bg, 3% )
Description
The background of hovered items.
$hovered-text$base-text
Description
The text color of hovered items.
$hovered-bordertry-darken( $base-border, 12% )try-darken( $base-border, 12% )
Description
The border color of hovered items.
$hovered-gradientnullnull
Description
The gradient background of hovered items.
$selected-bg$primary$accent
Description
The background of selected items.
$selected-textcontrast-wcag( $selected-bg )contrast-wcag( $selected-bg )
Description
The text color of selected items.
$selected-bordertry-darken( $selected-bg, 12% )try-darken( $selected-bg, 12% )
Description
The border color of selected items.
$selected-gradientnullnull
Description
The gradient background of selected items.

In this article

Not finding the help you need?