System
Typography
Type is three roles, display, body and mono, on one scale. A page names the role and the step; the system decides the font, the size, and how they change with density.
Families
Plain sets every role in the reader's own system font stack, so nothing downloads. Pages name the role,
font-family-display or font-family-body, never the font.displayNotes from the field
bodyThree walks along the river, and a list of birds by sound.
monovirtu check design/ --json
Scale
6 steps on a 1.2 ratio from 16px body text, with two weights. Each step is a property, so a density context can set the whole scale again.
- 3xl 33Notes from the field
- 2xl 28Notes from the field
- xl 23Notes from the field
- lg 19Notes from the field
- md 16Three walks along the river, and a list of birds by sound.
- sm 13Three walks along the river, and a list of birds by sound.
Pairings
When a system wants a voice, it takes a pairing from the typography registry: open fonts with their metrics, a scale, and the
next/font file to load them.5 of 8 in the registry
dm-serif-dm-sans
DM Serif Display
Body in DM Sans: the quick brown fox jumps over the lazy dog.
lora-atkinson
Lora
Body in Atkinson Hyperlegible: the quick brown fox jumps over the lazy dog.
outfit-work-sans
Outfit
Body in Work Sans: the quick brown fox jumps over the lazy dog.
playfair-source-sans
Playfair Display
Body in Source Sans 3: the quick brown fox jumps over the lazy dog.
space-grotesk-plex
Space Grotesk
Body in IBM Plex Sans: the quick brown fox jumps over the lazy dog.