New to Kendo UI for Angular? Start a free 30-day trial
Customizing List
Variables
The following table lists the available variables for customization.
Name | Type | Default value | Computed value |
---|---|---|---|
$kendo-list-font-family | var( --kendo-font-family, inherit) | ||
Description
The font family of the List components. | |||
$kendo-list-sm-font-size | var( --kendo-font-size, inherit ) | ||
Description
The font size of the List component. | |||
$kendo-list-sm-line-height | var( --kendo-line-height, normal ) | ||
Description
The line height of the List component. | |||
$kendo-list-sm-header-padding-x | map.get( $kendo-spacing, 2 ) | ||
Description
The horizontal padding of the List header. | |||
$kendo-list-sm-header-padding-y | map.get( $kendo-spacing, 1.5 ) | ||
Description
The vertical padding of the List header. | |||
$kendo-list-header-border-width | 0 | ||
Description
The border width of the List header. | |||
$kendo-list-sm-header-font-size | var( --kendo-font-size, inherit ) | ||
Description
The font size of the List header. | |||
$kendo-list-sm-header-line-height | var( --kendo-line-height, normal ) | ||
Description
The line height of the List header. | |||
$kendo-list-header-font-weight | var( --kendo-font-weight-bold, normal ) | ||
Description
The font weight of the List header. | |||
$kendo-list-sm-item-padding-x | map.get( $kendo-spacing, 2 ) | ||
Description
The horizontal padding of the List items. | |||
$kendo-list-sm-item-padding-y | map.get( $kendo-spacing, 1.5 ) | ||
Description
The vertical padding of the List items. | |||
$kendo-list-sm-item-font-size | var( --kendo-font-size, inherit ) | ||
Description
The font size of the List items. | |||
$kendo-list-sm-item-line-height | var( --kendo-line-height, normal ) | ||
Description
The line height of the List items. | |||
$kendo-list-item-group-label-sm-font-size | var( --kendo-font-size-xs, inherit ) | ||
Description
The font size of the List item group label. | |||
$kendo-list-sm-group-item-padding-x | map.get( $kendo-spacing, 2 ) | ||
Description
The horizontal padding of the List group items. | |||
$kendo-list-sm-group-item-padding-y | map.get( $kendo-spacing, 1.5 ) | ||
Description
The vertical padding of the List group items. | |||
$kendo-list-item-group-label-sm-padding-x | map.get( $kendo-spacing, 0.5 ) | ||
Description
The horizontal padding of the List item group label. | |||
$kendo-list-item-group-label-sm-padding-y | map.get( $kendo-spacing, 0.5 ) | ||
Description
The vertical padding of the List item group label. | |||
$kendo-list-group-item-border-width | 1px 0 0 | ||
Description
The border width of the List group items. | |||
$kendo-list-sm-group-item-font-size | var( --kendo-font-size, inherit ) | ||
Description
The font size of the List group items. | |||
$kendo-list-sm-group-item-line-height | var( --kendo-line-height, normal ) | ||
Description
The line height of the List group items. | |||
$kendo-list-group-item-font-weight | var( --kendo-font-weight-bold, normal ) | ||
Description
The font weight of the List group item. | |||
$kendo-list-item-icon-text | k-get-theme-color-var( primary-100 ) | ||
Description
The text color of the List item icon | |||
$kendo-list-sizes | (
sm: (
font-size: $kendo-list-sm-font-size,
line-height: $kendo-list-sm-line-height,
header-padding-x: $kendo-list-sm-header-padding-x,
header-padding-y: $kendo-list-sm-header-padding-y,
header-font-size: $kendo-list-sm-header-font-size,
header-line-height: $kendo-list-sm-header-line-height,
item-padding-x: $kendo-list-sm-item-padding-x,
item-padding-y: $kendo-list-sm-item-padding-y,
item-font-size: $kendo-list-sm-item-font-size,
item-line-height: $kendo-list-sm-item-line-height,
item-group-label-padding-x: $kendo-list-item-group-label-sm-padding-x,
item-group-label-padding-y: $kendo-list-item-group-label-sm-padding-y,
item-group-label-font-size: $kendo-list-item-group-label-sm-font-size,
group-item-padding-x: $kendo-list-sm-group-item-padding-x,
group-item-padding-y: $kendo-list-sm-group-item-padding-y,
group-item-font-size: $kendo-list-sm-group-item-font-size,
group-item-line-height: $kendo-list-sm-group-item-line-height
),
md: (
font-size: $kendo-list-md-font-size,
line-height: $kendo-list-md-line-height,
header-padding-x: $kendo-list-md-header-padding-x,
header-padding-y: $kendo-list-md-header-padding-y,
header-font-size: $kendo-list-md-header-font-size,
header-line-height: $kendo-list-md-header-line-height,
item-padding-x: $kendo-list-md-item-padding-x,
item-padding-y: $kendo-list-md-item-padding-y,
item-font-size: $kendo-list-md-item-font-size,
item-line-height: $kendo-list-md-item-line-height,
item-group-label-padding-x: $kendo-list-item-group-label-md-padding-x,
item-group-label-padding-y: $kendo-list-item-group-label-md-padding-y,
item-group-label-font-size: $kendo-list-item-group-label-md-font-size,
group-item-padding-x: $kendo-list-md-group-item-padding-x,
group-item-padding-y: $kendo-list-md-group-item-padding-y,
group-item-font-size: $kendo-list-md-group-item-font-size,
group-item-line-height: $kendo-list-md-group-item-line-height
),
lg: (
font-size: $kendo-list-lg-font-size,
line-height: $kendo-list-lg-line-height,
header-padding-x: $kendo-list-lg-header-padding-x,
header-padding-y: $kendo-list-lg-header-padding-y,
header-font-size: $kendo-list-lg-header-font-size,
header-line-height: $kendo-list-lg-header-line-height,
item-padding-x: $kendo-list-lg-item-padding-x,
item-padding-y: $kendo-list-lg-item-padding-y,
item-font-size: $kendo-list-lg-item-font-size,
item-line-height: $kendo-list-lg-item-line-height,
item-group-label-padding-x: $kendo-list-item-group-label-lg-padding-x,
item-group-label-padding-y: $kendo-list-item-group-label-lg-padding-y,
item-group-label-font-size: $kendo-list-item-group-label-lg-font-size,
group-item-padding-x: $kendo-list-lg-group-item-padding-x,
group-item-padding-y: $kendo-list-lg-group-item-padding-y,
group-item-font-size: $kendo-list-lg-group-item-font-size,
group-item-line-height: $kendo-list-lg-group-item-line-height
)
) | ||
Description
The map with the sizes of the List. | |||
$kendo-list-bg | var( --kendo-component-bg, transparent ) | ||
Description
The background color of the List component. | |||
$kendo-list-text | var( --kendo-component-text, inherit ) | ||
Description
The text color of the List component. | |||
$kendo-list-border | var( --kendo-component-border, inherit ) | ||
Description
The border color of the List component. | |||
$kendo-list-header-bg | $kendo-color-white | ||
Description
The background color of the List header. | |||
$kendo-list-header-text | k-get-theme-color-var( primary-100 ) | ||
Description
The text color of the List header. | |||
$kendo-list-header-border | inherit | ||
Description
The border color of the List header. | |||
$kendo-list-header-shadow | $kendo-box-shadow-depth-3 | ||
Description
The box shadow of the List header. | |||
$kendo-list-item-bg | $kendo-color-white | ||
Description
The background color of the List items. | |||
$kendo-list-item-text | k-get-theme-color-var( neutral-160 ) | ||
Description
The text color of the List items. | |||
$kendo-list-item-hover-bg | k-get-theme-color-var( neutral-20 ) | ||
Description
The background color of the hovered List items. | |||
$kendo-list-item-hover-text | k-get-theme-color-var( neutral-190 ) | ||
Description
The text color of the hovered List items. | |||
$kendo-list-item-focus-bg | $kendo-color-white | ||
Description
The background color of the focused List items. | |||
$kendo-list-item-focus-text | k-get-theme-color-var( neutral-160 ) | ||
Description
The text color of the focused List items. | |||
$kendo-list-item-focus-shadow | inset 0 0 0 1px k-get-theme-color-var( neutral-130 ) | ||
Description
The box shadow of the focused List items. | |||
$kendo-list-item-selected-bg | k-get-theme-color-var( neutral-40 ) | ||
Description
The background color of the selected List items. | |||
$kendo-list-item-selected-text | k-get-theme-color-var( neutral-190 ) | ||
Description
The text color of the selected List items. | |||
$kendo-list-item-selected-hover-bg | k-get-theme-color-var( neutral-50 ) | ||
Description
The background color of the selected hovered List items. | |||
$kendo-list-item-selected-hover-text | k-get-theme-color-var( neutral-190 ) | ||
Description
The text color of the selected hovered List items. | |||
$kendo-list-item-disabled-bg | $kendo-color-white | ||
Description
The background color of the disabled List items. | |||
$kendo-list-item-disabled-text | k-get-theme-color-var( neutral-90 ) | ||
Description
The text color of the disabled List items. | |||
$kendo-list-group-item-bg | $kendo-color-white | ||
Description
The background color of the List group items. | |||
$kendo-list-group-item-text | k-get-theme-color-var( primary-100 ) | ||
Description
The text color of the List group items. | |||
$kendo-list-group-item-border | inherit | ||
Description
The border color of the List group items. | |||
$kendo-list-group-item-shadow | none | ||
Description
The base shadow of the List group items. | |||
$kendo-list-no-data-text | k-get-theme-color-var( neutral-160 ) | ||
Description
The text color of the 'No Data' text. | |||
$kendo-list-option-label-text | $kendo-subtle-text | ||
Description
The color of the 'Option Label' text. | |||
$kendo-list-option-label-disabled-text | $kendo-disabled-text | ||
Description
The color of the disabled 'Option Label' text. |