Style guide and design tokens, in depth
The Style guide holds every value of your site's design system: colors and their roles, text styles per screen size, spacing, corners, shadows, buttons, motion and the notes the agent builds from.
This continues How your brand looks. Open it from the Brand card: Style guide at the bottom, or Edit next to a summary in Layout. On a wide screen it opens beside the page; on a smaller one it covers the page, and Show page brings the page back.
Why tokens
Styles on your site point at the design system instead of copying its numbers. A heading set to H2 uses the H2 variable, not "52 px". Change H2 in the Style guide and every heading, card title and button that uses it follows; a raw number would stay behind and drift. The agent, builds and connected apps work from the same values, so what they make stays on brand.
The parts of the Style guide
| Part | What's in it |
|---|---|
| All colors and roles | The palette in groups, each color with its use, where it's used and its contrast. Roles say which color does which job: buttons and links (accent), page background, text, dark sections, borders |
| Text styles | Display, H1–H6 and the text sizes, with Desktop, Tablet and Mobile side by side; the fonts and their files |
| Spacing | Section spacing, page margins and content widths |
| Corners and shadows | Radii and shadows |
| Buttons | Every button variant with its colors, border, radius, padding, font, shadow, hover and sizes |
| Motion | Default motion and Reduced motion for the whole site |
| Build notes for the agent | Notes the agent reads before it builds: layout rules, decisions from the build. + Note adds one |
Every value previews on the page while you drag it and saves as one step when you let go, with a message that says what changed: "Heading 2 is 34 px on mobile · Undo".
Colors in detail
- Contrast is measured where the color is actually used for text, against the backgrounds it stands on, and shown as AA pass or fail with the ratio.
- Rename a color and the site's code is updated too: "Renamed lime to signal · 24 places in the code updated · Undo".
- A color the site doesn't use gets Remove. A color the site still uses can't be removed.
- Colors that appear in the code but aren't in the palette are listed: "3 places use colors that aren't in the palette · Use the palette for 3 exact matches".
- Any notation works: hex, rgb, hsl, oklch.
Fonts in detail
- Search about 190 popular Google Fonts, each shown in its own face; a typo gets a suggestion ("Did you mean Montserrat?").
- Upload your own:
.woff2,.otfor.ttf, up to 12 files of 8 MB. - Only the weights the site actually uses are loaded.
Classes
Elements are styled with classes in the Client-First convention, which anyone who has worked in Webflow recognises: section_pricing, pricing-card_heading, utility families like text-size-large. See The inspector in depth.
Off-system values
Values in the code that don't use the design system are flagged in plain words: "Color #111111 isn't in your palette. Closest: Ink." with where they are on the page. When a value matches a token exactly, one click switches it to the token.
Copy a brand between sites
⋯ › Copy brand from another site… takes the look, the voice and the source files of another site in the workspace. Pick the parts, Preview on this page, then Keep. It's a copy: a later change on one site doesn't reach the other. Breakpoints stay the site's own.
For developers
- The design system lives in the site's repository as
design/tokens.jsonand compiles tosrc/styles/system.css. Don't editsystem.cssby hand; it's regenerated. - The brand's texts live in
brand/and the agent's notes indesign/*.md. - A
DESIGN.mdis generated for working on the site in Cursor or Claude Code. - ⋯ › What the agent reads shows the short version of the brand that goes with every request, with Copy text.
See Project structure.