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( black, .08 )rgba( 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;`.
$widget-bg$component-bg
Deprecated
Will be removed in v5. Use `$component-bg` variable instead.
Description
Background color of a component.
$widget-text$component-text
Deprecated
Will be removed in v5. Use `$component-text` variable instead.
Description
Text color of a component.
$widget-border$component-borderrgba( black, .08 )
Deprecated
Will be removed in v5. Use `$component-border` variable instead.
Description
Border color of a component.