Tag: web-design
-

form input tokens: the four states nobody agreed on
Default and focus get styled. Error and disabled get invented on the spot, differently, every time. Here’s how to name and token all four input states.
-

how to bake wcag aa into your token file from day one
Contrast ratios, touch targets, focus rings, semantic pairing — here’s exactly what to write in your token file to bake WCAG AA in from day one.
-

status tokens: no new colors, just roles
Every team hits the same moment: the app needs a success state and an error state, and someone picks two new hex codes that have never appeared in the design file before. Those two colors turn into four within a sprint (warning, info) and none of them were chosen against the palette that already shipped.…
-

dark mode tokens: why inverting your palette doesn’t work
Flip every hex value for dark mode and the depth disappears — a card that read as “elevated” in light mode goes flat, because that depth was never really in the color. The instinct to treat dark mode as an inversion makes sense on the surface: light backgrounds become dark, dark text becomes light, done.…





