---
name: better-typography
description: >-
  Use when setting or reviewing how text renders on a page, UI, cover or book
  layout: type scale, line-height, letter-spacing, measure, wrapping, numerals,
  font loading and punctuation.
---
# Better Typography (condensed)

Source: https://jakub.kr/skills and https://github.com/jakubkrehel/skills/tree/main/skills/better-typography (MIT).

Write every fix in the project's own styling system. Never propose a new typeface unless the task asks for a type change.

## Rules
- **Fewer fonts, sizes, weights.** Rarely more than three fonts. Serif headline over sans body reads deliberate; two near-identical sans read as a mistake.
- **Weights:** ≥ 400 below 18px; 100–300 only at 28px and up. Load every face used.
- **Type scale with semantic names;** pair each size with its line-height and weight.
- **Headings descend with level.**
- **Line-height:** display 1.1, headings 1.2–1.3, body 1.5–1.6, unitless; 3+ wrapped lines ≥ 1.4.
- **Letter-spacing:** headings ≥ 24px take −0.01 to −0.02em; uppercase labels ≤ 14px take 0.05em; body 0. Use em.
- **Measure** 60–75 characters.
- **Wrapping:** `text-wrap: balance` on headings, `pretty` on paragraphs, `overflow-wrap: break-word` for long words; keep `text-align: start`.
- **Tabular numbers** on prices, counters and numeric columns.
- **Truncate with a way back.**
- **Typographic punctuation:** curly quotes, en/em dashes, the ellipsis character, non-breaking spaces.
- **Size floors:** body 16px, inputs/menus 14px, captions 13px; inputs 16px on mobile.
- Font smoothing once on the root; set `lang`.

## Before you finish
| Pattern | Fix |
|---|---|
| Weight not loaded | Load it or use a shipped weight |
| line-height in px/rem | Unitless |
| Tight leading on wrapping text | ≥ 1.4 |
| letter-spacing in px | em |
| Light weight under 18px | ≥ 400 |
| `balance` on a paragraph | `pretty` |
| Price without tabular-nums | Add it |
| `...`, `--` | …, em dash |

## Reporting
Severity HIGH (unreadable, clipped), MEDIUM (breaks the type system), LOW (polish). Table: Severity | Location | Before | After | Why. End with Block or Approve.
