agentleFS
jpoindexterjpoindexter/typography-skills/skills/typeface-pairing/SKILL.md

typeface-pairing

Skill2 starsChanged 4 months agoMITView on GitHub

Use when combining two or more typefaces — heading plus body, display plus UI, adding a face to an existing system, or diagnosing a pairing that "clashes" or "looks the same". Also use when deciding whether a second typeface is needed at all.

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 5 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Ask whether the existing family's range covers the need.

    line 139
  2. Distinctive:

    If not, state the specific reason a second face is required.

    line 140
  3. Distinctive:

    Verify both faces cover every required script and style.

    line 144
  4. Distinctive:

    Check combined payload against budget.

    line 145
  5. Distinctive:

    Test the worst case: longest heading, smallest subhead, dark mode.

    line 148

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Typeface pairing

Most pairing problems are solved by not pairing. The second face must earn its payload, its licence, and its maintenance.

1. When to invoke

  • Choosing a heading face to sit with a body face.
  • Adding a face to an existing system.
  • A pairing "clashes", or the two faces are indistinguishable.
  • Deciding whether one family with more weights would do the job.

2. Required context

  • The roles each face will play, and where they meet on the page.
  • The existing face and its full range (weights, widths, optical sizes, italic).
  • Whether a superfamily or variable axes could cover both roles.
  • Combined payload budget.
  • Script coverage for both faces — a pairing breaks when only one supports a required language.
  • Licence for the second face, specifically. A face can pass every visual test and still be unusable if its licence doesn't cover this medium — check this before finalizing, not after. (Stocks)

3. Invariant principles

  • Two faces need a reason. One family with a real weight and width range covers most hierarchy needs. State the reason before choosing.
  • Contrast or unity — never in between. Faces that are clearly different read as intentional. Faces that are subtly different read as a mistake. The failure mode is similarity, not clash.
  • Something must be shared. Successful pairs share a skeleton, a proportion, an x-height, an era, or a mood. Nothing shared reads as accidental.
  • Pairs are judged where they meet — a heading directly above its body text, not on separate specimen slides.
  • The body face is the constraint. It's doing the reading work; the display face adapts to it, not the reverse.

4. Context-dependent heuristics

Order of preference.

  1. One family, more range. Weight, width, size, case, and colour give abundant hierarchy. Cheapest and most robust.
  2. A superfamily. Serif and sans sharing skeleton and metrics — designed to be combined, and metric-compatible for free.
  3. Two families with a deliberate shared trait and clear difference.
  4. Three or more. Almost always a system that lost control. The one common exception: adding a monospace face for code or tabular data alongside an existing display/text pair is a functional addition, not an expressive one — Stocks treats it as a distinct, low-risk fourth role rather than "another typeface competing for a voice." Judge it against ui-component-typography's requirements, not this skill's contrast/harmony rules.

Start from an anchor typeface. Rutter's method, and the one to default to: pick one face first to set a uniting voice and act as the reference point for every later choice. "This could be a unique display face, a predetermined logotype or masthead font, or — preferably — the body type," because body text is the majority of the content and its choice is already an emotional decision matched to the tone of the text. Anchoring lets you study one face closely — geometry, contrast, proportions, particular glyphs — and use those specifics to find complements.

Two shortcuts worth trying before a blind search: pair faces by the same designer, or from the same foundry. Shared hands and shared house style produce the "something shared" this skill requires, for free.

What to share, what to contrast.

ShareContrast
x-height (so they sit at compatible apparent sizes)Classification (serif ↔ sans)
Proportion / widthStroke contrast
Historical era or design intentStructure (geometric ↔ humanist)
MoodWeight and scale
Shape of a g r y specifically, or terminal treatmentFormality, temperature, trend value

Lupton splits this into objective and subjective qualities — width/proportion, x-height, the shape of a g r y, extender length, stress/verticality, and terminal style are the objective, checkable half; coldness/warmth, formality, memory, and trend value are the subjective half a pairing is actually chasing. Name at least one concrete objective match before relying on a subjective one — "they both feel 1970s" is harder to defend than "both have a lilting a and matching narrow proportions." (Lupton)

Kupferschmid's font matrix — a construction-based method that needs no classification vocabulary at all, useful when two faces don't fit any genre cleanly. Read a face in three layers: skeleton (the form model — dynamic/penlike, rational/mechanized, or geometric), flesh (contrast and whether serifs are present), and skin (finer details — specific serif shape, texture, ornament). Then pair by the rule the layers predict: same skeleton pairs harmoniously even with different flesh; different skeleton but matching flesh (same contrast, same serif-or-not) reads as a near-miss and fails — there isn't enough differentiation to read as intentional. Treat it as a diagnostic lens, not a rulebook — not every face sorts cleanly into one skeleton. (Stocks, via Kupferschmid & Schöndorfer)

The reliable combinations.

  • Humanist serif + humanist sans — shared calligraphic skeleton, contrasting serif treatment. Very safe.
  • Geometric display + unobtrusive text sans — strong character in headings, quiet body. ("Unobtrusive," not "neutral" — see typeface-selection.)
  • High-contrast serif display + low-contrast sans text — editorial classic.
  • Same-family serif and sans (superfamily) — unity by construction.

The unreliable ones.

  • Two humanist sans from different families — too similar, reads as an error.
  • Two high-character display faces — they compete; neither wins.
  • Two geometric sans — near-identical skeletons.

Match apparent size at the join. Two faces at the same nominal size will look mismatched if their x-heights differ. The concrete technique: hold one face's size fixed, then adjust the other's point size up or down until the x-heights visually align — not until the nominal sizes match. Lupton's example: a 40pt display face paired with a second face set at 37.8pt because that's the size where their x-heights actually line up. Adjust one parameter at a time — size, then weight if the pairing still feels off, then check whether ascenders/descenders now clash and need a line-height correction. Re-check the heading's measure and space afterward.

5. Failure patterns

PatternCauseFix
"Something's off" but nothing clashesFaces too similarIncrease contrast or drop to one family
Heading and body look different sizesx-heights differCompensate nominal size at the join
Pairing works in the deck, fails on the pageJudged separatelyJudge where they meet
Third face crept inNo system enforcementTokenize the allowed set
Pairing breaks in PolishOnly one face has coverageVerify both faces' scripts
Payload doubled for one heading styleSecond face not earning its costUse weight/width in the existing family
Display face used for a long subheadRole creepBound each face to its role

6. Evaluation procedure

  1. Ask whether the existing family's range covers the need. If yes, stop.
  2. If not, state the specific reason a second face is required.
  3. Shortlist, then render heading directly above body at real sizes.
  4. Compare x-heights at the join; compensate size if needed.
  5. Squint. The two should read as clearly different roles, not as a near-miss.
  6. Verify both faces cover every required script and style.
  7. Check combined payload against budget.
  8. Confirm the second face's licence actually covers this medium — a pairing that fails on licence fails regardless of how well steps 3–6 went.
  9. Test the worst case: longest heading, smallest subhead, dark mode.

7. Output format

Second face justified: <yes/no> — reason: <specific need not met by existing range>
Pair: <display face> + <text face>
Shared: <trait>
Contrasted: <trait>
Apparent size at join: <compensation applied>
Scripts covered by both: <yes/no>
Licence covers this medium: <yes/no>
Combined payload: <n> KB
Rejected alternative: <pair> — <reason>

8. Examples

Docs site: body is Source Sans; wants "more personality" in headings.

First check whether Source Sans' own range covers it — it has 6 weights and a true italic. A 700 heading at a larger scale step, with tracking tightened slightly, gives clear hierarchy at zero additional payload. That's the recommendation: no second face. If the brand genuinely requires a distinct editorial voice in headings, the pairing that would work is a transitional/rational serif with a similar x-height — shared proportion, contrasted classification and stroke contrast — but it doubles the font payload for a stylistic gain, and that tradeoff is the client's to make, not mine.

Editorial product pairing a geometric display face with a humanist body sans.

Good contrast — circular geometric bowls against angled humanist axis reads as clearly intentional. The join needs work: the display face has a notably shorter x-height, so at the same nominal size the heading reads smaller than expected. Bumped the heading one scale step and re-checked the heading measure. Verified with the longest real headline at the narrowest breakpoint.

9. Counterexamples

  • ❌ "Pair a serif with a sans, that always works." — Two faces with unrelated skeletons and no shared trait read as accidental.
  • ❌ "These two look similar, so they'll blend." — Similarity is the failure mode.
  • ❌ "Use three faces: display, body, and accent." — Almost always uncontrolled growth. Accent is a weight or a style.
  • ❌ "They both looked great on the moodboard." — Pairs are judged at the join.
  • ❌ "Same point size keeps them consistent." — Match apparent size; x-heights differ.
  • ❌ Adding a second family to get a bold heading, when the family already has one.
  • ❌ "It reads great in the deck, ship it." — Without checking the second face's licence for this medium, the pairing can be dead on arrival regardless of how it reads.
  • ❌ "Different skeleton, but they're both low-contrast sans without serifs, so they'll pair fine." — Same flesh, different skeleton is exactly the combination Kupferschmid's font matrix predicts will fail; not enough differentiation.

10. Source citations

  • Santa Maria, On Web Typography — pairing typefaces; building a type palette; matching type to content and tone; developing flexible typographic systems.
  • Latin, Better Web Typography — combining typefaces; heading relationships; typeface pairing as a practical heuristic layer.
  • Coles, The Anatomy of Type — reading shared and contrasting form from visible evidence; classification signals that make a pairing legible as intentional.
  • Rutter, Web Typography — combine typefaces for a reason; start your combination with an anchor typeface (preferably the body face, since it carries the majority of the content); find complements through contrast; combine typefaces with similar structure and form; stick with a single family where you can; pair typefaces from the same designer or the same foundry.
  • Lupton, Thinking with Type 3e — type families, hierarchy, and contrast; pairing typefaces on objective qualities (width/proportion, x-height, shape of a g r y, extender length, terminals, stress) and subjective ones (warmth, formality, memory, trend); the wine-and-cheese framing of contrast plus shared ground.
  • Stocks, Universal Principles of Typography — width and weight as palette tools; a typographic scale is already a design system; pairing type only if you have to; superfamilies and shared-designer/foundry as the two easiest pairing hacks; Kupferschmid's font matrix (skeleton/flesh/skin) as a classification-free pairing method; matching x-height across faces by adjusting the secondary face's point size rather than trusting nominal size; checking the second face's licence before finalizing a pairing; a monospace addition as a functional, low-risk fourth role rather than an expressive third typeface.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.