Skip to content
AddHunt
Figma plugins

Typescale Garden

Typescale generator with CSS export and a Figma plugin

Open source

  • Open source
  • Licence: GPL-3.0

In short

Typescale Garden is a web tool for building a typographic scale and exporting it as CSS and design tokens, which its own Figma plugin brings into Figma. It is meant for designers and developers who maintain design systems.

What you get

  • Font families from Google Fonts with style filters
  • Base font size, base visual unit and breakpoint settings
  • Separate desktop and mobile size ratios
  • Heading weight range, letter-spacing multiplier, uppercase or italic titles
  • Download or copy the generated CSS
  • JSON design tokens imported through a Figma plugin

The details

Typescale Garden helps define the typographic scale of a design system, meaning the full set of font variants used across headings, body text and smaller labels, and turns it into files that both code and design can use.

Settings

The editor starts from a font family chosen from Google Fonts, filterable by sans-serif, display, serif and handwriting styles. It then takes a base font size and a base visual unit, separate size ratios for desktop and mobile, a breakpoint, a range of heading weights and a letter-spacing multiplier, plus switches for uppercase or italic titles. A configuration can be saved to a file and loaded later, and the editor has a mobile view.

Export

The export panel produces a typography.css file with the Google Fonts import, heading and body classes, spacing rules between headings and paragraphs, and a media query for wider screens. The styles can be downloaded or copied. A typography-tokens.json file carries the same scale as design tokens, and the project's Figma plugin imports those tokens into Figma, so mockups and code share one scale.

Typescale Garden is open source under the GPL-3.0 license.

Alternatives to Typescale Garden

All alternatives

Questions

What does Typescale Garden export?

A typography.css file with the generated styles, which can be downloaded or copied, and a typography-tokens.json file with the scale as design tokens.

How do the tokens get into Figma?

Through the project's Figma plugin, which imports the generated design tokens into a Figma file.

Which fonts can be used?

Font families from Google Fonts, which can be filtered by sans-serif, display, serif and handwriting styles.

More like this