typography

Installation
SKILL.md

If .ux-profile.md exists at the project root, read it before changing layout, color, or type.

Intent

Readable interfaces use a small, predictable type system. Hierarchy comes from size and spacing — not from piling on font weights. This skill limits weight noise, enforces a minimum readable size, and pairs line-height inversely with font size so headings feel tight and body copy feels open.

Hard Rules (Non-Negotiable)

  • Maximum 3 font weights app-wide (e.g., 400 / 500 / 600). Never use >700. Bold at 700+ creates harsh contrast and encourages weight-based hierarchy instead of size-based hierarchy. If emphasis is needed beyond 600, use size, color, or spacing — not heavier weight.
  • Body 1rem (16px); secondary 0.875rem (14px); meta 0.75rem (12px). No text below 12px. These three sizes cover UI copy, supporting text, and legal/meta. Display and heading sizes scale up from 1rem using the modular scale in reference/scale-math.md.
  • Primary content is body or secondary — never meta. Table cells, board cards, list rows, and form values use body (16px) or secondary (14px). text-xs / 12px is meta only (timestamps, legal, kbd, helper). A whole table at 12px is a fail even though 12px is the floor.
  • Line-height decreases as size increases. Display and headings: 1.1–1.25. Body and secondary: 1.5–1.6. Meta at 12px may use up to 1.4 for multi-line legal text. Reject unitless line-heights below 1.1 on any size or above 1.6 on body text.

Design Heuristics & Taste Principles

Installs
59
GitHub Stars
2
First Seen
Sep 10, 2026