What is a styleguide?
A single source of truth that documents how a brand should be used: logo rules, color palette, typography, voice, and the assets and constraints that bind them together.
Also known as: style guide, brand guidelines, brand book
A styleguide is the rulebook for a brand. It collects the assets and constraints that define the visual and verbal system: logo lockups and clear-space rules, the primary and secondary color palette in hex, RGB, CMYK, and Pantone, the type scale and approved font weights, photography and illustration direction, voice and tone guidance, and the layout grid that governs how compositions come together. The good ones also include explicit "do" and "don't" examples so the rules are unambiguous when a designer in a different timezone, or a marketing partner two layers down the supply chain, reaches for them.
Styleguides used to live as 80-page PDFs handed to agencies and printers. Today they are increasingly published as living digital systems: a Notion page, a Storybook instance, a Figma library, or a dedicated brand.example.com microsite that always reflects the current standard. The shift matters because identity now has to be deployed across many more surfaces (web, iOS, Android, OOH, email, social, partner integrations) and updated more frequently than the visual designers a 2010-era PDF was written for. A modern styleguide is part documentation, part design tokens, and part production-ready asset library, with each section consumed by a different audience.
For brand-data systems, the styleguide is the highest-fidelity source of brand truth. A published one carries the canonical logo files, the official color values (including the print-only Pantone and CMYK siblings that never appear in CSS), the approved typeface stack, and any usage rules the brand makes public. When no styleguide exists, the same identity has to be reconstructed from the deployed website, which is what Context.dev's Styleguide API does: faster but lossier. Deployed CSS does not carry Pantones, marketing pages typically expose one logo variant when the brand may ship five, and the rules that bind the system are nowhere to be found in rendered HTML.
In the wild
- The Mailchimp Content Style Guide published as a public web microsite covering voice, tone, grammar, and writing rules across every product surface
- A Figma library publishing logo variants, color tokens, and a type ramp that the marketing site and the React app both consume as source-of-truth design tokens
- Context.dev's Styleguide API returning a site's color mode, accent and background colors, heading and body type styles, spacing, shadows, and font files from a single domain lookup