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

Customizing Typography

Variables

The following table lists the available variables for customization.

NameTypeDefault valueComputed value
$kendo-font-sizeNumber0.875rem0.875rem
Description
The base font size across all components.
$kendo-font-size-xsNumber0.625rem0.625rem
Description
The extra extra small font size across all components.
$kendo-font-size-smNumber0.75rem0.75rem
Description
The small font size across all components.
$kendo-font-size-mdNumber$kendo-font-size0.875rem
Description
The medium font size across all components.
$kendo-font-size-lgNumber1rem1rem
Description
The large font size across all components.
$kendo-font-size-xlNumber1.25rem1.25rem
Description
The extra large font size across all components.
$kendo-line-heightNumberk-math-div( 28, 14 )2
Description
The base line height across all components.
$kendo-line-height-xsNumber11
Description
The extra small line height across all components.
$kendo-line-height-smNumber1.21.2
Description
The small line height across all components.
$kendo-line-height-mdNumber$kendo-line-height2
Description
The medium line height across all components.
$kendo-line-height-lgNumber1.51.5
Description
The large line height across all components.
$kendo-line-height-emCalculationcalc( #{$kendo-line-height} * 1em )calc(2 * 1em)
Description
The base line height in ems across all components.
$kendo-letter-spacingNullnullnull
Description
The base letter spacing across all components.
$kendo-letter-spacing-tightestNumber-2.5px-2.5px
Description
The tightest letter spacing across all components.
$kendo-letter-spacing-tighterNumber-1.5px-1.5px
Description
Slightly looser than the tighter letter spacing across all components.
$kendo-letter-spacing-tightNumber-.5px-0.5px
Description
Moderately tight letter spacing across all components.
$kendo-letter-spacing-normalNumber0px0px
Description
The normal letter spacing across all components.
$kendo-letter-spacing-wideNumber.15px0.15px
Description
Wide letter spacing across all components
$kendo-letter-spacing-widerNumber.25px0.25px
Description
Slightly wider than the wide letter spacing across all components.
$kendo-letter-spacing-widestNumber.35px0.35px
Description
The widest letter spacing across all components.
$kendo-font-family-sans-serifListRoboto, "Helvetica Neue", sans-serifRoboto, "Helvetica Neue", sans-serif
Description
The sans-serif font family across all components.
$kendo-font-family-monospaceListConsolas, "Ubuntu Mono", "Lucida Console", "Courier New", monospaceConsolas, "Ubuntu Mono", "Lucida Console", "Courier New", monospace
Description
The monospace font family across all components.
$kendo-font-familyList$kendo-font-family-sans-serifRoboto, "Helvetica Neue", sans-serif
Description
The base font family across all components.
$kendo-font-sizesMap$_default-font-sizes(xs: 0.625rem, sm: 0.75rem, md: 0.875rem, lg: 1rem, xl: 1.25rem)
Description
The font sizes map
$kendo-line-heightsMap$_default-line-heights(xs: 1, sm: 1.2, md: 2, lg: 1.5)
Description
The line heights map
$kendo-letter-spacingsMap$_default-letter-spacings(tightest: -2.5px, tighter: -1.5px, tight: -0.5px, normal: 0px, wide: 0.15px, wider: 0.25px, widest: 0.35px)
Description
The letter spacings map
$kendo-font-familiesMap$_default-font-families(sans-serif: (Roboto, "Helvetica Neue", sans-serif), monospace: (Consolas, "Ubuntu Mono", "Lucida Console", "Courier New", monospace))
Description
The font families map

In this article

Not finding the help you need?