Building a Toolkit for Design
summary
A custom Elm library called style-elements removes stylesheets and the cascade, replacing them with a constrained palette of colors, nonlinear spacing scale (targeting ~50 useful tokens), and precise typography metrics (capitals, ascenders, baselines). It implements an Elm UI–compatible API, shipped a small client site for "Cats The Gathering," and includes a fuzzed test harness that assigns IDs and runs align-left tests (and other layout assertions) across browsers. The talk cites Amazon shipping 222,000 style rules to justify the narrower approach, and the test suite passes.
AI-written summary · about
chapters (26)
- 0:00Why Im Excited
- 0:43Style Elements
- 1:17Design Systems
- 2:06Designing with CSS
- 3:26Alignment
- 5:32Client Story
- 6:23Making Text
- 11:34Typography
- 12:04Font Sizes
- 14:26Font Spacing
- 15:07Drop Capital
- 17:14Line Height
- 18:11Reuse
- 20:42Shipping Styles
- 22:43Two Views
- 23:35Pallet
- 24:40Grayscale
- 25:23Font Color
- 26:25Spacing
- 27:16Implementation
- 27:53How do we know
- 28:27Line left
- 29:50Full test suite
- 30:17Browser compatibility
- 30:38Why use Elm UI
- 31:43Thank you Sarah Clancy
