Mantle provides various typography tokens for consistency and readability.
Mantle provides a general type scale for various headers throughout our products. Text styling is independent of the actual markup, so a Heading 1 can be styled as a Heading 2 or Heading 5 as appropriate.
Heading 1
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
When possible, it's preferred to render text using the following tokens. This helps provide hierarchy outside of font size, and ensures type is the correct color across various themes.
.text-strong.text-body.text-muted.text-placeholderMantle specifies Roobert as the default font for UI and headings. We also use JetBrains Mono as a monospace typeface, and Family for longform prose and h1s.