New to Kendo UI for Angular? Start a free 30-day trial
Customizing Component
Variables
The following table lists the available variables for customization.
Name | Type | Default value | Computed value |
---|---|---|---|
$kendo-component-bg | String | $kendo-body-bg | var(--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-text | String | $kendo-body-text | var(--kendo-color-on-app-surface, #212529) |
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-border | String | if( k-is-light( $kendo-component-bg ), $gray-300, $gray-700 ) | var(--kendo-color-border, #dee2e6) |
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;`. |