Line Height Grid

Use when calculating line-height for any font size in a grid-aligned design system. Names the two-track model (lh-ui = ceil(font × 1.20) snapped to the minor unit; lh-prose = ceil(font × 1.50) snapped to the minor unit), the picking heuristic per role (ui-track for headings / buttons / labels; prose-track for paragraph body), and worked examples for 4/8, 2/4, and 4/16 grids. Cite when an agent picks a unitless line-height multiplier without snapping to the system's grid.

thrillmade Updated 3 repo stars

File contents

thrillmade/agent-skills commit 2a7e3a97c5

Frequently asked questions

npx get-skill add thrillmade/line-height-grid