Design system

Typography

A serif for headlines, a sans for everything else.

Live preview

Label / eyebrow

Page title in the headline font

A section heading

Body text in the body font, at the base size. Everything scales from these few values, so a change here ripples through every page consistently.

How these connect

  • Headline font, size, weight and letter-spacing drive every page title (Section intro, Page header) and the footer line, so the voice of the site changes in one place.
  • Page title size is a maximum: titles shrink to 55% of it on phones. Section heading size does the same for About headings and the footer, down to 65%.
  • Label size, letter-spacing and case style every small caps line: card meta, chips, Playground categories, form labels and the case-study labels. Keep labels smaller than Body size.
  • Body font also sets buttons and navigation, so it follows into the Button foundation.

Tokens

--serif

Page titles, section headings, the footer line.

Affects Footer, Section intro, Page header, Playground row, Say hi

--sans

Body text, labels, nav and buttons.

Affects Button, Top bar, Footer, Contact form, Case study layout

--fs-display
px

Largest size of page titles; shrinks on small screens.

Affects Section intro, Page header

--display-weight

Weight of the headline font.

Affects Section intro, Page header, Say hi

--display-tracking
em

Tighter or looser headlines.

Affects Section intro, Page header, Say hi

--fs-heading
px

About section headings and the footer line.

Affects Footer

--fs-body
px

Default text size.

--fs-card-title
px

Project names under the cards.

Affects Project card

--fs-label
px

Small labels, chips and form labels.

Affects Section intro, Page header, Project card, Filter chips, Playground row, Contact form

--label-tracking
em

Spacing between letters in labels.

Affects Section intro, Page header, Project card, Filter chips, Playground row, Contact form

--label-case

All caps or as written.

Affects Section intro, Page header, Project card, Filter chips, Playground row, Contact form