New to Kendo UI for Angular? Start a free 30-day trial

Customizing Component

Variables

The following table lists the available variables for customization.

NameTypeDefault valueComputed value
$kendo-component-bgString$kendo-body-bgvar(--kendo-color-surface-alt, #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-textString$kendo-body-textvar(--kendo-color-on-app-surface, #3d3d3d)
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-borderStringrgba(if($kendo-is-dark-theme, $kendo-color-white, $kendo-color-black), 0.08)var(--kendo-color-border, 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-bgString$kendo-base-bgvar(--kendo-color-surface, #fafafa)
Description
Background color of the component header.
$kendo-component-header-textString$kendo-base-textvar(--kendo-color-on-app-surface, #3d3d3d)
Description
Text color of the component header.
$kendo-component-header-borderString$kendo-base-bordervar(--kendo-color-border, rgba(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-textString$kendo-color-errorvar(--kendo-color-error, #f31700)
Description
Text color of the invalid items.
$kendo-invalid-borderString$kendo-color-errorvar(--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?