Customizing Component

The following table lists the available variables for customization.

NameTypeDefault valueComputed value
$component-bgColor

$body-bg

#ffffff

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 !default;`.
$component-textColor

$body-text

#212529

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-borderColor

if( k-is-light( $component-bg ), $gray-300, $gray-700 )

#dee2e6

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?