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
--serifPage titles, section headings, the footer line.
Affects Footer, Section intro, Page header, Playground row, Say hi
--sansBody text, labels, nav and buttons.
Affects Button, Top bar, Footer, Contact form, Case study layout
--fs-displayLargest size of page titles; shrinks on small screens.
Affects Section intro, Page header
--display-weightWeight of the headline font.
Affects Section intro, Page header, Say hi
--display-trackingTighter or looser headlines.
Affects Section intro, Page header, Say hi
--fs-headingAbout section headings and the footer line.
Affects Footer
--fs-bodyDefault text size.
--fs-card-titleProject names under the cards.
Affects Project card
--fs-labelSmall labels, chips and form labels.
Affects Section intro, Page header, Project card, Filter chips, Playground row, Contact form
--label-trackingSpacing between letters in labels.
Affects Section intro, Page header, Project card, Filter chips, Playground row, Contact form
--label-caseAll caps or as written.
Affects Section intro, Page header, Project card, Filter chips, Playground row, Contact form