Customizing Component

The following table lists the available variables for customization.

NameTypeDefault valueComputed value
$component-bg$body-bg
Description
Background color of a component.
Note: do not use this variable directly. Instead derive it as `$component-name-bg` e.g. `$grid-bg: $component-bg !defualt;`.
$component-text$body-text
Description
Text color of a component.
Note: do not use this variable directly. Instead derive it as `$component-name-text` e.g. `$grid-text: component-text !default;`.
$component-borderrgba( if( $dark-theme, $white, $black ), .08 )rgba( if( $dark-theme, $white, $black ), .08 )
Description
Border color of a component.
Note: do not use this variable directly. Instead derive it as `$component-name-border` e.g. `$grid-border: component-border !default;`.

In this article

Not finding the help you need?