Category

Design

Visual design, layout and typography.

Design

Choosing a type scale that actually works

A type scale gives every heading and paragraph a predictable size. Pick a base size, choose a ratio, and stick to it. Body text is what people read most, so tune it first: 16–18px…

· 1 min read
AccessibilityDesign

Focus styles are not optional

Keyboard users rely on a visible focus indicator to know where they are on the page. Removing it with outline: none breaks navigation for them. Use :focus-visible so the ring…

· 1 min read
Design

Picking an accent color

One strong accent color, used sparingly, guides the eye better than a rainbow of highlights. Check its contrast on both light and dark backgrounds, and reserve it for links and…

· 1 min read