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-familyStringvar( --kendo-font-family, inherit )var(--kendo-font-family, inherit)
Description
The font family of the List components.
$kendo-list-font-sizeNullnullnull
Description
The font size of the List component, if no size is set.
$kendo-list-line-heightNullnullnull
Description
The line height of the List component, if no size is set.
$kendo-list-header-padding-xNullnullnull
Description
The horizontal padding of the List header, if no size is set.
$kendo-list-header-padding-yNullnullnull
Description
The vertical padding of the List header, if no size is set.
$kendo-list-header-border-widthList0 0 1px0 0 1px
Description
The border width of the List header.
$kendo-list-header-font-sizeNullnullnull
Description
The font size of the List header, if no size is set.
$kendo-list-header-line-heightNullnullnull
Description
The line height of the List header, if no size is set.
$kendo-list-header-font-weightStringvar( --kendo-font-weight-bold, normal )var(--kendo-font-weight-bold, normal)
Description
The font weight of the List header.
$kendo-list-item-padding-xNullnullnull
Description
The horizontal padding of the List items, when no size is set.
$kendo-list-item-padding-yNullnullnull
Description
The vertical padding of the List items, when no size is set.
$kendo-list-item-font-sizeNullnullnull
Description
The font size of the List items, if no size is set.
$kendo-list-item-line-heightNullnullnull
Description
The line height of the List items, if no size is set.
$kendo-list-group-item-padding-xNullnullnull
Description
The horizontal padding of the List group items, when no size is set.
$kendo-list-group-item-padding-yNullnullnull
Description
The vertical padding of the List group items, when no size is set.
$kendo-list-group-item-border-widthList1px 0 01px 0 0
Description
The border width of the List group items.
$kendo-list-group-item-font-sizeNullnullnull
Description
The font size of the List group items, if no size is set.
$kendo-list-group-item-line-heightNullnullnull
Description
The line height of the List group items, if no size is set.
$kendo-list-group-item-font-weightStringvar( --kendo-font-weight-bold, normal )var(--kendo-font-weight-bold, normal)
Description
The font weight of a List group item.
$kendo-list-bgString$kendo-component-bgvar(--kendo-color-surface-alt, #ffffff)
Description
The background color of the List component.
$kendo-list-textString$kendo-component-textvar(--kendo-color-on-app-surface, #212121)
Description
The text color of the List component.
$kendo-list-borderString$kendo-component-bordervar(--kendo-color-border, rgba(0, 0, 0, 0.12))
Description
The border color of the List component.
$kendo-list-header-bgNullnullnull
Description
The background color of the List header.
$kendo-list-header-textNullnullnull
Description
The text color of the List header.
$kendo-list-header-borderStringinheritinherit
Description
The border color of the List header.
$kendo-list-header-shadowNullnullnull
Description
The box shadow of the List header.
$kendo-list-item-bgNullnullnull
Description
The background color of the List items.
$kendo-list-item-textNullnullnull
Description
The text color of the List items.
$kendo-list-item-hover-bgString$kendo-hover-bgvar(--kendo-color-base-hover, #ebebeb)
Description
The background color of the hovered List items.
$kendo-list-item-hover-textString$kendo-hover-textvar(--kendo-color-on-app-surface, #212121)
Description
The text color of the hovered List items.
$kendo-list-item-focus-bgString$kendo-list-item-hover-bgvar(--kendo-color-base-hover, #ebebeb)
Description
The background color of the focused List items.
$kendo-list-item-focus-textNullnullnull
Description
The text color of the focused List items.
$kendo-list-item-focus-shadowNullnullnull
Description
The box shadow of the focused List items.
$kendo-list-item-selected-bgString$kendo-component-bgvar(--kendo-color-surface-alt, #ffffff)
Description
The background color of the selected List items.
$kendo-list-item-selected-textString$kendo-color-secondaryvar(--kendo-color-secondary, #e51a5f)
Description
The text color of the selected List items.
$kendo-list-group-item-bgNullnullnull
Description
The background color of the List group items.
$kendo-list-group-item-textNullnullnull
Description
The text color of the List group items.
$kendo-list-group-item-borderStringinheritinherit
Description
The border color of the List group items.
$kendo-list-group-item-shadowNullnullnull
Description
The base shadow of the List group items.
$kendo-list-no-data-textString$kendo-subtle-textvar(--kendo-color-subtle, #757575)
Description
The color of the 'No Data' text.
$kendo-list-option-label-textString$kendo-subtle-textvar(--kendo-color-subtle, #757575)
Description
The color of the 'Option Label' text.

In this article

Not finding the help you need?