Author: M4Design
-

text selection tokens: the color nobody decided
Drag-select a sentence on almost any site and you’re looking at a decision nobody actually made. Every browser ships a default highlight color for selected text, usually some flavor of blue, and most design systems never touch it. That’s fine right up until the blue clashes with a dark, teal-and-purple brand and nobody can say…
-

truncation tokens: the line limit nobody named
Every card eventually runs into text it doesn’t have room for, and most systems never decided what happens next. Look at a real notification feed for five minutes and you’ll find the bug: a message cut off mid-word with no ellipsis, or a comment card that just grows however tall the copy happens to be.…
-

tabs tokens: the underline isn’t deciding anything on its own
Every tab bar in your product slides to a slightly different beat because nobody named the four decisions that actually control it. A settings page, a dashboard, an email client: three different surfaces, and in most codebases, three different opinions about how far apart the tab labels sit, how much padding wraps each one, how…
-

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.…



