- Several products, one designer. Every screen in every product couldn't go through a design review.
- Figma disagreed with itself. Two spacing ramps with colliding names (
Space/--space-xsis 10px,Spacing/XSis 4px), and two warning colours a digit apart. - Products rebuilt the same UI. Each app carried its own buttons, tables and dropdowns, drifting a little further every release.
The goal wasn't a prettier library. It was to delete local UI code.
I designed the architecture, the rules, the token model and every component API, and built the library with AI-assisted coding. That let one designer ship a system that would normally need a front-end team, while every decision stayed mine.
The library follows atomic design, and the layer is visible in every import path. One rule governs it, and it's enforceable in code review:
Pick a layer · what may it use?
A component may only use components from a layer below its own. An atom that imports a molecule is a design error, not a style preference.
Why a hard rule?
- Where Figma holds two values that look like a mistake, both are preserved with their Figma token path in a comment.
- Where Figma doesn't say, the token is marked
DERIVEDwith the value it was extended from, and needs designer sign-off. - Deliberate departures (Inter everywhere, one numeric spacing scale, a real radius scale) are marked at the point of use.
Why not just clean it up?
Colour has three layers: global ramps per mode, semantic tokens that name a role (--surface-card, --text-secondary) and a few component tokens. A component never names a ramp step, so dark and light mode switch from one attribute on the document.

Open question I documented
Assessment reports are A4 pages measured in points, with no colour mode and no interaction: the opposite of every screen component. Instead of bending the screen library, I built the report layer as a separate system that shares the design language but imports nothing from the screen layers.

| Product | Built on the system |
|---|---|
| Fit for Service | NDT sheets, justification drawer, visual inspection |
| Lifecycle Dashboard | Dashboard template, charts, Gantt, filter bar |
| Tank Turnaround | Estimation list and detail, scope & budget tables |
| Tank Properties | Editable tables, notes and assumptions |
Adoption came with a starter app every new product is cloned from, and a handoff package with instructions that work outside-in: shell first, then templates, organisms and atoms, deleting local UI along the way.
Gaps get fixed in the system, not in the app


Figma and CSS disagree in small ways. I documented the traps we hit so nobody hits them twice:
- Figma's “no leading” clips descenders in a browser once text also truncates, so such text keeps the designed height with a minimum height instead.
- A CSS border displaces positioned children; a Figma stroke doesn't. The switch knob sat 2px off-centre until the inset subtracted the border.
- Floating panels can't escape their ancestors' overflow, so dropdowns, menus and the date picker are rendered at the document level.
- Never transition a property whose value is a theme token: Chrome keeps the previous mode's colour.


57
Components
8 + 2
Templates + app shells
43
Documentation pages
4
Products built on it
8
Gaps documented in a brief
2
Colour modes
- Start from the system, not the screens. Several gaps only surfaced when a product migrated; building templates for real pages earlier would have caught them sooner.
- Close the light-mode question with the team early, instead of carrying a derived mapping as an open item.
Next case study
Indobara Smart Services →
Sinarmas Mining · Mining operations
