How I Set Up the Design System for Your Project
After a year of building, many apps have six kinds of button and nobody knows which one is right. Every new screen adds another.
Your users feel it. They have to learn each screen again, and they stop trusting what a colour or a button means.
The fix is a design system: the set of rules your app follows. Which button means “most important”. What red means. How big body text is. What happens when a list is empty. This post explains how I build one with you.
What I found on a SaaS I built
A job-alert app I built grew fast and its screens drifted apart. Before I wrote any rule, I counted:
- 34 buttons in six different styles, with no rule for which one meant “most important”.
- A delete button that fired on the first click. No second step, no undo.
- The brand green also meant “won”. The same colour said “click here” and “this job was won”.
Nobody could tell which version of a pattern was right, so each new screen added another one.
After: the app has written rules, decided one section at a time. Filled green is now kept for the main action only. Status uses a soft label with words, not colour alone. Deleting asks you to confirm first. Today the system has 19 decided sections, and each one gives a single answer to a question that used to get a new answer on every screen.
You can see two finished systems on the design systems page.
I start with your users, not colours
Before any colour or font, I ask a few questions, one at a time:
- Who uses the app, now and later?
- What is the one job it must do best?
- Do people use it all day, or drop in once a week?
- Desktop, phone, or both?
- Calm tool or bold and punchy?
Your answers become a one-page brief. Every later choice gets checked against it. A tool people stare at all day needs calm colours and dense tables. A tool people open once a week needs big, clear next steps.
Then I count what you already have
Next I count what your real app does today, like the count above. How many button styles? How many shades of grey? How many ways to say “delete”?
The count shows two things. What is already right, so I keep it. And what breaks, so I fix it.
I don’t start from a blank page. If your app already has a good habit used in most places, the first option is to name it and make it the rule.
One section at a time, in order
I decide the system in sections. Later sections build on earlier ones:
- Colours
- Buttons
- Forms
- Status labels
- Cards and surfaces
- Typography
- Feedback: dialogs, messages, empty and loading states
- Tables and lists
- Spacing and layout
- Icons
- Charts
- Motion
- Wording: button text, error messages, empty states
Colours come first because almost everything else uses them. Wording comes last because it sits on top of all of it.
If your app has no charts, I skip charts. If it needs something the list doesn’t cover, like emails or a “type DELETE to confirm” step, I add a section. That is how the job-alert app got to 19.
How one section gets decided
Every section goes through the same five steps:
- Research. Published guidance from teams who have tested this at scale, such as Nielsen Norman Group, Baymard, IBM Carbon and Google Material.
- Count. What your app does today for this one section.
- Options. Two or three real options side by side, using your app’s own screens and words. You choose by looking, not by reading a description.
- You pick. I give a recommendation and the reason. The choice is yours.
- Write it down. The pick becomes a written rule, with the research and the reason next to it. Then your app is updated to follow it.
Then the next section. One at a time, so each decision gets real attention.
One home for the rules
The rules live on a small website of their own. Every rule is shown live, in light and dark mode, with your app’s real content. Not placeholder text.
Your app copies the rules from that site, never the other way round. So there is always one answer, in one place, and you can open it any time to see every decision and why it was made.
Keeping it true
A rule nobody checks fades. So I add three guards:
- Shared parts. The rule lives inside the button, the label, the form field. A developer who uses the shared button gets the right style without thinking about it.
- A plain script. It searches the code for the obvious breaks, like a colour typed by hand. No AI, so it is fast and never guesses.
- A drift check. AI reads the app against the written rules and lists what drifted, with the fix for each. It catches what a script can’t see, like two “most important” buttons side by side.
When your app needs something new, it goes through the same loop. If you build a second app, it uses the same rules and only opens a new decision when it has a real need. For a closer look at each tool, read The Design System Skills.
Questions to ask before anyone touches your design
Ask these of your team, or of anyone you hire:
- How many button styles do we have, and which one means “most important”? A number and one clear answer is good.
- Does any colour mean two things? Brand colour as a status colour is the most common mix-up.
- What happens when someone clicks delete? It should never be gone on one click.
- Where are the rules written, and who decides a new one? “Nowhere” means every screen guesses.
- What stops a new screen from breaking the rules? Shared parts and an automatic check, not “we look at it”.
You don’t need to know design words or write any rules. I do the count, the research and the options. You look at your own screens and pick.
The short version
A design system is your app’s written rules, decided one section at a time from your users, a count of what you have, published research and real options on your own screens. You pick every rule. Shared parts and automatic checks keep it true. On a job-alert SaaS I built end to end, 34 buttons in six styles now follow one written button rule.
Which screen in your app looks least like the others?
- Rules of record: one
*-system.mdfile per section in a separate design-system repo, rendered live in light and dark. The app keeps copies and a sync check fails when its shared components differ from the repo. - Section loop: run by the custom Claude Code skill
/design-system-section. Two to four web searches with every source linked, an audit with file and line for each case, rendered options, then a hard stop until the pick. - Enforcement: shared primitives carry the rule. A regex guard (
npm run design:guard, 19 checks on the job-alert app) blocks hand-typed colours, banned font weights and raw tables. The/design-driftskill does a grep pass plus an AI read, sorted by section. With--fixit applies only mechanical fixes, on a separate branch. - Research numbers are kept next to the rule they shaped, such as how much faster a form gets with labels on top or the smallest readable text size.
More Posts
All posts
November 25, 2026
Why Your App Went Offline on Vercel's Free Plan (and How to Stay Under the Limits)
Vercel's free plan pauses every site on the account when one monthly limit runs out. What the limits mean in plain words, what uses them up, and the fixes, from a real case.
November 24, 2026
Why Your Project Starts With a Small Paid Step: Requirements and an Estimate Before the Build
A price given before the work is measured is a guess, and someone pays for it later. What a small paid first step gets you: written decisions, a cost range and a time range, and the choice to stop there.