Dustin Johnson ← Design Primitives
Design Primitive Reference · Part I · October 2026

Typography

The typeface and the scale. One sans and one mono, nine sizes that each do one job, two weights, and the loading and rendering work that keeps 13px the same size on every screen it reaches.

I. Why Type Is a Primitive

Most of a product screen is text, so a type system is not a list of sizes but a short list of voices, each one a size, a weight, and a job. A screen that uses more sizes than it has jobs looks unfinished before anyone reads a word of it.

Start with the failure, because it is the common one. Here is the firings screen of an invented studio-kiln scheduler: a top bar, a page header with three actions, a table of five firings, and a footer line. Nobody designed its type. Each component chose a size when it was built: the table came from an older admin kit that sets its kiln column in Verdana, the ID column asks for Courier New, the buttons were styled in uppercase from a marketing page, and the program column is 0.8rem because someone converted 13px by eye. Look at it before you turn the inventory on.

Kilnroom KilnsFirings4GlazesReports Studio B
Studio B / FiringsFirings32 this month · 4 scheduled
FilterExportNew firing
IDKilnProgramConePeakStatusTime
FR-2207Kiln 3Glaze, slow cool101,288 °CCooling11 h 40 m
FR-2206Kiln 1Bisque041,060 °CDone8 h 05 m
FR-2205Kiln 2Glaze, standard61,222 °CDone9 h 30 m
FR-2204Kiln 3Reduction, heavy101,301 °CDone12 h 15 m
FR-2203Kiln 1Bisque041,058 °CDone8 h 10 m
Showing 5 of 32 · Updated 2 min ago
14 distinct sizes · 4 weights (300, 400, 600, 700) · 2 sans families + Courier New · 10 of them between 10 and 14px As found · Every size chosen by the component that uses it · Wrong Nothing here is badly set on its own. The screen reads as noisy because 12, 12.5 and 12.8 are three decisions nobody can see, and the three heaviest weights are spent on things that are not the most important.

Three things are wrong, and none of them is any single size. Sizes without jobs. Fourteen sizes, ten of them between 10 and 14px, where the eye can tell apart perhaps four. A reader cannot tell 12.5px from 12.8px, but each is a separate decision in the code, and the next component will choose a fifteenth. Weights doing two jobs at once. 700 marks the product name, the page title, the column headers, the count badge, and the status pills, so it no longer marks anything; 300 makes the subtitle and the footer look faint. Families by accident. Verdana in the kiln column and the crumb, Courier New for the IDs, DM Sans everywhere else: three x-heights and three widths in one table row. Section X audits this screen and gets it down to four sizes and five voices.

Type deserves a Foundations chapter because it is most of the interface. Oliver Reichenstein's old provocation that web design is 95% typography is close to literal on a product screen: take away the text and what's left is borders, a few icons, and empty boxes sized to fit the text that used to be in them. Control heights come from line height plus padding (Spacing & Density §VI). Column widths come from the widest value. Row height in a table comes from the cell's leading. A type decision is a layout decision, a density decision, and a hierarchy decision at once, made hundreds of times per screen.

Kiln 3Glaze, slow coolPeak 1,288 °CLogged 04:12
Sizes half a pixel apart · Wrong

15, 13.5, 13, 12.5. Four sizes the eye reads as one size with a mistake in it.

Kiln 3Glaze, slow coolPeak 1,288 °CLogged 04:12
One size, one weight · Wrong

The overcorrection. Nothing is wrong and nothing is findable: the title, the value, and the timestamp all say the same thing.

Kiln 3Glaze, slow cool1,288 °CLogged 04:12
Four voices, four jobs · Right

Title, the UI voice, a measured value in mono, metadata a step down. Each difference is big enough to see and means something.

The boundary with the neighbouring chapters, stated once. This part chooses the families, fixes the size scale and the weights, names the voices, and covers what happens between a font file and a pixel. Typography Part II sets text with those voices: leading, measure, tracking, numerals, truncation. Typography Part III decides which voice speaks where on a screen, and owns contrast minimums and dark mode. Spacing & Density owns vertical rhythm and the posture decision this part's UI voice follows (§VII). Grid & Layout Part II owns how two voices share a row (§VIII), which this chapter does not re-derive. Color (unwritten) owns the text-colour ramp and contrast ratios. Buttons and inputs inherit the UI voice and keep their own tables.

A type system is the list of things a screen is allowed to say in different voices. If a size has no job, it is not part of the system; it is a typo.

II. Choosing the Family

Use one sans for every word of the product and one mono for values that must line up, and choose the sans by measuring it at 13px, the size it will spend its life at. Four things decide it: x-height, width, figures, and real weights at 400 and 600. A typeface's specimen page, set at 72px, tells you none of them.

The specimen sets the same panel, at the same 13px and the same line height, in three candidates: Verdana, Georgia, and DM Sans, the sans this series uses. A fourth frame shows the fix the third one needs. The measurements under each frame were taken in headless Chrome. Width is the advance of one fixed string, Kiln 3 · Cone 10 · Glaze firing, at 13px.

This week4 firings
Glaze, slow cool, cone 10K31,288
Bisque, candled overnightK11,060
Glaze, standard, cone 6K21,222
Raku, quick cycleK41,011
x-height 7.1px · width 193px (+16%)
tabular figures · no 500 or 600
A · Verdana · Too wide, labels truncate · Wrong
This week4 firings
Glaze, slow cool, cone 10K31,288
Bisque, candled overnightK11,060
Glaze, standard, cone 6K21,222
Raku, quick cycleK41,011
x-height 6.3px · width 167px
oldstyle figures · serif
B · Georgia · Figures rise and fall · Wrong
This week4 firings
Glaze, slow cool, cone 10K31,288
Bisque, candled overnightK11,060
Glaze, standard, cone 6K21,222
Raku, quick cycleK41,011
x-height 6.6px · width 166px
proportional figures · 1 is 4.1px, 0 is 8.9px
C · DM Sans · Words right, figures ragged · Wrong
This week4 firings
Glaze, slow cool, cone 10K31,288
Bisque, candled overnightK11,060
Glaze, standard, cone 6K21,222
Raku, quick cycleK41,011
sans x-height 6.6px · mono 6.7px
every figure 7.8px
C + mono · DM Sans with IBM Plex Mono figures · Right
With the boxes on, the tint is the width each name column has and the dashed boxes are the figures. Verdana runs out of column first; Georgia's 2 and 8 sit at different heights; DM Sans's 1,011 is narrower than its 1,288, so the commas don't line up.

x-height decides legibility at small sizes. The lowercase letters carry almost all of the reading, and at 13px the difference between an x-height of 0.48em and 0.52em is the difference between 6.3 and 6.8 pixels of letter. Faces drawn for screens, such as Inter, IBM Plex Sans, and the system faces (San Francisco, Segoe UI, Roboto), all sit at or above 0.5em. That is where to look. Verdana goes further, at 0.55em, and pays for it with width.

Width decides what fits. A product's labels are written once and have to fit in columns, buttons, tabs, and menus sized for them. Verdana is 16% wider than DM Sans on the same string, so a column sized for one truncates in the other, as frame A shows. Width also sets how many characters a table cell holds before it needs an ellipsis (Typography Part II §VII). The safe band is a normal-width sans; condensed faces save space and lose legibility at small sizes, and wide faces do the opposite.

Figures decide whether numbers can be compared. A product is full of numbers that sit in columns: temperatures, counts, money, durations. They need to be lining figures (all the height of the capitals) and tabular figures (every digit the same width). Georgia has oldstyle figures, which rise and fall like lowercase letters and suit prose. DM Sans has lining figures but proportional widths. The build Google Fonts serves to this site has no tabular alternates, so font-variant-numeric: tabular-nums changes nothing (measured: 1111 is 16.2px with it and without it). That is why frame C needs the mono for its numbers, and it is exactly the case the mono voice covers (§V). A sans that ships tnum, as Inter and Plex do, can set its own columns (Typography Part II §VI).

Weights decide whether the scale can be built. The scale needs real 400 and 600 faces (§IV), and a real 500 as well if the product intends to use one. Verdana and Georgia ship regular and bold only, so a 600 renders as 700 and a 500 as 400: the semibold the headings and the one emphasis depend on is not there. A variable font with a weight axis passes this test automatically.

CriterionMeasure at 13pxPasses whenA · B · C
x-heightHeight of x ÷ font size0.50em or more: 6.5px of letter at 13px.✓ · ✗ · ✓
WidthOne fixed string against a normal-width grotesqueWithin about ±5%. Wider truncates; narrower loses legibility at small sizes.✗ · ✓ · ✓
FiguresHeight and advance of 0–9Lining by default; tabular available via tnum, or a mono beside it.✓ · ✗ · mono
WeightsFaces or axis rangeReal 400 and 600 (500 as well if the product intends to use it). A wght axis covers them all in one file.✗ · ✗ · ✓
CoverageCharacter setEvery script and symbol the product shows: °, ×, −, arrows, and the languages it ships in.— · — · —

One Sans, and No Serif

A second sans for headings is the most common way a product picks up a second family, usually a display face chosen for the marketing site. It costs a second file and a second set of metrics to keep in step, and it buys nothing that size and weight within one family don't already give: the heading voice is the same sans at 28px and 600 (§III). Systems that have converged on one family per product (Carbon on Plex, Apple on San Francisco, Microsoft on Segoe) did it for that reason. A serif has no job in product UI. Its strengths are long-form reading at body sizes and print, and a product screen is neither; at 11 to 13px its serifs are a pixel or less and its oldstyle figures break tables. The serifs on this page, DM Serif Display in the headings and Instrument Serif in the italics, are editorial chrome for an essay about design. They are not a recommendation for the specimens, which is why no specimen uses them.

Brand Face or System Stack

Choose a webfont you load and control when the product must look the same on every platform, and the system stack when it should look native and cost nothing to load. The system stack (system-ui) passes every test in the table on each platform, but it is a different face on each one, with a different width and x-height, so a column sized on a Mac truncates on Windows (§VIII). A loaded face is one set of metrics everywhere, at the price of a download and a swap (§VII). For a product people use all day across platforms, the loaded face is the better choice; for an internal tool used on one platform, the system stack is.

Choose the typeface at the size it will be read, with the strings it will hold. At 13px, x-height, width, and figures decide; everything a type specimen shows at 72px is decoration.

III. The Scale & Its Voices

The product scale has nine steps, from 10px to 36px. They were chosen for jobs, not generated by a ratio, and each step is a voice: one size, one leading on the 4px grid, a fixed weight range, a fixed tracking, and one job. The specimen sets all nine on one baseline. Turn the metrics on to see each step's line box, cap height, and x-height, drawn from the font's own metrics, and the measured values under each tag.

Overline
Metadata
Helper
Label
Dialog
Reading
Panel
Heading
128
2xs10 / 14
600 caps
xs11 / 16
400
sm12 / 16
400
base13 / 20
400
md14 / 20
400
lg16 / 24
400
xl20 / 28
600
2xl28 / 36
600
3xl36 / 40
600
cap 7.0
x 5.2
cap 7.7
x 5.5
cap 8.4
x 6.0
cap 9.1
x 6.6
cap 9.8
x 7.1
cap 11.2
x 8.1
cap 14.0
x 10.4
cap 19.6
x 14.6
cap 25.2
x 18.7
Line boxCap heightx-heightShared baseline
The scale · Nine voices · DM Sans · px / leading / weight · Measured in Chrome The line boxes are the leading, so their heights are the second number in each tag. Cap height is 0.70em at every weight; x-height is 0.504em in the regular and 0.52em in the semibold, whose lowercase is drawn a little taller. The guides are drawn with the CSS cap and ex units, so they come from the font files rather than from this page.
Tokenpx / lhWeightTrackingThe voice: its one job
text-2xs10 / 14500 mono or 600 sans+0.08em, capsOverlines, tags, measured values in figures. Capitals only.
text-xs11 / 16400+0.01em; +0.06em capsMetadata, pills, table headers, group labels. The smallest lowercase.
text-sm12 / 16400 / 6000Helper text, compact cells and labels, secondary UI. The compact UI voice.
text-base13 / 20400 / 6000The UI voice: controls, cells, labels, menus.
text-md14 / 20400 / 6000Comfortable UI, dialog body, primary labels.
text-lg16 / 24400 / 600−0.005emReading body, section leads, h3.
text-xl20 / 28600−0.01emh2, dialog and panel titles.
text-2xl28 / 36600−0.015emPage title: the heading voice.
text-3xl36 / 40600−0.02emDisplay stats; whole-screen first-run titles only.

The table is fixed for the series (it is the scale in the authoring primer, and every later chapter's specimens use it). Read it by its gaps. The bottom is crowded: 11, 12, 13, and 14 are a pixel apart because that is where product UI lives, and because density posture moves the UI voice by exactly one step, so the steps on either side of 13 have to exist. The top is sparse: 16, 20, 28, 36, each 1.25 to 1.4 times the last, because a screen has few headings and each must be visibly bigger than the one below it. A step that is only a pixel bigger than its neighbour is a voice only when it is also a different job. A heading a pixel bigger than another heading is not.

Leading is part of the step, not a separate choice. Every line height is a multiple of the 4px base unit (Spacing & Density §II), so text boxes stack on the same grid as everything else and a 13px control with 8px of padding is exactly 36px tall. The one exception is text-2xs at 14, on the 2px half-step. A tag never stands alone in a stack; it sits inside a chip or a header row whose own height is on the grid, so the box keeps the grid and the leading doesn't have to. Part II sets out why each leading is the size it is (Typography Part II §II); this part only fixes them.

Why Not a Ratio

Generate a scale from a ratio and you get the steps the ratio produces rather than the ones the product needs. A modular scale from 13px at 1.25 (the "major third" type tools offer by default) gives the top row below. It skips 11, 12, and 14, so the compact and comfortable UI voices don't exist. It puts a step at 8.3px, below the floor, and every step but one is a fraction of a pixel that each browser rounds its own way. The bottom row is the scale above: the same range, a step wherever a job is, and every value a whole pixel.

Top · Generated · No 11, 12 or 14 · A step under the floor · Wrong Bottom · Chosen · Dense where the UI lives, sparse where headings live · Right

Ratios are a good tool for editorial type, where a page has a body size and four or five heading levels and nothing else. Product UI has the opposite shape: most of its text is within two pixels of the body size, and the jobs there (metadata, helper, cell, label, comfortable label) need real, distinct, whole-pixel steps. That is the same argument the spacing scale made against a pure geometric series (Spacing & Density §III), and it lands in the same place: a scale that is dense at the small end and thins out as it grows.

The UI Voice

13px is the default UI voice, 12px the compact one, and 14px the comfortable one. This is the one place the series states it. Density posture (Spacing & Density §VII) chooses which of text-sm, text-base, and text-md controls, cells, labels, and menus share, and it chooses once for the whole product. Posture never changes the leading within a step: 13px is 20px leading in every posture, and a compact row gets its tighter line by moving to 12/16, not by squeezing 13px onto 16. The evidence is close to unanimous. Apple's macOS type styles set body text at 13pt. Fluent 2, Material 3, and Carbon all use 14/20 as their body style and 12/16 as their caption or label, which is this scale's comfortable and compact voices.

The heading voice is text-2xl, 28/36 at 600 with −0.015em tracking, the page title. Grid & Layout Part II used it as the dominant voice in its hardest alignment specimen (§VIII), and the scale ratifies it. Which heading voice goes where on a screen, and how many a screen may have, is Part III's subject (Typography Part III §II).

The Floor

10px is the floor, and only for capitals. Nothing in a product is set smaller, and 10px is legal only as text-2xs: uppercase, tracked out, for tags and overlines, where every letter has the full 7px cap height. Lowercase stops at 11px, where the x-height is still 5.5px (§VIII shows why that line falls there). This series sets its own anatomy-figure tags at 9px, as the inventory tags in section I do. Those are annotations on a drawing, not interface text; 9px never appears in a product.

CuredKiln 3
9px caps · Below the floor · Wrong
CuredKiln 3
10px caps · text-2xs · Right
updated 2 min ago by m.okafor
10px lowercase · Wrong
updated 2 min ago by m.okafor
11px lowercase · text-xs · Right
At 10px the capitals still have 7px of height and the tracking keeps them apart. The same size in lowercase leaves 5px of x-height for letters like e, a and s to draw three strokes in.
A step on the scale is a promise: this size, this leading, this weight, this job. Nine promises are enough for a product; a tenth is usually two of the nine being confused for each other.

IV. Weight

In this face two weights do all the work. 400 reads and does every role; 600 heads and marks the one emphasis. 500 stays in the token set for faces whose medium is cut distinctly from the regular, and no specimen in this series sets the sans at it except to show why. 700 is loaded on this site, but the product scale never asks for it, and 300 never ships. A weight the eye can't tell from its neighbour is not a third rank but a tie, and the usual sign is a selected tab or a label that nobody notices was marked.

Kiln 3
ScheduleLogSettings
ProgramGlaze, slow cool
Next firingThu 06:00
Element hours412 of 600
Edit program
300 throughout · Washes out at 13px · Wrong
Kiln 3
ScheduleLogSettings
ProgramGlaze, slow cool
Next firingThu 06:00
Element hours412 of 600
Edit program
400 · 600 · One job each · Right
Kiln 3
ScheduleLogSettings
ProgramGlaze, slow cool
Next firingThu 06:00
Element hours412 of 600
Edit program
700 for title, tab, button · 600 values · Wrong
Left: the title has nothing but size to stand on, and the selected tab is marked by a difference of one weight step at the light end, which almost disappears. Middle: the selected tab is 400 like its neighbours, and the ink and the rule under it mark it. Right: the bold panel has four bold things, so the eye has nowhere to start and the title is no longer the strongest thing on it.
WeightJobUse forNever for
400 · regularRead, and every roleBody, cells, values, menu items, input text, helper text; labels, column headers, button labels, pills, the selected tab or nav item. Ink, a box, capitals, a rule, or position separates a role, so weight doesn't have to.Headings; the one emphasis.
600 · semiboldHead, and the one emphasistext-xl, text-2xl, text-3xl; text-lg as h3; the sans form of text-2xs caps; the single emphasis inside the UI voice, at the UI size (Part II §VIII).Button labels, column headers, a selection a rule or background already marks; a second emphasis in the same row.
500 · mediumNone in this faceA note in the token set for faces whose medium is cut distinctly (Inter, SF, IBM Plex Sans), where it can mark a role or carry the emphasis.Anything set in DM Sans, where it is about a pixel from 400.
700 · boldNone in the productLoaded by this site's theme; unused by the product scale.Anything a 600 already does.
300 · lightNoneNever ships.Everything below 20px, which is all of the UI.

Why 500 Exists, and Why Not Here

Medium exists so a product can mark something without making it bigger or louder. A selected tab, the active item in a sidebar, a column header, a button label: each has to stand apart from its siblings at the same size and on the same baseline. In a face whose medium is cut distinctly from its regular, as it is in Inter, San Francisco, and IBM Plex Sans, 500 does that job, and it can carry the emphasis inside a voice as well. DM Sans, as Google Fonts serves it to this site, is not one of those faces. Measured at 13px, "Schedule" is 55.7px wide at 400 and 56.9px at 500: about 2% wider, a little over a pixel, with stems that look the same at a glance. Beside 400 at the same size and ink the eye does not find it, so in this face 500 marks nothing. The rule here is two weights: 400 reads and does every role, and 600 heads and marks the one emphasis. A role doesn't need weight, because something else already separates it: the muted ink separates a label from its value, the box separates a button, capitals and size separate a column header, and a rule or a background marks the selected tab. The single emphasis inside the UI voice is 600 at the UI size, told apart from a heading by size (Typography Part II §VIII, Part III §I). The width argument against heavy selection still holds, and it now points at 400. The same label is 58.3px at 600 and 59.4px at 700, so a tab bar whose selected label turns heavier shifts every label after it by three or four pixels each time the selection moves; at 400 with a rule under it, nothing moves. Button labels are 400 for the same reason a label is muted rather than heavy: the box already says "this is something to press" (Typography Part III §IV). Button Taxonomy §V reached 500 for buttons from the button's side, which is the right call in a face with a distinct medium; in this one it is a pixel nobody sees.

Why Not 300 or 700

300 fails at UI sizes. At 13px the stems of a light weight are less than a device pixel wide on a 1× screen, so the rasteriser draws them as gray rather than black. The text loses contrast even though its colour hasn't changed, and the loss is worse with macOS's thinner antialiasing (§VIII). Light weights belong to display sizes in editorial design, and the product scale has no step big enough to use them. 700 has no job left. Once 600 heads and marks the one emphasis, a heavier weight can only be a louder heading, and a product heading already has size to do that. Systems that use 700 for headings tend to use 600 for emphasis and 500 for roles, which is this scale shifted louder for no gain. One rule protects all of this: set font-synthesis-weight: none at the root, so a weight that isn't loaded fails visibly instead of being faked by smearing the regular face.

Weight is a ranking, and in this face the eye can rank two: what reads and what heads. A weight a pixel from its neighbour is not a third rank; it is a tie.

V. The Mono Voice

Set a value in mono when its characters have to line up or be copied exactly: IDs, hashes, code, and measured values. Never set prose, labels, or headings in mono. Pair the mono to the sans by x-height, so both can sit at the same size on one baseline. Picking the mono by name, or leaving it to the generic monospace, gets you whatever x-height that face happens to have.

FiringFR-2207
Build9f3c21ab
Programc10-slow-cool
Peak1,288 °C
sans x-height 6.6px · Courier New 5.5px (−16%) Courier New at 13px · Reads a size smaller · Wrong
FiringFR-2207
Build9f3c21ab
Programc10-slow-cool
Peak1,288 °C
labels 46% wider · nothing marks the values Mono everywhere · Labels and values one voice · Wrong
FiringFR-2207
Build9f3c21ab
Programc10-slow-cool
Peak1,288 °C
sans x-height 6.6px · Plex Mono 6.7px (+2.4%) IBM Plex Mono at 13px · Labels sans · Right
The shaded bands are each run's own x-height, standing on the shared baseline. On the left the values' bands are visibly shorter than the labels'; on the right the two are the same to within a fifth of a pixel, so the values read as the same size and a different kind.

Mono is for characters that are data. In an ID like FR-2207 or a hash like 9f3c21ab, every character matters and some are easy to confuse: 0 and O, 1 and l, rn and m. A monospace face is drawn to tell those apart, and it gives every character the same width, so two IDs of the same length line up and a changed character stands out. Measured values in tables and inspectors (temperatures, durations, byte counts) go mono for the second reason: tabular alignment when the sans can't provide it (§II). Everything a person reads as language stays in the sans. That includes the labels beside these values, button text, names, and headings. The middle frame shows why. Set in mono, the labels are 46% wider, the panel reads like a configuration file, and the one difference that told values from labels is gone.

Goes monoExampleStays in the sansExample
IDs and keysFR-2207, INV-00431LabelsFiring, Peak, Program
Hashes, tokens, versions9f3c21ab, v4.12.0Names and titlesKiln 3, Glaze firings
Code, config, pathsc10-slow-cool, /kilns/3Buttons and menu itemsEdit program
Measured values in tables and inspectors1,288 °C · 11 h 40 mCounts and numbers in prose4 scheduled, 32 this month
Timestamps in logs04:12:37.214Relative times2 min ago

Pairing by x-height

Two faces at the same font size are the same size only if their x-heights match, because the lowercase letters are what the eye compares. IBM Plex Mono's x-height is 0.516em and DM Sans's is 0.504em, 2.4% apart. At 13px that is 6.7px against 6.6px, so the pair can share a size token, and this series sets both at the same pixel size everywhere. Courier New, at 0.423em, is 16% shorter: at the same 13px it reads as a size smaller and noticeably lighter, which is the left frame. The generic monospace keyword is worse, because it is a different face on each platform. The rule: choose the mono whose x-height is within about 5% of the sans and set both at the same size. If the mono you must use is further off, correct it with font-size-adjust: ex-height 0.504, which scales any fallback to the sans's x-height. Don't solve it with a separate, smaller mono size token, because then every value needs to know which font it is in.

Figures Without the Mono

When the sans has tabular figures, numbers that only need to line up (counts in a column, totals, a counter that ticks) can stay in the sans with font-variant-numeric: tabular-nums. Go to mono only when the characters themselves are the data. A price column in a sans with tnum is right. A price column in mono is a design that has confused money for code. How numerals align in columns, and how units and currency become a smaller voice beside them, is set out in Grid & Layout Part II §VI and Typography Part II §VI.

Mono says "this is exactly these characters." Use it where that is true, and match it to the sans so it changes the kind of text, not the size.

VI. Tokens

Ship each voice as one set of tokens that carries size, leading, weight, and tracking together. Point role aliases at those voices, let density posture re-point the aliases, and let components read only the aliases. A size token on its own lets every component choose its own line height, and that is how three rows built from the "same" 13px end up three different heights.

Menu item 32.9px Table cell 35.5px List row 34.2px
Size token only · Leading per component · Wrong

All three are "13px". With normal, 1.5, and 1.4 as leading, the same padding gives three heights, none of them on the grid.

Menu item 36px Table cell 36px List row 36px
Voice token · 13 / 20 · Right

Size and leading come together, so 20px of line plus 8px above and below is 36px, the default control height, in every component.

The architecture is the same three layers the spacing system uses (Spacing & Density §VIII). The scale is nine voices and never changes. The role aliases (the UI voice, the header voice, the meta voice) point at steps of the scale, and they are the only thing posture changes. Components read aliases and never touch a step directly, except for headings and display text, which never change with posture and can read their step directly.

/* Layer 1 — the scale. rem, so type follows the user's font-size preference. The px each value resolves to at the default 16px root is in the comment. */ :root { --text-2xs-size: 0.625rem; --text-2xs-lh: 0.875rem; --text-2xs-track: 0.08em; /* 10 / 14 */ --text-xs-size: 0.6875rem; --text-xs-lh: 1rem; --text-xs-track: 0.01em; /* 11 / 16 */ --text-sm-size: 0.75rem; --text-sm-lh: 1rem; /* 12 / 16 */ --text-base-size: 0.8125rem; --text-base-lh: 1.25rem; /* 13 / 20 */ --text-md-size: 0.875rem; --text-md-lh: 1.25rem; /* 14 / 20 */ --text-lg-size: 1rem; --text-lg-lh: 1.5rem; --text-lg-track: -0.005em; /* 16 / 24 */ --text-xl-size: 1.25rem; --text-xl-lh: 1.75rem; --text-xl-track: -0.01em; /* 20 / 28 */ --text-2xl-size: 1.75rem; --text-2xl-lh: 2.25rem; --text-2xl-track: -0.015em; /* 28 / 36 */ --text-3xl-size: 2.25rem; --text-3xl-lh: 2.5rem; --text-3xl-track: -0.02em; /* 36 / 40 */ --weight-regular: 400; --weight-semibold: 600; /* --weight-medium: 500 only in a face whose medium is cut distinctly */ --font-sans: 'Product Sans VF', 'Product Sans Fallback', system-ui, sans-serif; --font-mono: 'Product Mono', ui-monospace, monospace; } /* Layer 2 — role aliases, default posture. Posture re-points these and nothing else. */ :root { --text-ui-size: var(--text-base-size); --text-ui-lh: var(--text-base-lh); --text-header-size: var(--text-xs-size); --text-header-lh: var(--text-xs-lh); --text-meta-size: var(--text-sm-size); --text-meta-lh: var(--text-sm-lh); } [data-density="compact"] { --text-ui-size: var(--text-sm-size); --text-ui-lh: var(--text-sm-lh); --text-meta-size: var(--text-xs-size); --text-meta-lh: var(--text-xs-lh); } [data-density="comfortable"] { --text-ui-size: var(--text-md-size); --text-ui-lh: var(--text-md-lh); --text-header-size: var(--text-sm-size); --text-header-lh: var(--text-sm-lh); } /* Layer 3 — components read roles. Headings read their step: posture never moves them. */ .cell { font: var(--weight-regular) var(--text-ui-size) / var(--text-ui-lh) var(--font-sans); } .th { font: var(--weight-regular) var(--text-header-size) / var(--text-header-lh) var(--font-sans); letter-spacing: var(--text-xs-track); } .page-title { font: var(--weight-semibold) var(--text-2xl-size) / var(--text-2xl-lh) var(--font-sans); letter-spacing: var(--text-2xl-track); } .cell-num { font-variant-numeric: tabular-nums; } /* after any font shorthand, which resets it */

Switch the posture below. The table reads three aliases. Nothing in its CSS changes except what the aliases point at. The row height steps with them, 28, 36 and 44px, as the rows in Spacing & Density §VII do.

FiringProgramPeak
FR-2207Glaze, slow cool1,288 °C
FR-2206Bisque1,060 °C
FR-2205Glaze, standard1,222 °C
Compact · ui → text-sm 12 / 16 · header → text-xs 11 / 16 · row 28px Default · ui → text-base 13 / 20 · header → text-xs 11 / 16 · row 36px Comfortable · ui → text-md 14 / 20 · header → text-sm 12 / 16 · row 44px One component · Three postures · Only the aliases move · Right
AliasCompactDefaultComfortableRead by
--text-uism · 12/16base · 13/20md · 14/20Controls, cells, labels, menus, input text.
--text-headerxs · 11/16xs · 11/16sm · 12/16Table headers, group labels in menus and sidebars.
--text-metaxs · 11/16sm · 12/16sm · 12/16Helper text, timestamps, secondary lines.
headingsheldxl · 2xl · 3xlheldPanel and dialog titles, page titles, display. Posture never moves them.
tagsheld2xs · 10/14heldOverlines and tags. Already at the floor.

rem for Size, and for Leading

Write font sizes in rem so text follows the user's browser font-size setting. That is settled, and Buttons Part IV §A1 makes the argument in full. Write the leading in rem too, as the rem equivalent of its px value: 1.25rem, not 20px and not 1.5. In px, a user who raises their default size gets 19.5px text on 20px lines. As a unitless ratio, the leading leaves the 4px grid at nearly every step, since 13 × 1.5 is 19.5. As the rem equivalent, it lands on the grid at the default root and scales with the text at every other. Part II explains why each step's leading is the number it is (Typography Part II §II).

Never a Multiplier

The shortcut that fails for space fails for type in the same way: calc(var(--text-base-size) * var(--density)) at 0.92 gives 11.96px, which is not on the scale and not on any grid. It also scales the headings, which posture must not touch. Posture chooses a different step; it never multiplies one.

A size alone is half a token. The voice is the size, the leading, the weight and the tracking together, and a component that can choose any of them separately will.

VII. Rendering

Load the sans as one variable file, preload it, and swap it in with font-display: swap. Give the fallback the sans's metrics with size-adjust and the override descriptors, so the swap changes the letterforms and moves nothing. When a webfont arrives a second after the page, the failure isn't the wait. It's the moment the text reflows under the user's cursor because the fallback was a different size.

Each frame below stacks two renderings of the same card. The dark text is the fallback the browser shows while the webfont loads. The pale text behind it is the same card in the loaded font, DM Sans, so wherever they disagree you can see the jump the user would see. The left frame is the common default: the family falls back to Arial and the leading is normal. The right frame uses the fallback face this page defines: Arial at size-adjust: 104% with DM Sans's ascent and descent, and px-based leading.

Kiln 3 is cooling

Peak reached 1,288 °C at 04:12. The controller holds a slow cool until the chamber is below 600 °C, then opens the vent and logs the curve.

View log
same breaks · lines 15px apart, not 17
last line 8px high · button 10px high
Plain Arial fallback · leading normal · Wrong
Kiln 3 is cooling

Peak reached 1,288 °C at 04:12. The controller holds a slow cool until the chamber is below 600 °C, then opens the vent and logs the curve.

View log
same breaks · same baselines
button 0px off · width within 1px
Metric-matched fallback · 20px leading · Right
The fallback is Arial on macOS and Windows and its metric clone on Linux. The overrides are tuned to DM Sans; another pair of fonts needs its own numbers, which the tools below compute.

Three settings, one job each. Preload the one file the UI voice needs, so the request starts with the HTML instead of waiting for the CSS to be parsed: <link rel="preload" as="font" type="font/woff2" crossorigin>. The crossorigin attribute is required even for a font on the same origin, and leaving it out downloads the file twice. Preload only the sans in its one variable file; preloading every weight and the mono competes with the CSS and the images for the first round trips. font-display: swap shows the fallback at once and swaps when the font arrives. The fallback face is a local font (Arial, Helvetica, Roboto) adjusted to the webfont's metrics. size-adjust scales its glyphs so the advance widths match, and ascent-override, descent-override, and line-gap-override set its vertical metrics so the line box and baseline land where the webfont's will. The override values are themselves scaled by size-adjust, which is why this page's 95.2% ascent comes out at DM Sans's 0.99em. Fit the width on a large sample of real text, not on a few letters: measured over the 30,000 characters of this page's prose, DM Sans sets 4.0% wider than Arial, while single lines range from 2.5% narrower to 5.5% wider depending on which figures they contain. No factor matches every line, so a matched fallback keeps the line count and the baselines and will occasionally move a word. Tools such as Fontaine and Next.js's font loader compute the numbers from the two font files; web.dev's guide to size-adjust sets out the method.

<!-- In the head, before the stylesheet: the one file the UI voice needs. --> <link rel="preload" href="/fonts/product-sans-vf.woff2" as="font" type="font/woff2" crossorigin> /* The webfont: one variable file, two weights used, swap on arrival. */ @font-face { font-family: 'Product Sans VF'; src: url(/fonts/product-sans-vf.woff2) format('woff2'); font-weight: 400 600; /* the axis range the product uses, not 100 900 */ font-display: swap; unicode-range: U+0000-00FF, U+2013-2014, U+2018-201D, U+2026, U+2190-2193, U+2212; } /* The fallback: a local face given the webfont's metrics. Values below fit Arial to DM Sans. */ @font-face { font-family: 'Product Sans Fallback'; src: local('Arial'), local('Helvetica'), local('Liberation Sans'); size-adjust: 104%; /* DM Sans ÷ Arial, measured on 30,000 characters of prose */ ascent-override: 95.2%; /* × 1.04 = 0.99em, DM Sans's ascent */ descent-override: 29.8%; /* × 1.04 = 0.31em */ line-gap-override: 0%; } :root { --font-sans: 'Product Sans VF', 'Product Sans Fallback', system-ui, sans-serif; font-synthesis-weight: none; }
font-displayBehaviourVerdict for product UI
blockText is invisible for up to about 3s, then the fallback shows until the font arrives.Never. Invisible labels and buttons are the worst version of the problem.
swapFallback at once; swap whenever the font arrives.The default for the sans and the mono, with a metric-matched fallback so the swap doesn't move anything.
fallbackAbout 100ms invisible, then the fallback; swap only if the font arrives within about 3s.Acceptable when you can't match metrics: a late font is skipped instead of reflowing a page in use.
optionalAbout 100ms; use the font only if it is already there, usually from cache.Right for anything decorative. A product's UI face isn't decorative.

This page does not follow its own advice. It loads five static DM Sans weights from Google Fonts with display=swap and no matched fallback, so on a cold load its text visibly settles. That is acceptable for an essay that is read once from the top. It isn't acceptable for a product screen that someone opens fifty times a day and starts clicking before it finishes loading.

Variable Fonts

Ship the sans as one variable file with a weight axis rather than a static file per weight. It is one request instead of several, it is usually smaller than the statics combined, and the semibold is guaranteed to share the regular's metrics because it is the same outlines. Two cautions. A variable font is a delivery format, not permission for more weights: the axis can render 450 or 550, and the scale still uses exactly 400 and 600 (§IV), which the font-weight: 400 600 range in the face declaration records. And subset it: a Latin product needs Latin, the punctuation it prints, the degree and minus signs, and the arrows, not every script the family supports.

Optical Sizing

A font with an optical-size axis (opsz) draws itself differently at different sizes: looser spacing, a larger x-height, and sturdier strokes at small sizes, and tighter, finer forms at display sizes. Browsers apply it automatically through font-optical-sizing: auto, which is the default; leave it on. San Francisco switches between its Text and Display cuts at 20pt this way, and Inter 4 ships an opsz axis. DM Sans has one in its source, but the build served here doesn't: measured, a 36px line is 284.6px wide at opsz 9 and at opsz 40. That is why the scale's tracking column does by hand what the axis would do automatically, opening text-xs by 0.01em and tightening from text-lg up to −0.02em at 36px. With a face that has opsz, re-measure the tracking before keeping it, because the axis has already done part of that work (Typography Part II §V).

The user never sees the font load. They see the text move. Match the fallback's metrics and the load becomes a change of letterforms in a layout that holds still.

VIII. Platforms

The same 13px turns into different pixels on macOS, Windows, Android, and Linux. Set the floor by the worst renderer a product will meet, not by the designer's screen. At 1× density, lowercase below 11px no longer has enough pixel rows for its strokes and counters, which is why 10px is for capitals only and nothing goes smaller.

On a 1× screen, a lowercase letter has as many rows of pixels as its x-height rounds to, and letters like e, a, and s need five: three strokes and the two gaps between them. The figure draws a lowercase e of DM Sans at the x-height each size rounds to, one square per device pixel. Hinting rounds differently in each renderer, but no renderer can create a sixth row from 5.04 pixels of x-height.

8px · x 4.0 → 4 rowsThe counter closes · Wrong
9–10px · x 4.5–5.0 → 5 rowsNo row to spare · Lowercase wrong
11–12px · x 5.5–6.0 → 6 rowsThe lowercase floor · Right
13–14px · x 6.6–7.1 → 7 rowsThe UI voice · Right
A lowercase e at 1× · One square per device pixel · DM Sans x-height 0.504em At four rows the eye of the e fills in and it reads as a smudge, or as an o. At five rows every row is spoken for, so the letter is legible but the slightest hinting error breaks it. Six rows gives the counter room, which is where lowercase becomes reliable.

That is the minimum-size consequence, and it is the reason the scale's floor works the way it does. Capitals at 10px are fine, because their 7px cap height and the tracking text-2xs adds give each letter enough pixels. Lowercase stops at 11px, the first size whose x-height (5.54px) rounds to six rows rather than five. A high-density laptop screen hides all of this, because at 2× a 10px e has ten rows, and that is how sub-11px lowercase ships: it looked fine on the screen it was designed on. The audit in section X treats lowercase under 11px as a defect for this reason.

Why 13px on macOS Is Not 13px on Windows

A CSS pixel is the same everywhere; what it becomes isn't. The renderers differ. macOS's Core Text keeps the outline faithful and antialiases it, so text is accurate but a little soft. Windows' DirectWrite hints the outline toward the pixel grid, so x-heights and stems snap to whole pixels, which makes text crisper and often lighter, and two adjacent sizes can render to the same pixels or jump by a full row. The scaling differs. Windows laptops commonly run at 125% or 150%, where 13 CSS pixels are 16.25 or 19.5 device pixels and every stem lands on a fraction. The face differs, if the product uses the system stack: system-ui is San Francisco on Apple platforms, Segoe UI on Windows, Roboto on Android, and whatever the distribution chose on Linux. Measured on this machine, San Francisco is 4.8% wider than DM Sans on the §II test string; Segoe UI and Roboto each have their own widths, so a column sized against one truncates against another.

Glaze, slow cool · 1,288 °C Glaze, slow cool · 1,288 °C
top: smoothing auto · bottom: antialiased Light on dark · Auto blooms on macOS · Antialiased · Right
Glaze, slow cool · 1,288 °C Glaze, slow cool · 1,288 °C
top: DM Sans · bottom: system-ui on this screen One stack, one face per platform · Widths differ
Both comparisons are live, so what they show depends on the screen reading them: the smoothing difference appears only in a browser on macOS, and the second line of the right frame is whichever face this platform calls system-ui.

Set -webkit-font-smoothing: antialiased once, at the root, as this site's theme does, and choose weights that hold up under it. On macOS the default rendering thickens strokes slightly, which makes light text on dark surfaces bloom; antialiased removes that and makes all text a little lighter. Light-on-dark is where the difference is easiest to see, which is why some systems step their dark-mode weights (Typography Part III §VIII). The property affects only macOS, so it can't fix a weight problem anywhere else; it is one more reason the scale has no 300 (§IV). Never set it per component, because then two pieces of text with the same token render at two weights.

System Stacks as Fallbacks

A product that loads its own sans still needs a system stack behind it, for the first visit before the font arrives and for any character the subset left out. Put the metric-matched fallback face first (§VII), then the system faces in a fixed order: 'Product Sans VF', 'Product Sans Fallback', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif. The mono gets the same treatment, with ui-monospace, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace after the loaded face. And check the fallback's x-height against the sans: the §V rule applies here too, and font-size-adjust is the fix when it is off.

Platformsystem-uiRenderingWatch for
macOSSan FranciscoFaithful outlines, grayscale antialiasing, no hinting.Soft small text on 1× external monitors; weights look heavier without antialiased.
WindowsSegoe UIHinted toward the pixel grid; ClearType or grayscale.Fractional display scaling; adjacent sizes rendering identically; lighter stems.
Android, ChromeOSRobotoGrayscale antialiasing on mostly high-density screens.Its own widths and x-height; check truncation against it.
LinuxDistribution's choiceFreeType; hinting set per distribution.The widest variance; a wide default such as DejaVu Sans truncates first.
Design the floor on the worst screen your users own. A 2× display makes 10px lowercase look fine, which is exactly how it gets shipped to everyone else.

IX. Mobile as a Reducing Layer

On a phone the scale does not shrink. The UI voice steps up one, from 13px to 14px; text fields go to 16px so the browser never zooms into them; and only the display voice steps down, from 36px to 28px. The range gets narrower from both ends. The tempting move is to scale everything down to fit a smaller screen, and it is backwards: the screen is smaller, but it is held closer and used one-handed, often outdoors, and a thumb is less precise than a pointer.

9:41Studio B
Glaze firings 32 this month · 4 scheduled
Search firings
Glaze, slow cool1,288 °C
Glaze, standard1,222 °C
Reduction, heavy1,301 °C
1,288°C peak this week
Desktop sizes on a phone · Wrong

13px rows read small at arm's length, and the 13px field makes iOS Safari zoom the page when it is tapped.

9:41Studio B
Glaze firings 32 this month · 4 scheduled
Search firings
Glaze, slow cool1,288 °C
Glaze, standard1,222 °C
Reduction, heavy1,301 °C
1,288°C peak this week
UI up one · Field 16 · Display down one · Right

Rows at 14/20, the field at 16/24, the stat at 28 instead of 36. The heading voice, metadata, and tags hold their desktop sizes.

9:41Studio B
Glaze firings 32 this month · 4 scheduled
Search firings
Glaze, slow cool1,288 °C
Glaze, standard1,222 °C
Reduction, heavy1,301 °C
1,288°C peak this week
Everything × 0.85 · Wrong

A screenshot of the desktop, shrunk. 11px rows, 10.2px lowercase below the floor, and every size off the scale.

VoiceDesktopPhoneWhy
The UI voicebase · 13/20md · 14/20One step up. Read closer, in worse light, with a thumb over part of it.
Text fieldsui voicelg · 16/24iOS Safari zooms into any focused field set below 16px. Disabling zoom in the viewport tag instead is an accessibility failure.
Display3xl · 36/402xl · 28/36One step down. A 36px figure takes a third of a 343px column for four digits.
Heading, title2xl · xlheldShort page titles fit at 28. A title that wraps to three lines should be shortened, not shrunk.
Meta, header, tagssm · xs · 2xsheldAlready at or near the floor; they grow only if they become something to tap.

The platform owners went further. Apple's iOS body text is 17pt against macOS's 13pt, a jump of more than three steps in this scale's terms (Apple HIG, Typography). A web product on a phone usually keeps more of its desktop density than a native app does, so one step is the minimum rather than the target. If the product's mobile surface is mostly reading or form-filling, comfortable posture (14px everywhere, 44px rows) is the better starting point than stepping up from default. The rest of the mobile layer, from touch targets to the posture floor, is Spacing & Density §X, and where the breakpoint falls is Grid & Layout Part I §VI. Type changes at the same breakpoint as everything else, through the same aliases: the phone layer re-points --text-ui exactly as posture does, and adds a field alias and a display alias.

A phone isn't a small desktop. Read up close, with a thumb, the working text gets bigger and only the showpiece numbers get smaller.

X. Auditing a Screen

Count the distinct sizes, weights, and families on a screen. The size-and-weight pairs should equal the voices in use, there should be two families, and any 300, any 700, or any lowercase under 11px is a defect. Here is section I's screen after one pass of the audit: same components, same content, four sizes and five voices.

Kilnroom KilnsFiringsGlazesReports Studio B
Studio B / FiringsFirings32 this month · 4 scheduled
FilterExportNew firing
IDKilnProgramConePeakStatusTime
FR-2207Kiln 3Glaze, slow cool101,288 °CCooling11 h 40 m
FR-2206Kiln 1Bisque041,060 °CDone8 h 05 m
FR-2205Kiln 2Glaze, standard61,222 °CDone9 h 30 m
FR-2204Kiln 3Reduction, heavy101,301 °CDone12 h 15 m
FR-2203Kiln 1Bisque041,058 °CDone8 h 10 m
Showing 5 of 32 · Updated 2 min ago
4 sizes (11, 12, 13, 28) · 2 weights (400, 600) · 1 sans + 1 mono · 5 voices: base, sm, xs, 2xl, mono After the audit · Same components, same content · Every run a voice from the scale The table now has one row height, 36px, because every cell is 13/20. The IDs, temperatures, and durations line up because they are in the mono. The page title is the only 600 on the screen, so it is the first thing read.
CheckFound in §IFix
Distinct sizesFourteen, from 9 to 24px, ten between 10 and 14Four: 11, 12, 13, 28. Each is a step on the scale doing its job (§III).
Weights300, 400, 600, 700400, 600. 700 removed from the title, headers, badge, and pills; 300 removed from the subtitle and footer; no 500, which in this face is a pixel from 400 (§IV).
FamiliesDM Sans, Verdana, Courier NewDM Sans for every word, IBM Plex Mono for IDs and measured values (§II, §V).
Below the floor9px pills, 9.5px badge, 10px lowercase footerPills and headers at text-xs 400; footer at text-sm. The badge went: the selected nav item already says which page this is.
UppercaseButtons and headers in tracked capsSentence case at the UI voice. Caps are reserved for text-2xs, and this screen has no overline.
Off-scale values12.5, 12.8 (0.8rem), 13.5, 11.5Each one mapped to the nearest voice with the same job: 12.8 and 12.5 to 13, 11.5 to 12.
Row height34px, from an 18px leading no voice uses36px everywhere: 13/20 plus 8px above and below, the default posture's row.

The Method

Count the voices. Every visible text run's computed size, weight, and family should be one of the scale's voices, and the number of distinct combinations should be the number of jobs on the screen. A console snippet makes the count exact:

const seen = new Map(); const walk = document.createTreeWalker(document.body, NodeFilter.SHOW_TEXT); while (walk.nextNode()) { const n = walk.currentNode; if (!n.textContent.trim()) continue; const s = getComputedStyle(n.parentElement); if (s.visibility === 'hidden' || !n.parentElement.getClientRects().length) continue; const k = [s.fontSize, s.lineHeight, s.fontWeight, s.fontFamily.split(',')[0]].join(' · '); seen.set(k, (seen.get(k) || 0) + 1); } console.table([...seen].map(([voice, runs]) => ({ voice, runs }))); // one row per voice, or a bug

Find the families. The first-family column of that table should hold exactly two names. A third is a component that names its own font, usually an old table, a code block, or a chart library. Find 300 and 700. Search the stylesheets for font-weight: 300, 700, bold, and lighter, and the markup for <b> and <strong> in UI text, which default to bold. Find sizes under 11. Anything under 11px that isn't uppercase text-2xs is a defect (§VIII). Also look for fractional sizes, which are almost always a rem conversion done by eye. Then check posture and the phone. Switch the density and confirm that only the alias-driven voices move (§VI), then load the screen at 375px and confirm that the UI voice went up and nothing else went down except display (§IX).

Count before you argue. A screen's type is right when every run you can point at is one of the nine voices, and you can say which job it is doing.

XI. The Decision Sequence

Decide type for the system once, in this order, and components inherit it. Decided per component, it drifts into section I's screen within a release. Each step depends on the ones before it.

1
Choose one sans by measurementAt 13px, with the product's own strings: x-height of 0.5em or more, a normal width, lining figures with tabular available, real 400 and 600 (500 as well if the product will use it). Brand face or system stack, chosen once.
2
Pair one mono by x-heightWithin about 5% of the sans, so both share every size. Mono for IDs, hashes, code, measured values; never for language. No serif.
3
Fix the nine voices10 to 36px, each with its leading on the 4px grid, its weights, its tracking, its job. Floor at 10px for capitals, 11px for lowercase.
4
Fix two weights400 reads and does every role, 600 heads and marks the one emphasis. 500 only in a face whose medium is cut distinctly. Synthesis off, so a missing weight fails visibly.
5
Bind the UI voice to posture12 compact, 13 default, 14 comfortable, chosen with the density posture. Headings and tags hold.
6
Write the tokensScale in rem, size and leading together; role aliases on top; components read aliases. No multipliers.
7
Load without movingOne variable file, preloaded, swap, a metric-matched fallback, subset. Smoothing set once at the root.
8
Add the phone layerUI voice up one, fields to 16, display down one, through the same aliases at the same breakpoint.
9
AuditCount voices, families, weights, and sub-11px lowercase on the busiest screens, on a 1× Windows screen as well as the designer's.

Steps one through eight are a font file, a token file, and two component contracts, and they rarely change. Step nine is the habit that keeps them true: one console snippet, one search, and one look at the product on a cheap monitor.

What the Best Systems Avoid

Sizes without jobs. 12.5px beside 13px beside 12.8px. If two sizes can't be told apart, they are one voice with a rounding error, and the error spreads.

A heading font. A second sans, or a serif, brought in for titles. The heading voice is the same family at a bigger size and 600.

Ratios as a scale. A modular scale's fractional steps and missing 11, 12, and 14. Product UI needs whole pixels where the jobs are.

Bold for everything that matters. 700 on the title, the headers, the selected tab, and the button, so nothing stands out. Two weights, one job each.

Shrinking for mobile. Scaling the whole scale by 0.85 on a phone. The screen is closer; the working text goes up.

A fallback nobody measured. The webfont arrives and every line on the page shifts. A matched fallback makes the swap a change of letterforms only.

This part has fixed the material: the faces, the nine voices, the weights, and the work of getting them onto a screen. Part II sets text with them: leading per voice, measure, paragraph spacing, tracking, numerals, and truncation. Part III puts them on a screen: which voice heads, which labels, which marks a value, and how far muted text and dark mode can go before the voices stop being legible.

Part I of Typography.
A size is a number. A voice is a size that knows what it is for.