A B2B workflow product asked me to reorganise its Figma design system before a React component library was built on it.
Cleaning up a design system that ran three naming conventions at once

Overview
The library looked fine until I counted what was typed by hand.
- 757, radii typed by hand
- 278, spacings typed by hand
- 0, paddings, gaps or radii on a token
- 3, naming conventions at once

The records table
Every cell is one TableCell. Its height is bound to the control scale, so every row in every view matches.

Five layers, one direction
A layer may only use the layers above it. This dialog is built only from existing components; no new geometry was drawn for it.
Audit
Key finding: not a single padding, gap or radius was bound to a token.
Every rule in the new Read me names the place where the file already broke it.

One name per thing
Two ChatBubbles sets became AI/Chat Bubble, and three chat buttons became AI/Chat Button.

Property names are prop names
state=unread arrives in code exactly as named. It swaps the surface and border to the accent pair, so the signal survives greyscale.
Rebuild
Solution: rebuild one screen from tokens and measure both versions the same way.
Every number was counted from the file, not estimated.
- 100%, colours on tokens, up from 75%
- 22, local components, up from 0
- 0, external components, down from 132

Measured, not estimated
The rebuilt Settings screen. Colour, radius and spacing are 100 percent bound to tokens, and nothing is typed by hand.
Handoff
Every value has one name, in Figma and in code.
51 colour tokens make the public API, and nine components with 116 variants keep their exact Figma property names in code.

One name from Figma to code
A colour resolves in four hops and only the last is for use. Property names stay exactly as they are in Figma.
Outcome
Done now means it survives a theme change, a breakpoint and a code export.
Most components had only ever been seen in one mode, so the checklist ends with Light and Dark.

Definition of done
Seven checks before a component counts as finished. The last one is Light and Dark.
Reflection
What I learned
Put the broken case next to the rule. A rule with its own counterexample is much harder to skip.
Name things for the code, not the canvas. A Figma property name travels straight into a React signature.
Notes
Leave a note on this post. It shows up right away.