Book a callGitHub224

Guides14/14

What an AI design system generator should do

Updated · Suggest a change

A useful AI design system generator leaves you with rules you understand and files your code can use, not only a nice palette. A design system is the rules for how your app looks: colors, text sizes, spacing, corners and buttons.

OpenDesigner is a free, open-source one. It asks a few questions, recommends sourced defaults, checks accessibility with fixed rules, and writes down why each choice was made. It doesn't draw screens or make logos.

What it should do

Look before it asks. It reads your CSS, Tailwind config, package.json, token, logo and font files first, and skips questions they answer.

Ask only what only you can answer. The first pass is up to five questions: what you are making, who it is for, where it runs, how it should feel, and your brand color or logo. Then you can stop, or zoom into one area such as color or type.

Recommend one answer, with its reason. The defaults rest on more than 500 Decision Cards, each covering one design decision with logged sources or marked as an inference. You can always answer in your own words, or say "just pick".

Do the math in code, not in the chat. A Python engine works out the color ramps, type and spacing scales, contrast and every export. The same answers give the same tokens: one command run twice on 2026-10-15 gave identical files.

Check accessibility with fixed rules. Every system gets WCAG 2.2 AA text contrast, 3:1 contrast for borders and focus rings, minimum target sizes (24 CSS px on the web, 44 pt on iOS, 48 dp on Android), a focus ring and a reduced-motion mode. OpenDesigner checks every text, border, icon and focus-ring color pair your tokens promise, in light and dark mode, including text on hover and pressed fills, and a failing pair stops the build. That is a floor, not a certificate: automated checks catch only part of WCAG, so test with real people too.

Write down why. opendesigner/decisions.md records every value and how it was set: chosen by you, a default you confirmed, delegated to the AI, assumed, or taken from a reference. Entries are only added, never edited, so a later session can't quietly undo a choice.

Ask a person for what a person should make: the logo, icons, illustration, photos, brand typeface and voice. Anything missing is marked "Not enough information". It never fakes a logo, and never copies another brand's name, logo, exact color or typeface.

It makes
  • DTCG 2025.10 tokens
  • CSS variables and a Tailwind v4 theme
  • Swift and Compose files, Figma variables
  • DESIGN.md in plain words
  • A decision log with every reason
  • An overview page of the whole system
contrast checked
It asks you for
  • What you're making and who it's for
  • How it should feel, in 2 or 3 words
  • Your brand color or logo
  • Icons, illustration and photos
  • Your brand typeface and voice
Not enough information
It isn't
  • A canvas that draws screens
  • A logo or illustration maker
  • A hosted service with an account
  • A replacement for designers or user testing
What OpenDesigner makes, what it asks a person for, and what it isn't. Anything only you can give stays marked "Not enough information" on the overview page until you give it.

What OpenDesigner isn't

  • A canvas tool. It writes the rules, and your AI builds the screens with them. Figma variables are one of its exports.
  • A logo or illustration maker. A separate skill finds open-licence illustrations and recolors them to your tokens.
  • A hosted service. There is no account. The engine runs on your computer, or in Claude's code sandbox in the Claude app.
  • A replacement for designers or user testing. It does the repetitive system work, not the judgment.

Compared with a theme generator

A theme generator turns a color or two into a theme for one component library. If that is all you need, it's a quick, good tool. OpenDesigner works one step earlier.

A theme generatorOpenDesigner
Starts fromA color or twoWho the app is for, where it runs and the accessibility level you need
WritesA theme for one component libraryTool-neutral DTCG tokens, CSS variables and a Tailwind v4 theme
Records whyNoEvery choice, with its reason

Where each one starts and what it leaves you with.

If your components expect their own variable names, you point those names at the tokens once. We haven't tested that with a specific component library yet.

Today, and not yet

Today: nine skills, the engine, every export, and an overview page of your whole system.

Not yet:

  • Clicking choices inside your AI tool (planned in issue #20). Today choices are HTML pages, artifacts, text, or your tool's own question buttons.
  • More components on the overview page. It draws buttons, a text field and a card, and the component library has 82 you can add.
  • React Native or Flutter exports.
  • Watched user trials. "About 3 minutes" for the first pass is a design target, not a measurement.

Next