Customizing Component

Variables

The following table lists the available variables for customization.

NameTypeDefault valueComputed value
$kendo-component-bgColor$kendo-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. `$kendo-grid-bg: $kendo-component-bg !default;`.
$kendo-component-textColor$kendo-body-text#424242
Description
Text color of a component.
Note: do not use this variable directly. Instead derive it as `$component-name-text` e.g. `$kendo-grid-text: $kendo-component-text !default;`.
$kendo-component-borderColorrgba(if($kendo-is-dark-theme, $kendo-color-white, $kendo-color-black), 0.08)rgba(0, 0, 0, 0.08)
Description
Border color of a component.
Note: do not use this variable directly. Instead derive it as `$component-name-border` e.g. `$kendo-grid-border: $kendo-component-border !default;`.
$kendo-component-header-bgColor$kendo-base-bg#fafafa
Description
Background color of the component header.
$kendo-component-header-textColor$kendo-base-text#424242
Description
Text color of the component header.
$kendo-component-header-borderColor$kendo-base-borderrgba(0, 0, 0, 0.08)
Description
Border color of the component header.
$kendo-component-header-gradientNullnullnull
Description
Gradient of the component header.
$kendo-invalid-bgNullnullnull
Description
Background color of the invalid items.
$kendo-invalid-textColor$kendo-color-error#f31700
Description
Text color of the invalid items.
$kendo-invalid-borderColor$kendo-color-error#f31700
Description
Border color of the invalid items.
$kendo-invalid-shadowNullnullnull
Description
Shadow of the invalid items.
$kendo-valid-bgNullnullnull
Description
Background color of the valid items.
$kendo-valid-textColor$kendo-color-success#37b400
Description
Text color of the valid items.
$kendo-valid-borderColor$kendo-color-success#37b400
Description
Border color of the valid items.
$kendo-valid-shadowNullnullnull
Description
Shadow of the valid items.

In this article

Not finding the help you need?