Omni Design System
One set of components, any brand. In Omni a brand isn't a theme file. It's 27 decisions, like corner radius, line weight and motion, and every token, component and doc follows from them.
- Problem
- Multi-brand systems usually treat the second brand as a patch on the first. Values silently fall back, shapes are tied to raw scales, and AI tools copy pixel values.
- What I built
- A system where the brand is the input: 27 named decisions per brand drive every variable, 85 components, a Storybook and docs that AI agents read.
- Proof
- Four deliberately different brands, from minimal to brutalist, run on the same components. A new brand is one file and no component changes.
- My role
- I designed the brand model, the dials, the rules and every review. Claude built the Figma variables, components and Storybook to that spec, batch by batch.
At a Glance
The Idea
Most multi-brand systems treat the second brand as a patch. I wanted to see what happens when the brand is the input.
The usual setup: one brand is the default, and every other brand is a file that overrides some of its values. Whatever the file forgets falls back to the default without warning. Shape and spacing are often wired to raw scales, so a brand that wants square buttons also gets square avatars. And when AI tools generate UI from the system, they copy pixel values because that is what the components contain.
Omni turns this around. A brand is a short list of named decisions — radius, line weight, depth, how much brand colour shows, type scale, label case, motion — and every variable, component and story is derived from those decisions. Components only ever read intent names such as radius/control or color/brand-text, never numbers. To prove it isn't one look in different tints, I built brands that are deliberately far apart.
Research
Established systems get the documentation right and the brand model wrong
I studied how mature multi-brand systems, shadcn/ui and Material 3 handle theming, tokens and AI tooling. Three patterns kept coming up.
- Brand colours baked into names. A token or button variant named after a colour ties the API to one palette. A green brand ends up with a token called purple.
- Only colour is semantic. Shape, space and type are read straight from raw scales, so a brand can't change one component's corners without changing everything that shares the step.
- Good agent docs, no checks. Some systems already ship guidelines written for AI agents. Nothing verifies that generated code actually uses the tokens.
Worth keeping: a description on every semantic token saying where it is used, inverse surfaces as a first-class context, and guidelines that people and AI read alike.
| Override model | Omni | |
|---|---|---|
| A brand is | A file of overrides on top of the default brand | A set of named dial positions |
| A missing value | Silently falls back to the default brand | Stops the build |
| Shape and space | Read from raw scales | Read from named tokens: radius/control, space/gap-related |
| Token names | Can carry colour names | Intent only: brand, secondary, tertiary, status |
| Density, scheme | Light and dark at most | Brand × scheme × density, all independent |
Dials
A brand is a handful of decisions, written down
Each dial has a short list of named positions, and one file decides what every position means in numbers. Choosing radius: lg sets control, container, media, badge and checkbox corners together, each capped by its own rule. Choosing depth: chunky gives buttons a thicker bottom edge they sink into. The brand file never contains a pixel value.
Voice and imagery are dials too, stored as text variables in Figma. Brutalist states facts and never sells; Play is a cheerful coach that says “Not quite” instead of “Wrong”. Those rules sit next to the radius and colour values, so a person or an AI tool writing copy for that brand reads the same thing. A Brand rules page in Figma shows every dial, voice and imagery rule side by side, bound to the variables, so it updates itself when a brand changes.
Multiple Brands
Every bug turned into a rule, and every rule into a shared token
Very different brands break things one brand never would. Each fix went into the dials or a shared token, so it applies to every brand at once.
Focus ring keeps its shape
A drop-shadow ring didn't render on Figma component variants, so the ring became an outset stroke frame. Its corners use a new token, radius/control-ring (control radius + 4), so a square button gets a square ring and a pill gets a pill.
Errors never rely on colour
In thin-line brands, 1 px borders made an error field differ from a normal one only by colour. The active and error stroke now has a 2 px floor in every brand.
Checkboxes never read as radios
In round brands a 20 px checkbox looked like a radio. radius/inner is capped at 6 px, and Radio ignores the radius dial entirely: it is always a circle.
Fills never match the page
On tinted, layered pages the muted and disabled fills disappeared into the background. They now step one shade further, and secondary text is checked for 4.5:1 against both surface and muted.
Some things Figma can't express at all. It can't bind text case to a variable, so uppercase labels and buttons are applied in code and described on the Figma Label style. Easing and hover movement are the same. Anything that exists only on one side is documented on both.
Accessibility
Accessible in every brand, checked on every build
The target is WCAG 2.2 AA and EN 301 549, the standard behind the European Accessibility Act, which has covered telecom and banking services since June 2025. Multiple brands make that harder: a rule that holds in one brand can break in another, so the checks run on every brand at once.
A contrast check now runs before every Storybook build. It tests 368 colour pairs, text at 4.5:1 and borders, focus rings and selected fills at 3:1, in every brand, light and dark. On its first run it found 8 failures that looked fine by eye, mostly status text a step too light. They were fixed in Figma, and the build stops if one comes back.
$ npm run tokens
omni.css: 61 colour roles, from Figma snapshot 29.10.2026
Contrast: 368 pairs across every brand and scheme, 0 below WCAG 2.2 AA
Never colour alone
Error and active borders are at least 2 px in every brand. Alerts and toasts carry an icon, selected tabs and nav items get a bar or bolder text, Radio is always a circle and Switch always a pill.
One focus ring everywhere
Same width and offset in every brand, corners parallel to the control, never clipped. Every interactive component has a Focus variant in Figma and the same :focus-visible ring in code.
Targets, disabled, motion
Controls stay at least 24 px even in Compact density. Disabled controls keep a dashed outline instead of fading out, and every animation spec includes a reduced-motion rule.
Estonian and English
Type is tested with Estonian text, so õ, ä, ö, ü, š and ž render in every brand font. Labels never have a fixed width, because Estonian strings run longer than English.
How It's Built
Component rules
85 components, all following the same four rules
Before building past the first five components I wrote four component rules, so designers, developers and AI agents use the same words. They work like contracts in software: every component promises the same names, properties and states, and Figma, code and AI tools rely on that promise. Naming follows shadcn/ui. Properties are fixed lists: Variant is emphasis, Tone is meaning. States come from one list, and every interactive component has a Focus variant. Token levels say which tokens a component may use. A component that breaks a rule doesn't ship.
Actions
Button, Icon button, Link, Button group
Forms
Input, Select, Combobox, Multi-select, Textarea, Checkbox, Checkbox group, Radio, Radio card group, Chip group, Toggle group, Swatch picker, Switch, Slider, Calendar, Date picker, Time slot picker, Password input, Phone input, ID code input, One-time code input, File upload, Consent
Feedback
Alert, Toast, Progress, Spinner, Skeleton, Empty
Display
Badge, Avatar, Card, Kbd, Code block, Scroll area, Resizable
Data
Table, Data list, Description list, Stat, Usage chart, Timeline, Filter bar
Commerce
Price, Plan card, Device card, Comparison table, Quantity selector, Order summary
Sign-in
Sign-in with Smart-ID, Mobile-ID and ID-card, Verification code
Marketing
Hero, Feature grid, Promotion card, Quote
Overlays
Dialog, Alert dialog, Drawer, Popover, Hover card, Tooltip, Dropdown menu, Context menu, Cookie banner
Navigation
Tabs, Accordion, Breadcrumb, Pagination, Stepper, Header, Navigation menu, Side navigation, Bottom navigation, Footer, Language switcher, Separator
AI
Message, Prompt input, Reasoning, Sources, Suggestions
The system grows one component family at a time. Each family tests one dial and ends with a pattern page: the forms ship with a loan application, with validation, across brands. Each family is its own release, and a renamed property keeps working under its old name for one more release. The first rename turned Toggle into Switch and Button Variant=Danger into Tone=Danger, because danger is a meaning, not an emphasis.
Tokens
Four collections, and components only read the last two
Figma holds 482 variables: four token collections, plus 18 for the documentation itself. Each one has its own modes, so brand, scheme and density switch independently. Every public variable carries its CSS name (var(--om-radius-control)) and a description of where it is used.
Status palettes, focus width and offset, icon sizes
Palettes, fonts, type sizes, radius, stroke, shadow, motion, dials, voice
color/* — the only colours components use
Control height and spacing
There are no component-specific tokens. Button reads radius/control, never button/radius. When a component needs to look different, it gets a new shared token instead: badges got radius/badge, checkboxes radius/inner, tall fields radius/control-multiline so a textarea never turns into a pill, and fields radius/field so Business can have pill buttons next to square-ish fields. Component-specific tokens would let brands fork single components, which is exactly the drift a brandable system is meant to stop.
Figma and code
Figma is the source of truth, and it drifted from code within a day
Storybook doesn't keep its own copy of the design decisions. A snapshot of every Figma variable is pulled into the repo, a small script turns it into CSS variables, and the React components read only those. Figma's variables API is Enterprise-only, so the snapshot is pulled through the Figma MCP server instead.
The drift showed up fast. My original dial build still had a finance brand that Figma had already replaced with another style. One day after the first snapshot, Figma had 374 variables instead of 364, and that brand's heading font had changed. Nothing was broken, but nothing told me either. It happened again when I reworked the brands: I tuned them by hand in Figma first, then had to extend the dials until the build produced the same brands and push the result back.
That is the next piece: a token check that compares the Figma snapshot with what the code builds, lists every token that differs, and says which side to fix. Discipline doesn't keep two sources in sync. A check that runs on every change does.
AI layer
Docs an agent can read, checked against the tokens
A script reads every component from Figma and writes the documentation AI tools use: one main file with the rules and every token, a list of all components with their properties, states and tokens, one guideline per component, an index for AI crawlers and a skill that tells an agent how to build and review UI with Omni.
The same script is the check. It stops when a component uses a token that doesn't exist, when a token has no CSS variable, or when an interactive component has no Focus state. Guidelines come straight from the Figma descriptions, so there is one text to keep right, not two.
Built with AI
Parallel AI sessions need shared rules as much as people do
Several Claude sessions built Omni in parallel: one on the dials and Figma variables, others on component families in Figma, one on Storybook. They shared a single context file with the status, the decisions log and a rule for each area. A session could mark a page as “in progress, don't edit” and the others respected it.
It still went wrong once. One session overwrote the dial definitions with an older copy and quietly dropped five review fixes, including the 2 px error floor and the ring radius. They were merged back the same day, and the context file gained a rule: always read the current file before writing it. Intent-only token names did their job here too. AI-written components had no pixel values to copy, so a fixed token fixed every component at once.
Working With Teams
Shared rules and one checklist make review a list, not a matter of taste
A design system works when other people can add to it without the original author in the room. Omni has the two pieces that make that possible: four component rules every component follows, and a definition of done every component passes before it ships.
-
1RequestA team needs a component or a change
-
2Rule checkName, properties and states proposed against the four rules
-
3BuildFigma and code, shared tokens only
-
4ReviewAgainst the definition of done, item by item
-
5ReleaseVersion, changelog, docs and AI layer updated
- Four component rules for names, properties, states and token levels, written once and used by Figma, code and the AI docs.
- A definition of done: follows the rules, uses shared tokens only, changes in every brand, works in light, dark and every density, meets WCAG 2.2 AA, has a Focus state, a docs page and a place in a pattern.
- Part of the list is automatic. The AI docs script stops on an unknown token or a missing Focus state, and the contrast check stops the Storybook build.
- Requests start with the rules. A team proposes the name, properties and states first, so naming arguments happen before anyone draws.
- The checklist becomes the review template in Figma and in code reviews, so every reviewer checks the same things.
- Automate more of it: token and contrast checks on every change, and visual tests for every brand in light and dark.
- Exceptions change the rules, as a new shared token or property value, never as a one-off in a single component.
Reflection
Constraints belong in shared tokens
Every rule that survived review — ring radius, checkbox corners, tall-control radius — became a shared token, not a per-component exception. That is what keeps every brand on one set of components.
Two sources drift in a day
Figma and code disagreed within 24 hours with nobody doing anything wrong. A snapshot plus an automated check is the only sync I trust.
Show range, not tints
Brands that look alike prove nothing. A brutalist brand next to a gamified one exposed the hairline-border and round-checkbox problems that one brand never would.
What's Next
- Token check between Figma and code, with a fix list per token.
AI disclaimer.
- Claude sessions built the Figma variables, components and Storybook from my direction, rules and reviews.
- This case study was drafted with Claude from my project notes.