A website design system: type, color and a grid that hold
A website design system is not a mock-up but a set of decisions written down so they cannot be forgotten: three levels of tokens, colors by role, a type scale with line heights, a modular grid on one spacing step, six states for every interactive element and a component library. The brand guidelines supply the logotype, the palette and the typeface pair; the grid, the states and the spacing live only on the site. The system works once a new block is assembled from existing parts.
- What a website design system is
- Why a site drifts apart after the third revision
- Tokens: one vocabulary instead of values in a mock-up
- Color: roles instead of shades
- The type scale: sizes and line height
- The modular grid and the spacing step
- Element states: what gets drawn besides the default
- Interface components: what a page is assembled from
- What comes from the guidelines and what lives only on the site
- How to roll it out when the site already runs
- Common mistakes
- Checklist
What a website design system is
A design system is not a mock-up and not a folder of images. It is the set of decisions about how a site looks, written down so the next person cannot read them differently: which colors exist and what each is for, which type sizes and line heights, what step the spacing uses, and which components a page is built from.

The difference from brand guidelines is practical. Guidelines cover the brand as a whole, from logotype to shopfront sign. A design system covers one asset — the site — in far more detail, down to an input field in an error state. The system takes the constants and builds out the rest.
Scope follows the site. A landing page needs a palette with roles, three sizes, a spacing step and five components. A catalog needs thirty to forty parts, and there the system becomes a file in the editor.
Why a site drifts apart after the third revision
The sequence is the same almost everywhere. The site launches: one designer, one mock-up, everything agreed. A month later a promotion appears, drawn by someone else. A month after that a seasonal section arrives with a button on a slightly different shade — the value was never written down, so the color was picked off a screenshot. By the third revision the site holds four greens, three heading sizes and two gaps between blocks.
The cause is not the people. The decisions lived in a mock-up, and a mock-up says what this page looks like, not which green is ours and where it belongs. Every new contributor guesses, and each guesses differently.
The bill arrives late. A patchy page reads as unfinished, and every edit starts with archaeology. On a narrow screen the mismatch shows first, which is why the mobile version is usually where everyone finally sees the drift.
Tokens: one vocabulary instead of values in a mock-up
A token is a name for a value: a name for the accent instead of a raw color code, a name for the spacing step instead of “24 pixels”. The benefit is that the value lives in one place — change it there and it changes everywhere that points at it.
Tokens are easiest to keep in three levels, where each points at the level above rather than at a raw value.
Level one holds base values: the whole palette, the whole type scale, the radii, the steps. The names mean nothing on their own — this is storage. Level two is semantic: page background, body text, secondary text, border, accent, error. It is what makes a dark theme possible without rewriting a component.
Level three is component tokens: button fill, input height, card radius. They change most often and the build reads them. For a landing page two levels will do. For a catalog the third level saves weeks: it separates changing a button from changing a brand.
How to read the token diagram: if the build points straight at a base token anywhere, that is where the system cracks — and finding the spot later costs more than forbidding such references outright.
Color: roles instead of shades
A brand palette answers which colors a company owns. A site needs a different answer: what color is the text on an accent button, and what happens to that button on a dark surface. So colors are described by role: background, surface, body text, secondary text, border, accent, text on accent, success, error, warning.

Contrast is counted separately. The accessibility threshold is 4.5:1 for body text and 3:1 for large type — a measurable figure any browser tool checks. A brand color often fails it: it was made for a sign, not for a paragraph. The answer is a separate token for text, not a new brand.
The identity survives that. In the work for the premium supermarket Food Story the palette is drawn from bread and berries, next to emblems and illustrations. On a site such colors work as large fields and photography, while text, borders and states need their own working values.
The type scale: sizes and line height
The typeface pair comes from the guidelines. The scale does not — it is built for the site, so sizes stop being chosen by eye. Take the base size of body text and a ratio, and count the rest from it.
step size = base size × ratio^step number
A ratio near 1.2 gives a calm scale, near 1.33 a contrasting one. Five or six steps are enough: beyond that the eye stops telling them apart. The table is a guide for desktop; on mobile the scale compresses, largest size first.
| Step | Size | Line height | Where it is used |
|---|---|---|---|
| Heading 1 | 44 | 1.1 | The first screen, once per page |
| Heading 2 | 32 | 1.15 | Block headings |
| Heading 3 | 24 | 1.2 | Subheadings, card titles |
| Body | 17 | 1.5 | Paragraphs, descriptions, lists |
| Small | 14 | 1.4 | Captions, footnotes, legal lines |
How to read the type scale: the numbers are a guide, not a standard. Check two rules instead: neighboring steps are told apart at a glance, and body text lines stay near 75 characters.
Line height moves against size: tight on headings, generous in body text. That is readability, not taste. In the Liza.org identity the typography and the presentation templates sit in a section of their own, next to the logotype and the palette; a site follows the same logic with more steps.
The modular grid and the spacing step
A modular grid is columns, gutters and margins. Twelve columns usually cover a site: twelve divides by 2, 3, 4 and 6, so almost any block lays out without a remainder. Content width and margins are set separately for desktop, tablet and phone — three decisions, not one stretched.
The other half of a grid is the vertical step. Every gap is a multiple of one number, usually 4 or 8 pixels. There is no gap of 13 or 27, there is 12, 16, 24, 32. That removes most arguments about layout.
The detail people miss is padding inside a component against spacing around it. The inside belongs to the component, the outside to the page grid. Mix them up and a card looks different in every block.
Element states: what gets drawn besides the default
A component is behavior, not a picture. Any interactive element has at least six states, and each has to be drawn, or the browser supplies the rest on its own terms.

Focus is the costliest omission. Without it a form cannot be completed from the keyboard — how inquiries are filled in on a laptop and how screen readers work. The browser ring is often removed for spoiling the look, with nothing put in its place.
Loading comes second. A button that does not change after a click invites a second click, and the CRM receives duplicates. More on that in the piece on website forms, which also covers validation errors and their own color token.
Interface components: what a page is assembled from
A component is a repeating part of a page with described behavior: button, input, select, card, table, modal, breadcrumbs, pagination. A library is a list of those parts with their variants and states, not a gallery of blocks.
The minimum set for a services site: a button in three variants, an input, an input with an error, a card, an accordion, a form, a notification. After that the library grows by fact — a new block either uses what exists or adds one described part.
That is how a system reaches the site rather than staying in a presentation. In the brand graphics for the Church of St Antipas the mark, the sticker packs and the posters were built together with the website of its course — print and screen from one set.
What comes from the guidelines and what lives only on the site
The constants travel from the guidelines to the site: the logotype with its versions and clear space, the palette, the typeface pair, the graphic device, the photographic style, the tone of the copy. These are what the brand is recognized by. Without guidelines the system plays their part, and print and screen drift apart on color.
What lives only on the site: the type scale with its line heights, the grid and the spacing step, element states, the component library, interface icons, the rules for forms and errors, behavior on scroll. None of that belongs in guidelines — it is the medium, not the brand.
The border is arguable and better drawn in advance. The pattern of the Prospekt 82 residential quarter is described in the identity, but its density on the first screen, its behavior on scroll and its phone version belong to the site design system.
How to roll it out when the site already runs
Rebuilding everything at once is rarely necessary. The order has four steps. First, an inventory: collect the colors, sizes, gaps and buttons actually used across the pages. The list almost always runs several times longer than expected, and that is the problem stated in figures.
Second, reduce: pick one of the four greens, keep two heading sizes, round the gaps to the step. Third, name: create the tokens and move the styles onto them, color and type first. Fourth, fix the rule — a new part enters the library before it reaches the build.
The order holds on a new build too. On the landing page for the Edicon residential complex the page was put together alongside the messenger funnel and inquiry tracking, not apart from them. For the visualisation studio Duende the site was built inside one system: positioning, site, channels, order tracking, reporting.
Common mistakes
- The system is drawn but never named. Three buttons with neither names nor values. The build picks colors off the screen and the drift starts again.
- Tokens named after a shade, not a role. A name like “green-600” breaks on the day the accent turns blue.
- A scale of nine sizes. The difference between neighboring steps falls below what the eye resolves, and everyone picks their own.
- Gaps that are not multiples of the step. 13, 18, 27 — and not one gap on the page matches another.
- Only default states drawn. Focus, disabled and loading are left to the browser, and the form looks foreign on its own site.
- A library without an owner. The file exists, nobody updates it, and within six months people stop opening it.
- A system standing in for a conversion question. A tidy grid is no substitute for A/B tests.
Checklist

- The palette is described by role, not as a list of shades.
- Body text contrast is measured and clears the threshold.
- The type scale is counted from a base size, six steps at most.
- Line height is set for every step separately.
- The grid is described for desktop, tablet and phone.
- Every gap is a multiple of one step.
- Six states are drawn for every interactive element.
- A component library exists and has an owner.
- It is settled what comes from the guidelines and what is the site alone.
- Tokens are named by meaning, and the build points at them.
- A new part is described before it reaches the build.
Numbers from our projects
A landing page; a multi-page site starts from $2,000
Tokens: base values, semantic roles, component parameters
The minimum for any interactive element, from a button to an input
Short answers
How does a design system differ from brand guidelines?
Guidelines describe the brand as a whole: logotype, palette, typefaces and assets from a business card to a shopfront sign. A design system describes one asset — the site — in more detail: the type scale, the grid, element states, the component library. The system takes the constants and builds out what guidelines never cover.
Does a landing page need a design system?
It does, in short form. One page needs a palette with roles, three or four type sizes, a spacing step and five components with their states. That is half a day of work, and it pays back on the first revision: a promotion or a new block can go to another person without producing a third shade of button.
What is a token and why does it need a name?
A token is a name for a value: a color, a type size, a radius, a spacing step. The name exists so the value lives in one place. An edit goes there and spreads across every screen at once. Without names each value has to be hunted through mock-ups and styles, and some copies always stay unnoticed.
How many type sizes should a scale have?
Five or six steps cover a site of any size: one large heading, two levels of subheading, body text and a small size for captions and footnotes. Nine steps are worse than six — neighboring sizes stop being told apart, the choice between them becomes taste, and the mismatch returns within a couple of revisions.
Why are gaps multiples of 4 or 8 pixels?
So that choosing a gap stops being a question. When only 8, 12, 16, 24 and 32 exist there is nothing to argue about, and layout recalculates predictably across screen sizes. A step of 4 leaves more freedom on small elements, a step of 8 is stricter and brings a page to order faster.
Which states are mandatory on a button?
Default, hover, pressed, focus, disabled and loading. The first three are drawn almost always, the other three are usually left out. Focus carries keyboard use and screen readers, the disabled state carries clarity, and the loading state absorbs repeat clicks, which are where duplicate inquiries in a CRM come from.
What if the brand color fails the contrast check?
Do not change the brand, separate the roles. The brand shade stays for fields, illustrations and large elements, while body text gets a token of its own — most often a darker step of the same color. The threshold is 4.5:1 for text, and 3:1 is enough for large type.
How many components does a library need?
As many as actually repeat on the site. For a services site that is usually seven to ten parts: a button in three variants, an input, an input with an error, a card, an accordion, a form and a notification. A catalog needs four times more. The library grows by fact, not in advance.
Who keeps the design system after the site ships?
It needs an owner — a person answerable for the version. Usually that is a marketer or a product manager on the client side, sometimes the agency on retainer. The job is not to draw but to see that new blocks enter the library and that the live site does not drift away from the description.
What does a site with a design system cost?
Our guide prices: a landing page from $1,200, a multi-page site from $2,000. Inside that work the design system is not a separate line, it is part of the assembly. Built separately for an existing site, the scope depends on how many components and colors have piled up there.
The next step
Services on this topic
Start with a baseline review
We review your current ads, website, CRM and the path from lead to money. The deliverable is a document: where money is lost and which stage to start from. We reply within one business day.