New to Kendo UI for Angular? Start a free 30-day trial
Customizing Common
Variables
The following table lists the available variables for customization.
Name | Type | Default value | Computed value |
---|---|---|---|
$kendo-base-bg | String | $gray-100 | var(--kendo-color-surface, #f8f9fa) |
Description
The background of the components' chrome area. | |||
$kendo-base-text | String | $kendo-body-text | var(--kendo-color-on-app-surface, #212529) |
Description
The text color of the components' chrome area. | |||
$kendo-base-border | String | k-try-shade( $kendo-base-bg, 1 ) | var(--kendo-color-border, rgba(33, 37, 41, 0.13)) |
Description
The border color of the components' chrome area. | |||
$kendo-base-gradient | Null | null | null |
Description
The gradient background of the components' chrome area. | |||
$kendo-hover-bg | String | $gray-200 | var(--kendo-color-base-subtle-hover, #dee2e6) |
Description
The background of hovered items. | |||
$kendo-hover-text | String | $kendo-base-text | var(--kendo-color-on-app-surface, #212529) |
Description
The text color of hovered items. | |||
$kendo-hover-border | String | k-try-shade( $kendo-hover-bg, 1 ) | var(--kendo-color-border, rgba(33, 37, 41, 0.13)) |
Description
The border color of hovered items. | |||
$kendo-hover-gradient | Null | null | null |
Description
The gradient background of hovered items. | |||
$kendo-selected-bg | String | $kendo-color-primary | var(--kendo-color-primary, #0d6efd) |
Description
The background of selected items. | |||
$kendo-selected-text | String | k-contrast-color( $kendo-selected-bg ) | var(--kendo-color-on-primary, #ffffff) |
Description
The text color of selected items. | |||
$kendo-selected-border | String | k-try-shade( $kendo-selected-bg, 1 ) | var(--kendo-color-primary, #0d6efd) |
Description
The border color of selected items. | |||
$kendo-selected-gradient | Null | null | null |
Description
The gradient background of selected items. | |||
$kendo-disabled-text | String | if( $kendo-is-dark-theme, $gray-600, $gray-500) | var(--kendo-color-on-app-surface, #212529) |
Description
Text color of disabled items. | |||
$kendo-display | Map | (
1: (
font-size: $kendo-display1-font-size,
font-family: $kendo-display1-font-family,
line-height: $kendo-display1-line-height,
font-weight: $kendo-display1-font-weight,
letter-spacing: $kendo-display1-letter-spacing
),
2: (
font-size: $kendo-display2-font-size,
font-family: $kendo-display2-font-family,
line-height: $kendo-display2-line-height,
font-weight: $kendo-display2-font-weight,
letter-spacing: $kendo-display2-letter-spacing
),
3: (
font-size: $kendo-display3-font-size,
font-family: $kendo-display3-font-family,
line-height: $kendo-display3-line-height,
font-weight: $kendo-display3-font-weight,
letter-spacing: $kendo-display3-letter-spacing
),
4: (
font-size: $kendo-display4-font-size,
font-family: $kendo-display4-font-family,
line-height: $kendo-display4-line-height,
font-weight: $kendo-display4-font-weight,
letter-spacing: $kendo-display4-letter-spacing
),
) | (1: (font-size: 5rem, font-family: null, line-height: 1.2, font-weight: 300, letter-spacing: null), 2: (font-size: 4.5rem, font-family: null, line-height: 1.2, font-weight: 300, letter-spacing: null), 3: (font-size: 4rem, font-family: null, line-height: 1.2, font-weight: 300, letter-spacing: null), 4: (font-size: 3.5rem, font-family: null, line-height: 1.2, font-weight: 300, letter-spacing: null)) |
Description
The displays Map |