Author: M4Design
-

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

border radius tokens: rounding corners on purpose instead of by accident
4px on the input, 6px on the card, 12px on the modal — nobody decided the modal should be softer. Here’s how to name four radius steps on purpose.



