Customizing Typography

Variables

The following table lists the available variables for customization.

NameTypeDefault valueComputed value
$kendo-font-size-xsNumber.75rem0.75rem
Description
Base font size across all components.
$kendo-font-family-sans-serifListsystem-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"
Description
Font family for text.
$kendo-font-family-monospaceListSFMono-Regular, Menlo, Monaco, Consolas, "Roboto Mono", "Ubuntu Mono", "Lucida Console", "Courier New", monospaceSFMono-Regular, Menlo, Monaco, Consolas, "Roboto Mono", "Ubuntu Mono", "Lucida Console", "Courier New", monospace
Description
Font family for monospaced text. Used for styling the code.
$kendo-font-familyStringnullinherit
Description
Font family across all components.
$kendo-line-height-smNumber1.251.25
Description
Line height used along with $kendo-font-size.
$kendo-font-sizeNumber0.875rem0.875rem
Description
The base font size across all components.
$kendo-font-size-xxsNumber0.5rem0.5rem
Description
The extra extra small font size across all components.
$kendo-font-size-smNumber0.75rem0.875rem
Description
The small font size across all components.
$kendo-font-size-mdNumber$kendo-font-size1rem
Description
The medium font size across all components.
$kendo-font-size-lgNumber1rem1.25rem
Description
The large font size across all components.
$kendo-font-size-xlNumber1.25rem1.5rem
Description
The extra large font size across all components.
$kendo-line-heightNumberk-math-div( 20, 14 )1.4285714286
Description
The base line height across all components.
$kendo-line-height-xsNumber11
Description
The extra small line height across all components.
$kendo-line-height-mdNumber$kendo-line-height1.5
Description
The medium line height across all components.
$kendo-line-height-lgNumber1.51.75
Description
The large line height across all components.
$kendo-line-height-emCalculationcalc( #{$kendo-line-height-md} * 1em )calc(1.5 * 1em)
Description
The base line height in ems across all components.
$kendo-font-weightNumber400400
Description
The base font weight across all components.
$kendo-font-weight-thinNumber100100
Description
The thin font weight across all components.
$kendo-font-weight-extra-lightNumber200200
Description
The extra light font weight across all components.
$kendo-font-weight-lightNumber300300
Description
The light font weight across all components.
$kendo-font-weight-normalNumber$kendo-font-weight400
Description
The normal font weight across all components.
$kendo-font-weight-mediumNumber500500
Description
The medium font weight across all components.
$kendo-font-weight-semiboldNumber600600
Description
The semibold font weight across all components.
$kendo-font-weight-boldNumber700700
Description
The bold font weight across all components.
$kendo-font-weight-extra-boldNumber800800
Description
The extra bold font weight across all components.
$kendo-font-weight-blackNumber900900
Description
The most pronounced font weight across all components.
$kendo-letter-spacingNullnullnull
Description
The base letter spacing across all components.
$kendo-letter-spacing-tightestNumber-.15px-0.15px
Description
The tightest letter spacing across all components.
$kendo-letter-spacing-tighterNumber-.10px-0.1px
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.5px0.5px
Description
Wide letter spacing across all components.
$kendo-letter-spacing-widerNumber.10px0.1px
Description
Slightly wider than the wide letter spacing across all components.
$kendo-letter-spacing-widestNumber.15px0.15px
Description
The widest letter spacing across all components.
$kendo-font-family-sansListArial, Verdana, Tahoma, "Trebuchet MS", Helvetica, Impact, Gill SansArial, Verdana, Tahoma, "Trebuchet MS", Helvetica, Impact, Gill Sans
Description
The sans font family across all components.
$kendo-font-family-serifList"Times New Roman", Georgia, Garamond, Palatino, Baskerville"Times New Roman", Georgia, Garamond, Palatino, Baskerville
Description
The serif font family across all components.
$kendo-font-sizesMapk-map-merge( $_default-font-sizes, $kendo-font-sizes )(xxs: 0.5rem, xs: 0.75rem, sm: 0.875rem, md: 1rem, lg: 1.25rem, xl: 1.5rem)
Description
The font sizes map
$kendo-line-heightsMapk-map-merge( $_default-line-heights, $kendo-line-heights )(xs: 1, sm: 1.25, md: 1.5, lg: 1.75)
Description
The line heights map
$kendo-font-weightsMapk-map-merge( $_default-font-weights, $kendo-font-weights )(thin: 100, extra-light: 200, light: 300, normal: 400, medium: 500, semibold: 600, bold: 700)
Description
The font weights map
$kendo-letter-spacingsMapk-map-merge( $_default-letter-spacings, $kendo-letter-spacings )(tightest: -0.15px, tighter: -0.1px, tight: -0.5px, normal: 0px, wide: 0.5px, wider: 0.1px, widest: 0.15px)
Description
The letter spacings map
$kendo-font-familiesMapk-map-merge( $_default-font-families, $kendo-font-families )(sans: (Arial, Verdana, Tahoma, "Trebuchet MS", Helvetica, Impact, Gill Sans), serif: ("Times New Roman", Georgia, Garamond, Palatino, Baskerville), sans-serif: (system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"), monospace: (SFMono-Regular, Menlo, Monaco, Consolas, "Roboto Mono", "Ubuntu Mono", "Lucida Console", "Courier New", monospace))
Description
The font families map

In this article

Not finding the help you need?