Free, independent guides since 2010

Design

A design system for small websites

How small websites benefit from a lightweight design system: design tokens, a type scale, spacing, reusable components, documentation and keeping the site consistent as it grows.

<guide section="Design" type="article" read="1 min"/>

Large companies have design systems with hundreds of components. A small website needs a fraction of that – but the principle is just as valuable: decide once, reuse everywhere. This website runs on a compact system of a few colours, three fonts and about fifteen components.

1. Design tokens

CSS
:root {
  /* colour */
  --brand: #6e0a0a; --ink: #231a1a; --paper: #faf6f0; --line: #e3d7c9;
  /* type */
  --font-text: "Bitter", Georgia, serif; --font-ui: system-ui, sans-serif;
  --step-0: 1.1rem; --step-1: 1.3rem; --step-2: 1.8rem; --step-3: 2.6rem;
  /* space and shape */
  --space-1: .5rem; --space-2: 1rem; --space-3: 2rem; --radius: 14px;
}

Tokens are just CSS variables with clear names.

2. A small component set

  • Buttons: primary, secondary (see call-to-action buttons).
  • Cards for overviews.
  • Boxes: tip, warning, note.
  • Form fields with labels and errors.
  • Tables, code blocks, quotes.
  • Header, footer and navigation.

3. Rules in words

  • Headings in sentence case.
  • One primary button per section.
  • Images always with width, height and alt text.
  • Spacing only from the spacing scale.

4. A living style page

Create one hidden page that shows all components together. When you change a token, you see the effect everywhere at once. It doubles as documentation for designers, developers and AI assistants.

Benefits

Without a systemWith a system
Twelve slightly different greysThree named neutrals
Every new page designed from scratchNew pages assembled from parts
Inconsistent buttons and spacingA coherent, professional look
Redesigns mean rewriting everythingChange tokens, keep structure

Frequently asked questions

Is a design system overkill for a small site?

Not if you keep it small. Even five tokens and five components save time and prevent a site from slowly becoming inconsistent.

How do AI tools fit in?

Very well: give your design rules to the AI, and ask it to build new pages with your existing components only.