Color Is a Lookup, Spacing Is a Rule

Tokens fixed Claude Design's colors and left its spacing alone, and the same gap is sitting in my own stylesheets.

Supernova ran an experiment I would have designed if I had thought of it: one design system, two setups, three fixed prompts, then a count of what the generated code contained. Handing Claude Design Mozilla Protocol's token files instead of seven screenshots dropped off-system colors from ten to zero and off-system components from thirteen to two. Spacing did not follow. Nineteen of 142 spacing declarations were still off Protocol's scale, and the model wrote 2, 10, 12, 18 and 20 px, values Protocol does not have.

Their explanation matters more than the percentages. Where the system had an answer as data, the tool used it; where it was silent, it invented something plausible. A color is a lookup: a token file names the color and gives its exact value. Spacing is not a lookup, because nobody publishes the rule that a label and its value sit 0.45rem apart. That rule lives in Sass for part of the system and in habit for the rest. They counted generated code, not rendered pixels, so read their percentages as a floor.

I have the same asymmetry, reversed. My stylesheets define seventeen color tokens, and no JavaScript file in the repo hardcodes a hex color. Spacing has no tokens at all: 470 literal declarations carrying 538 rem values, 55 distinct numbers. Eight values cover 283 of those numbers. Twenty are used exactly once.

What a design system can and cannot tell a model: Claude Design's off-system color count falling from ten to zero and components from thirteen to two when given token files, while spacing declarations stayed off scale, against a bar chart of this site's spacing values where eight values cover 283 of 538 numbers and 20 appear exactly once.

What I did not expect is that my print stylesheet already does what Supernova asks for. print.css redefines twelve of those color token names with print values, so every component rule reading a color token follows along with no per-component edit. The names are the contract, the values are per medium. Color was already a named decision here. Spacing never was.

So the fix is narrower than publishing tokens. A value only becomes machine-followable if the decision was already explicit somewhere. Tokenizing a number invented from habit gives the invention a name and nothing else. BAEMIN's CLAYDesign takes that to its conclusion: one JSON Screen Document, a validator that rejects anything not an approved token or component, four platform outputs compiled from the same document. An off-list value fails the build instead of shipping as a slightly wrong gap.

My first step is small. Name the eight spacing values I already use everywhere, then check which of the 20 singletons are real roles and which are drift I never noticed.

Source: https://www.supernova.io/blog/claude-design-design-system

Source: https://design-agent.dev/blog/2026-11-30-design-news-digest-november-30-2026/