
AI design system and generator for React and Figma
Internet
Joined October 2023
- Tweets428
- Following16
- Followers430
- Likes602
PROGRAM UI retweeted
Agree, roles over raw is the key. But for the ideal setup, tokens need three layers, not two like @emilkowalski suggests.
To stop the slop, your agent should touch as little code as possible per session. With only two layers, component styling and theming end up in the same semantic layer, and the output gets less predictable.
That's exactly why i built GTC tokens.
Three layers make a stronger predictable contract: every decision comes from a tree-like taxonomy, so the agent builds without guessing.
GTC is the best styling framework you could pair your design system and agent with, check it out:
buninux.com/design-tokens
A good design system makes it harder for both humans and AI agents to make bad decisions.
In this ideal setup, tokens come in two layers:
- *Primitives* are the raw values without meaning: sand.1000 is rgb(130, 130, 124).
- *Semantic tokens* define roles: content-tertiary points to sand.1000 in light mode and ink.1000 in dark mode.
This has two benefits:
1. Your agent refers to roles, not arbitrary values.
2. Theme switching happens automatically by changing the primitives behind the semantic tokens.
Both of these benefit agents and humans because they reduce the margin for error.
You, and your agent, are less likely to use content-tertiary for a heading than an arbitrary hex value like #432154. The token communicates its purpose, a raw hex value has no real meaning to it.
And when theming is handled through semantic tokens, you don't have to rely on manually adding Tailwind's dark: modifier everywhere.
This is nothing new fwiw, this approached has worked for years. What works well for humans, will likely work well for agents as well.
PROGRAM UI retweeted
I've get this shiny object syndrome to get into a new name, instead of focusing on the work i need to put into existing ones,
Not dropping it for a new venture this time. The design system generator is getting built for Frames X.
PROGRAM UI retweeted
4 demo components now live on the waitlist site,
Copy-paste whole variant sets into Figma, test-play them, switch modes, and preview what's coming to ProgramUI.










