Typography
Three families with three jobs: Archivo to announce, IBM Plex Sans to read, IBM Plex Mono to label.
You're previewing another brand. This page documents Media Dreams' own brand, so its values, swatches and guidance are Media Dreams'. The live examples follow the brand you've chosen.
Families
Headings and the wordmark. A grotesque with wide, confident shapes that hold up at large sizes. Weights 700, 800 and 900.
Body copy, interface text and buttons. Weights 400, 600 and 700.
Labels, code and figures that should line up. Weights 500, 600 and 700.
All three are open-source and self-hosted, so they load from our own domain with no third-party requests. The four files needed above the fold are preloaded.
Scale
Headings are fluid: they grow with the viewport between a minimum and a maximum, so there are no jumps at breakpoints. Text sizes are fixed steps.
| Token | Value |
|---|---|
12px | |
13.5px | |
15px | |
16.5px | |
18px | |
22px | |
16px | |
17px | |
12px | |
14px | |
16px | |
clamp(19px, 2.4vw, 23px) | |
clamp(24px, 4vw, 34px) | |
clamp(30px, 5vw, 46px) | |
clamp(34px, 6vw, 56px) | |
clamp(16px, 2vw, 18px) |
Line height and spacing
| Token | Value |
|---|---|
1.06 | |
1.3 | |
1.5 | |
1.6 | |
-0.01em | |
0.06em | |
0.12em |
- Tight (1.06) for display headings, where descenders and ascenders rarely meet.
- Relaxed (1.6) for body copy, with lines kept under about 70 characters.
- Text set in capitals (the two route labels on the home page, the logo strapline, labels inside product mockups) is tracked out (0.12em); everything else uses the font's own spacing.
Typographic details
Small things that add up, applied site-wide in one place:
- Headings balance their lines, so a title never ends on a single word.
- Paragraphs avoid one-word last lines where the browser supports it.
- Figures in tables and stats are tabular, so digits line up in columns.
- Opening quotes hang into the margin in Safari, keeping the text edge straight.
- On phones, body text gets 2 px larger and long words hyphenate.
Usage
Do
- One h1 per page, then h2 and h3 in order, never skipping a level
- Use heading levels for structure, not for size
- Keep body text at 15 px or above (17 px on phones)
- Show hierarchy with weight, scale and spacing; above an h1, use a breadcrumb where the page sits in a section
Don't
- Set long passages in Archivo or Plex Mono
- Use bold for whole paragraphs
- Centre more than two lines of text
- Put an all-caps, tracked-out eyebrow label above a heading
- Go below the label size (12 px) for interface text