Customizing Chip

Variables

The following table lists the available variables for customization.

NameTypeDefault valueComputed value
$kendo-chip-border-width1px
Description
The width of the border around the Chip.
$kendo-chip-spacingmap.get( $kendo-spacing, 1 )
Description
The spacing between the text and the icons of the Chip.
$kendo-chip-font-familyvar( --kendo-font-family, inherit )
Description
The font family of the Chip.
$kendo-chip-avatar-width1em
Description
The width of the Chip' avatar.
$kendo-chip-avatar-height1em
Description
The height of the Chip' avatar.
$kendo-chip-avatar-flex-basis1em
Description
The flex basis of the Chip' avatar.
$kendo-chip-disabled-textvar( --kendo-disabled-text, inherit )
Description
The text color of the disabled Chip.
$kendo-chip-solid-disabled-bgvar( --kendo-disabled-bg, transparent )
Description
The background color of the solid disabled Chip.
$kendo-chip-solid-disabled-bordervar( --kendo-disabled-border, inherit )
Description
The border color of the solid disabled Chip.
$kendo-chip-outline-disabled-bgvar( $kendo-component-bg, transparent )
Description
The background color of the outline disabled Chip.
$kendo-chip-outline-disabled-borderif($kendo-enable-color-system, color-mix(in srgb, k-color( on-app-surface ) 46%, transparent), k-get-theme-color-var( neutral-90 ))
Description
The border color of the outline disabled Chip.
$kendo-chip-focus-offsetmap.get( $kendo-spacing, 0.5 )
Description
The offset of the outline focused Chip.
$kendo-chip-focus-outline-width1px
Description
The outline width of the outline focused Chip.
$kendo-chip-focus-outline-stylesolid
Description
The outline style of the outline focused Chip.
$kendo-chip-sm-padding-xmap.get( $kendo-spacing, 2 )
Description
The horizontal padding of the small Chip.
$kendo-chip-md-padding-xmap.get( $kendo-spacing, 2 )
Description
The horizontal padding of the medium Chip.
$kendo-chip-lg-padding-xmap.get( $kendo-spacing, 2 )
Description
The horizontal padding of the large Chip.
$kendo-chip-sm-padding-ymap.get( $kendo-spacing, 0.5 )
Description
The vertical padding of the small Chip.
$kendo-chip-md-padding-ymap.get( $kendo-spacing, 1 )
Description
The vertical padding of the medium Chip.
$kendo-chip-lg-padding-ymap.get( $kendo-spacing, 1.5 )
Description
The vertical padding of the large Chip.
$kendo-chip-sm-font-sizevar( --kendo-font-size, inherit )
Description
The font size of the small Chip.
$kendo-chip-md-font-sizevar( --kendo-font-size, inherit )
Description
The font size of the medium Chip.
$kendo-chip-lg-font-sizevar( --kendo-font-size, inherit )
Description
The font size of the large Chip.
$kendo-chip-sm-line-heightvar( --kendo-line-height, normal )
Description
The small Chip's line height that is related to the $kendo-font-size.
$kendo-chip-md-line-heightvar( --kendo-line-height, normal )
Description
The medium Chip's line height that is related to the $kendo-font-size.
$kendo-chip-lg-line-heightvar( --kendo-line-height, normal )
Description
The large Chip's line height that is related to the $kendo-font-size.
$kendo-chip-calc-sizecalc( #{$kendo-chip-md-line-height} * 1em + #{$kendo-chip-md-padding-y} * 2 + #{$kendo-chip-border-width} * 2 )
Description
The calculated height of the Chip.
$kendo-chip-sizes( sm: ( padding-x: $kendo-chip-sm-padding-x, padding-y: $kendo-chip-sm-padding-y, font-size: $kendo-chip-sm-font-size, line-height: $kendo-chip-sm-line-height ), md: ( padding-x: $kendo-chip-md-padding-x, padding-y: $kendo-chip-md-padding-y, font-size: $kendo-chip-md-font-size, line-height: $kendo-chip-md-line-height ), lg: ( padding-x: $kendo-chip-lg-padding-x, padding-y: $kendo-chip-lg-padding-y, font-size: $kendo-chip-lg-font-size, line-height: $kendo-chip-lg-line-height ) )
Description
The map with the sizes of the Chip.
$kendo-chip-list-sizes( sm: map.get( $kendo-spacing, 1 ), md: map.get( $kendo-spacing, 1 ), lg: map.get( $kendo-spacing, 1 ) )
Description
The sizes of the Chip list.

In this article

Not finding the help you need?