UI Visual Design
Installation
SKILL.md
UI Visual Design
Hierarchy first
Before color or decoration: can a user identify the primary action, the content, and the secondary options in 2 seconds? Use size, weight, contrast, and space — in that order. Color is the last resort for hierarchy.
Foundations
Spacing — 4px base, scale 4/8/12/16/24/32/48/64. Spacing encodes grouping: related items closer, sections farther. When in doubt, more space.
Type scale — ratio ~1.2 (compact UI) to 1.25. Example: 12 / 14 / 16 / 20 / 24 / 32 / 40. Body 16px minimum on web; line-height 1.5 body, 1.2 headings; measure 45–75 characters. Max 2 families (or 1 + mono).
Color — separate semantic roles from raw values: