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

Customizing List

Variables

The following table lists the available variables for customization.

NameTypeDefault valueComputed value
$kendo-list-font-familyvar( --kendo-font-family, inherit)
Description
The font family of the List components.
$kendo-list-sm-font-sizevar( --kendo-font-size, inherit )
Description
The font size of the List component.
$kendo-list-sm-line-heightvar( --kendo-line-height, normal )
Description
The line height of the List component.
$kendo-list-sm-header-padding-xmap.get( $kendo-spacing, 2 )
Description
The horizontal padding of the List header.
$kendo-list-sm-header-padding-ymap.get( $kendo-spacing, 1.5 )
Description
The vertical padding of the List header.
$kendo-list-header-border-width0
Description
The border width of the List header.
$kendo-list-sm-header-font-sizevar( --kendo-font-size, inherit )
Description
The font size of the List header.
$kendo-list-sm-header-line-heightvar( --kendo-line-height, normal )
Description
The line height of the List header.
$kendo-list-header-font-weightvar( --kendo-font-weight-bold, normal )
Description
The font weight of the List header.
$kendo-list-sm-item-padding-xmap.get( $kendo-spacing, 2 )
Description
The horizontal padding of the List items.
$kendo-list-sm-item-padding-ymap.get( $kendo-spacing, 1.5 )
Description
The vertical padding of the List items.
$kendo-list-sm-item-font-sizevar( --kendo-font-size, inherit )
Description
The font size of the List items.
$kendo-list-sm-item-line-heightvar( --kendo-line-height, normal )
Description
The line height of the List items.
$kendo-list-item-group-label-sm-font-sizevar( --kendo-font-size-xs, inherit )
Description
The font size of the List item group label.
$kendo-list-sm-group-item-padding-xmap.get( $kendo-spacing, 2 )
Description
The horizontal padding of the List group items.
$kendo-list-sm-group-item-padding-ymap.get( $kendo-spacing, 1.5 )
Description
The vertical padding of the List group items.
$kendo-list-item-group-label-sm-padding-xmap.get( $kendo-spacing, 0.5 )
Description
The horizontal padding of the List item group label.
$kendo-list-item-group-label-sm-padding-ymap.get( $kendo-spacing, 0.5 )
Description
The vertical padding of the List item group label.
$kendo-list-group-item-border-width1px 0 0
Description
The border width of the List group items.
$kendo-list-sm-group-item-font-sizevar( --kendo-font-size, inherit )
Description
The font size of the List group items.
$kendo-list-sm-group-item-line-heightvar( --kendo-line-height, normal )
Description
The line height of the List group items.
$kendo-list-group-item-font-weightvar( --kendo-font-weight-bold, normal )
Description
The font weight of the List group item.
$kendo-list-item-icon-textk-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-bgvar( --kendo-component-bg, transparent )
Description
The background color of the List component.
$kendo-list-textvar( --kendo-component-text, inherit )
Description
The text color of the List component.
$kendo-list-bordervar( --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-textk-get-theme-color-var( primary-100 )
Description
The text color of the List header.
$kendo-list-header-borderinherit
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-textk-get-theme-color-var( neutral-160 )
Description
The text color of the List items.
$kendo-list-item-hover-bgk-get-theme-color-var( neutral-20 )
Description
The background color of the hovered List items.
$kendo-list-item-hover-textk-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-textk-get-theme-color-var( neutral-160 )
Description
The text color of the focused List items.
$kendo-list-item-focus-shadowinset 0 0 0 1px k-get-theme-color-var( neutral-130 )
Description
The box shadow of the focused List items.
$kendo-list-item-selected-bgk-get-theme-color-var( neutral-40 )
Description
The background color of the selected List items.
$kendo-list-item-selected-textk-get-theme-color-var( neutral-190 )
Description
The text color of the selected List items.
$kendo-list-item-selected-hover-bgk-get-theme-color-var( neutral-50 )
Description
The background color of the selected hovered List items.
$kendo-list-item-selected-hover-textk-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-textk-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-textk-get-theme-color-var( primary-100 )
Description
The text color of the List group items.
$kendo-list-group-item-borderinherit
Description
The border color of the List group items.
$kendo-list-group-item-shadownone
Description
The base shadow of the List group items.
$kendo-list-no-data-textk-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.

In this article

Not finding the help you need?