Typography
Mocha's type scale, rendered by Mocha. Components set their text with it,
and nothing else sets a size or weight: use Text or its textVariants.
Scale
Preview
scale.tsx
Weights and families
Preview
styles.tsx
Fonts
The font tokens in Mocha's theme. The heading family uses --heading-font; text without a family uses --body-font.
| Token | Value |
|---|---|
--body-font | "Montserrat Variable", ui-sans-serif, system-ui, sans-serif |
--heading-font | "Baskervville Variable", ui-serif, Georgia, serif |
--mono-font | "PT Mono", ui-monospace, monospace |