Skip to content

Typography

Fonts, scales and styles for typograpical elements.

Overview

Typography groups together font size, weight, family and line heights.

Responsive font sizes are array values that correspond to the responsive breakpoints. The first value will be used below the smallAndUp breakpoint, the second value will be used for all other screen sizes.

Line Height

Line height is a ratio and applies to all text, including headings and body text.

TokenDefault Value
lineHeights.standard

Weight

Aa
Aa
Aa
TokenDefault Value
fontWeights.normal
fontWeights.bold
fontWeights.semiBold

Fonts

Display
Body
Monospace
TokenDefault Value
fonts.displayArial
fonts.bodyArial
fonts.monospaceCourier

Font Sizes

Font sizes are paired for responsive scaling. Each token has an array of corresponding values. As a general rule, the small screen size is usually one step down the scale. e.g. body on small screen is equivalent to small on screen sizes above small.

Level 1
Level 2
Level 3
Level 4
Body
Small
Level 1
Level 2
Level 3
Level 4
Body
Small

The scale is also available under fontSizes, but the recommendation is to use responsiveFontSizes to get the responsive pairings.

TokenDefault Value
responsiveFontSizes.small.01.2rem
responsiveFontSizes.small.11.4rem
responsiveFontSizes.body.01.4rem
responsiveFontSizes.body.11.6rem
responsiveFontSizes.level1.02.8rem
responsiveFontSizes.level1.13.2rem
responsiveFontSizes.level2.02.4rem
responsiveFontSizes.level2.12.8rem
responsiveFontSizes.level3.02.0rem
responsiveFontSizes.level3.12.4rem
responsiveFontSizes.level4.01.6rem
responsiveFontSizes.level4.12.0rem