Building a Design System: From Button Color to Brand Language

In February we took over a mobile app that had been live for six years. The previous team had disbanded, and documentation was next to nonexistent. As our first task we took a UI inventory and counted: the app used 34 different shades of blue, 17 different button styles and 9 different type scales. The same "Save" button had corners rounded at 4 pixels on one screen and 12 pixels on another. Nobody had bad intentions; it's just that for six years, every new feature had been designed without looking at the one before it.

This picture is nothing new to us. When people hear "design system," they think of the hundreds-of-pages guidelines of big corporations, but the real point is much simpler: not making the same decision twice.

Thirty-Four Blues Don't Pile Up in a Day

Inconsistency doesn't start with a dramatic mistake. A designer eyeballs the primary blue on a rushed screen, a developer gets one character wrong while copying the color from Figma by hand, someone asks for "a slightly more vivid blue" for a campaign and that blue becomes permanent. Every step is innocent; the total is 34 shades.

Users don't notice these shades one by one, but they feel the sum: the app looks "makeshift" and doesn't inspire trust. The real bill, though, is paid by the team. On the project we took over, a simple color change request — updating the brand blue — had been priced by the previous team as three weeks of work. Three weeks! Because every place the color appeared had to be found by hand. On a project with a design system, this is a one-line token change.

What We Call a Token Isn't a Color; It's a Decision

When building the system, the first layer was design tokens. The token concept sounds technical, but its essence is this: instead of saying "this button is blue," you say "this button uses the primary action color." The color may change tomorrow; the decision — the decision that the primary action has a single, consistent color — is permanent.

We keep tokens in three layers: the raw palette (like blue-600), the semantic layer (primary-action, error, warning) and the component layer (button-background, button-text). On the Figma side we manage these with variables; on the code side we put them into the theme file under the same names. That way, the name the designer sees in Figma and the name the developer writes in code are exactly the same. The "which gray is this?" question in handoff meetings became history on this project; I'm not exaggerating, it saved at least an hour per sprint.

A three-layer token structure: the component layer on top, the semantic layer in the middle and the raw palette at the bottom.
The color may change tomorrow; the decision is permanent.

The same logic applies to spacing, corner radii, shadows and typography. We reduced the 9 type scales to a single 5-step scale. Here's the interesting part: no user said "the text has changed," but comments like "it looks more put-together" started coming in on their own in the in-app satisfaction survey.

A Component Library Doesn't End in Figma; It Ends in Code

There's a trap we see often in the industry: the team prepares a flawless UI kit in Figma, everyone's happy, and then the code side never reflects that kit. A design system isn't a Figma file; the Figma file is just the system's shop window.

In our approach, every component has two identities: the design component in Figma and its counterpart in code. If the button has three sizes and four states in Figma, the button component in code takes the same three sizes and four states as parameters — nothing missing, nothing extra. To ensure this match, the designer and the developer take the component inventory together. The developer has the authority to say "nobody uses this variant, let's delete it"; the designer has the authority to say "I don't see this state in the code, add it." (This mutual veto sounds like a recipe for conflict on paper; in practice it does the exact opposite, making both sides genuinely look at each other's work.)

On the project we took over, we cut the 17 button styles first to 6 and, three months later, to 4. New feature development slowed down a bit in the first sprints — we told the client that up front — but from the third month on, screen development time dropped by 40 percent on average, because screens are now built from ready-made components.

Moving a Live Product to a System Without Stopping It

The app we took over was used by tens of thousands of people a day; "let's stop for three months and rewrite everything" was not an option on the table. We'd never recommend that to any client anyway — in our experience, big-bang migrations either stall halfway or double the budget.

Instead, we followed an incremental strategy. First we laid the token layer underneath the existing code: not a single pixel of the app's appearance changed, but the 34 blues were mapped in the background to 6 semantic names. This step is invisible to users but delivers value to the team immediately; at the very least, every newly written screen is now born systematic. In the second step we set the "convert the screen you touch" rule: whichever screen you go into for a feature or a bug fix, you leave it having moved it onto the system. In the third step we deliberately reworked the five most-used screens — the screens carrying 70 percent of the traffic according to the inventory data.

By the end of six months, 80 percent of the app by screen count had moved to the system, and the product roadmap never stopped during that time. The remaining 20 percent are the settings and terms pages that get opened once a month; they're in the queue, and frankly, we're not in a hurry.

Incremental migration: the token layer is laid down, the screen you touch is converted, and the five most-used screens are reworked.
Big-bang migrations either stall halfway or double the budget.

The unsung hero of this migration was the inventory itself. When you tell a client "let's build a design system," they often hear an abstract expense; when you show them a single page with screenshots of the 34 blues lined up side by side, the debate is over. A picture of the problem is always more convincing than a description of it.

How Much System Does a Five-Person Team Need?

To those who've read this far and are thinking "our team is three people, this is too heavy for us," you have a point. The dose of a design system is adjusted to the team. Google's Material Design feeds hundreds of products; it's enough for your system to feed a single product.

The minimum package we recommend for small teams is just this: a color palette with semantic names, a single type scale, a spacing ruler and the five or six most-used components. That much can be set up in a week and prevents 80 percent of inconsistency. The rest — a documentation site, versioning, a contribution process — gets added as the product and the team grow. The right time to grow the system is the moment you hear the same question a second time: if "what did our secondary button look like again?" is asked twice, it's time to put the answer somewhere in writing.

The minimum design system package for small teams: a color palette, a type scale, a spacing ruler and five or six components.
That much can be set up in a week and prevents 80 percent of inconsistency.

Then there's the matter of maintenance. An ownerless system acquires the 35th shade of blue in its inventory within six months. On our projects the system has an owner — usually a two-person "system watch" made up of a designer and a developer — and at the end of every sprint, changes that want to enter the system go through this pair's approval.

If you have an interface that has drifted apart over the years and you don't know where to start, the first step could be asking us for an inventory study; write to us through our contact page, and let's count together how many blues your current app has. Sometimes the result is convincing all on its own.