Typography

Font

Heading

--heading-m
The quick brown fox jumps over the lazy dog
--heading-l
The quick brown fox jumps over the lazy dog
--heading-xl
The quick brown fox jumps over the lazy dog
--heading-xxl
The quick brown fox jumps over the lazy dog

Title

--title-s
The quick brown fox jumps over the lazy dog
--title-m
The quick brown fox jumps over the lazy dog
--title-l
The quick brown fox jumps over the lazy dog
--title-xl
The quick brown fox jumps over the lazy dog
--title-xxl
The quick brown fox jumps over the lazy dog

Body

--body-s
The quick brown fox jumps over the lazy dog
--body-m
The quick brown fox jumps over the lazy dog
--body-l
The quick brown fox jumps over the lazy dog
--body-xl
The quick brown fox jumps over the lazy dog
--body-xxl
The quick brown fox jumps over the lazy dog

Usage in CSS

Whenever you want to apply this style to text, you can use the corresponding placeholder.

.myBodyClass {
  font: var(--body-m);
}

.myTitleClass {
  font: var(--title-m);
}

.myHeadingClass {
  font: var(--heading-m);
}

Usage in TailwindCSS

Whenever you want to apply a typography style to the block element, you can use the corresponding className.

TailwindCSS className
heading-m
heading-l
heading-xl
heading-xxl
title-s
title-m
title-l
title-xl
title-xxl
body-s
body-m
body-l
body-xl
body-xxl

Advanced Usage

Font Size

TokenValue
--font-size-1212px
--font-size-1414px
--font-size-1616px
--font-size-2020px
--font-size-2424px
--font-size-3232px
--font-size-4040px

Line Height

TokenValue
--lh-1616px
--lh-2020px
--lh-2424px
--lh-3232px

Font Families

TokenValue
--ff-base'Inter', Helvetica, sans-serif
--ff-heading'Roobert', Helvetica, sans-serif

Font Weight

TokenValue
--fw-medium500
--fw-semibold600