Typography Token Exporter
Generate a complete typography token set from a modular scale — export as CSS custom properties, Tailwind theme extension, or JSON for design systems.
What this token exporter does
This typography token exporter generates a complete type token set from a modular scale. Export as CSS custom properties, Tailwind theme extension, or JSON for design systems and engineering handoff.
How to use it
- Set your base font size and modular scale ratio.
- Configure font families for headings, body, and monospace.
- Review the generated token names and values across the scale.
- Copy CSS, Tailwind, or JSON output into your project.
- Read the Typography Tokens chapter for naming conventions and usage rules.
For deeper context, read the Typography Tokens chapter in the Typography Master guide.
Frequently asked questions
- What are typography tokens?
- Typography tokens are named design variables for font families, sizes, weights, line heights, and letter spacing. They create a single source of truth shared between design tools and code.
- Should I use rem or px for typography tokens?
- Use rem for font sizes so tokens respect user browser settings. Use unitless values for line height. Define spacing tokens in rem for consistency with your type scale.
- How do I export typography tokens for Tailwind CSS?
- Use this tool to generate a Tailwind theme extension with fontSize, fontFamily, and lineHeight entries. Paste the output into your tailwind.config file under theme.extend.