Why Your Website Needs a Style Guide
A short style guide keeps colours, type and spacing consistent as your site grows. Here's what to include, with real-world numbers and practical tips.

- Published
- Updated
- min read
- 5
Most websites don't break in a single dramatic moment. They drift. A new landing page gets a slightly different blue, a blog post uses a heading size that exists nowhere else, and the spacing between sections quietly changes from 64px to 40px. Six months later the site looks like four different companies sharing a domain.
A website style guide is the cheapest insurance against that drift. It doesn't need to be a 60-page brand bible; a two-to-six page document covering colour, type, spacing, components and tone is usually enough to keep designers, developers and content editors pulling in the same direction.
What a website style guide actually is
A website style guide is the reference document that defines how your brand shows up online: which colours are used where, which typefaces and sizes are allowed, how much space sits between elements, and how recurring components such as buttons, cards and forms look and behave. It is narrower than a full brand book, which also covers print, packaging and photography direction.
The distinction matters for scope. A print brand manual may specify Pantone references and paper stocks; a web style guide specifies hex values, CSS custom properties, font weights and breakpoint behaviour. If print and screen assets both exist, decide early which document is the source of truth for colour, because screen and print colour models behave differently and need deliberate mapping. Our guide to CMYK vs RGB colour modes explains the conversion pitfalls that catch teams out.
For most small and mid-sized organisations, the web guide is the one that gets used daily, because the website changes far more often than a brochure does.
- Scope: colour, typography, spacing, components, imagery, tone of voice
- Audience: designers, developers, content editors, external agencies
- Format: a shared doc plus design tokens or a variables file
- Length: typically 2–6 pages for a small business site
Consistency is a conversion issue, not just a cosmetic one
Inconsistent design reads as carelessness, and visitors transfer that judgement to the product or service. If the checkout button is green on one page and orange on another, people hesitate. If three heading styles appear within one scroll, the page feels assembled rather than designed. None of this shows up in a heatmap as a single dramatic drop, but it erodes trust across repeated visits.
There is also a practical cost. When a style guide exists, a new page takes hours rather than days because decisions are already made. When it doesn't, every page becomes a series of small negotiations: what shade, what size, what spacing. Teams that publish frequently feel this most, which is why editorial-heavy sites benefit from a guide even more than brochure sites do.
Consistency also makes testing meaningful. If buttons vary in colour and size across the site, you can't tell whether a conversion change came from your new copy or from the fact that the button now looks different.
| Section | What to include | Typical effort | Owner |
|---|---|---|---|
| Colour | Hex values, usage rules, contrast checks | 2–4 hours | Designer |
| Typography | Families, weights, size scale, line heights | 2–3 hours | Designer |
| Spacing | Base unit, approved multiples | 1–2 hours | Designer/developer |
| Components | Buttons, forms, cards with states | 4–8 hours | Designer |
| Design tokens | CSS variables, shared styles | 2–6 hours | Developer |
| Tone of voice | Voice principles, example phrases | 2–3 hours | Content owner |
| Imagery | Photo and illustration rules | 1–2 hours | Designer |
The five sections worth writing first
Start with colour. List your primary, secondary and neutral palette with hex values, and state where each is allowed. A workable ratio for most sites is one dominant brand colour, one accent for calls to action, and a neutral scale of four to six greys for text, borders and backgrounds. Specify text-on-background combinations and check them against WCAG contrast minimums: 4.5:1 for normal body text and 3:1 for large text and interface components.
Then typography. Name the typefaces, the weights you have licensed, and a scale of sizes with line heights. A common web scale runs from around 14–16px for body copy up to 48–64px for hero headings, with a ratio of roughly 1.25 to 1.333 between steps. State the maximum line length in characters (45–75 is the usual comfortable range) and how headings behave on mobile.
Spacing comes third: pick a base unit, commonly 4px or 8px, and express all margins and padding as multiples of it. Fourth, components: buttons, form fields, cards, navigation and alerts, each with states for hover, focus, active and disabled. Fifth, imagery and tone: photo treatment, illustration style, and a short note on voice.
- Colour: hex values, usage rules, contrast minimums
- Type: families, weights, size scale, line heights
- Spacing: base unit and approved multiples
- Components: buttons, forms, cards with all states
- Imagery and tone: photo style, voice notes
Design tokens turn the guide into something enforceable
A PDF style guide is useful for humans but invisible to code. Design tokens close that gap: named variables for colour, spacing, radius and type that live in one file and feed both design tools and the front end. A token called colour-action-primary is far more robust than #1F6FEB pasted into forty templates, because changing the brand colour becomes a one-line edit rather than a hunt.
You don't need an enterprise system to benefit. A single CSS file of custom properties, mirrored in the design tool's shared styles, covers most small business sites. The rule to enforce is simple: no raw hex values or arbitrary pixel spacing in page-level code. If a value isn't in the token set, either it belongs there or it shouldn't be used.
This is also where handover quality shows. A site delivered with documented tokens and a short guide is easier to maintain, retheme and extend. Our website handover checklist covers the files and documentation worth insisting on before final payment.
Who writes it, and when
The designer usually drafts the visual sections during the build, because the decisions are being made anyway; writing them down adds a few hours, not a new project. The developer contributes the token structure and notes on breakpoints. Whoever owns content contributes the tone-of-voice section, which is often the thinnest part of the document and the one editors actually need.
Timing matters more than length. A style guide written after launch tends to document inconsistencies rather than prevent them. Build it alongside the first two or three page templates, when patterns are still fluid, then treat it as a living document with a named owner and a review every six to twelve months.
If you work with an external designer, make the guide an explicit deliverable in the brief rather than a hopeful afterthought. Our guide to briefing a graphic designer shows how to specify deliverables so expectations are clear from day one.
Common mistakes and how to avoid them
The most frequent failure is over-engineering: a 70-page document nobody opens. Aim for something a new content editor can absorb in fifteen minutes. The second is vagueness: 'use blue sparingly' helps no one, whereas 'accent blue only on primary calls to action, maximum one per screen' is actionable.
The third is ignoring responsive behaviour. A type scale that works at 1440px may be unreadable at 360px, so define how sizes and spacing step down at your breakpoints. The fourth is letting the guide go stale: if the live site and the document disagree, people trust the site and the guide dies.
Finally, don't confuse a style guide with a contract. It sets design standards, not project scope. If you are commissioning a site, keep the two separate: scope and payment terms belong in the agreement, and our list of questions to ask your web designer before signing covers what to pin down there.
- Keep it short enough to be read
- Replace vague advice with specific rules
- Define mobile behaviour, not just desktop
- Name an owner and schedule reviews
- Keep scope and design standards separate
- A two-to-six page guide covering colour, type, spacing, components and tone prevents most design drift.
- Specify hex values, a type scale and an 8px spacing base so decisions are made once, not per page.
- Design tokens make the guide enforceable in code; ban raw hex values in page templates.
- Build the guide during the first templates and give it a named owner with an annual review.
Editor
Claire writes about design process and how clients and studios work together. She focuses on practical briefs, contracts and handover so projects run without surprises. Her articles favour checklists and plain language over jargon.


