Blanq · Design system · iOS · 2026
How one designer built a token set and a component library in Figma, and found a way to hand it to a coding agent without the agent guessing values from screenshots.
Timeline
Role
Scope
Product
Context
Blanq fills bureaucratic forms from data stored on the phone. There was no developer. Every screen and piece of logic was designed in Figma, and an AI coding agent wrote the SwiftUI code. The Figma file was on the free plan, which limits how often an agent can read it.
The second reader of this design system was an agent that can't ask a follow-up question.
Anything the system didn't state exactly, the agent had to guess.
The system
One token, two worlds

First handoff. Pictures of the system
On day one the agent hit the plan's API limit. From then on the system went over as files: icons as PDF, the iOS vector standard, and components as PNG. The agent measured spacing in pixels and sampled colors from the images.

The agent's own audit, written on the first day.
At 1x the exports were too small to read, so they were redone at 2x. That fixed what was visible, but not what a picture can't carry. No export showed an error state, so the agent invented a red. A disabled button looks the same in a PNG whether it's a separate color or a transparent one, so it was made transparent.


A picture shows how something looks, not what it is.
Where design meets code
Line height
Text sat a few points off the mockup. The designer noticed it by eye. Figma splits extra line height above and below a line, SwiftUI adds it only between lines, so one-line text comes out shorter. One text-style modifier now adds the missing half above and below, for every text in the app.



Styles, not overrides
Second handoff. Vega
Checking every export by eye never went away: does the screen match the frame, do the names in code match Figma. So the designer built Vega, a Figma plugin that exports the system itself (values, assets, names) into the project folder, formatted for iOS or Android.



The goal wasn't speed. It was removing the second look.
Interface colors and type on every screen come from the same tokens and 42 components. Left, the running app. Right, the Figma frame.

Drift. Literata styles are SemiBold 600 in Figma and Bold 700 in code. Copied once, never updated.
Names. Figma says
accent/default, Swift still saysmainAccent.
Spacing. About 290 token uses, but still about 260 hard-coded paddings.
Shadows and art. Shadows are rebuilt by hand. The ID card and UV effect use their own colors.
File hygiene. Blanq tokens sit next to Apple's iOS kit tokens, and a
_deprecatedtoken is still there.



