Vectra AI · Design system · Webflow variables

Every color, size and shadow, defined once.

The brand guide turned into Webflow variables for the four breakpoints vectra.ai uses. Click any name or value to copy it, tick each variable as you add it in Webflow, and let the tests on this page confirm every color pair still passes.

VECTRAAIDesign system

Start here

Set it up in Webflow

Follow the steps in order: modes must exist before a variable can take per-mode values, and color roles point at Brand Colors. Tick each variable as you create it; your progress is saved in this browser.

Your progress

01 · Foundations

Breakpoints, names and units

Four breakpoints, five collections, one naming pattern. Typography, Layout and Effects take a value per breakpoint; the Base collection takes a value per theme.

Breakpoints

Collections

Naming and units

What can be a variable in Webflow

Bind a variable wherever Webflow allows one. The last rows can’t take variables, so their standards are typed values (listed in Motion and Component recipes).

02 · Collection: Brand Colors

The brand palette

Every color from the brand guide’s primary and secondary palettes, named by family and step. Three derived colors (marked “derived”) are mixes of two brand colors, added only where a brand color fails contrast or a lighter tint was needed.

Navy first: most surfaces
Blue-to-green gradation
A spark of bright green
White backgrounds

Color usage, as the guide shows it: primarily navy, a blue-to-green gradation, a spark of bright green and white backgrounds. Secondary colors are used sparingly.

03 · Base collection: Light and Dark modes

Color roles

Classes bind roles, never palette colors directly: text/body, not grey/500. Each role has a Light and a Dark value, so a card, button or link looks right on any section. Two section backgrounds per mode give four section looks: white, soft blue-grey, navy and ink.

How to switch a section to dark. Create a class theme-dark and, in the Style panel, set its variable mode for the Base collection to Dark. Also bind its text color to text/body and its background to surface/page: inherited text color only switches when the element that changes mode sets it again. Put the class on a wrapper (Webflow applies modes on a primary class). Use theme-light the same way for a light island inside a dark section.

04 · Brand gradients

Gradients

The guide’s three background gradients, rebuilt in CSS with color-variable stops. In Webflow: Backgrounds → Gradient, then bind each stop to the Brand Colors variable shown.

Keep text on the navy side. The green glow is for graphics, not copy: white on #1D895E is only 4.38:1, below the 4.5:1 body text needs. Place headlines and paragraphs over the navy part, as the guide’s examples do.

05 · Collection: Typography

Typography

Montserrat for every heading, eyebrow and button; Roboto Flex for paragraphs and UI text. Sizes follow the guide’s web type scale and change at each breakpoint; line heights, letter spacing and weights are the same everywhere.

Type scale by breakpoint

Preview at a breakpoint

Text styles (classes)

Create one class per style and bind these variables. Later, give the same bindings to the tags in the Style panel (Body, All H1 to H6) so plain text follows the system too.

06 · Collection: Layout

Layout and spacing

An 8-point scale (4-point half steps below 24px) for spacing inside components, plus spacing roles for everything that should breathe more on large screens: section padding, gutters, gaps and the space between text blocks.

Spacing at a breakpoint

Margins and paddings: which variable where

Two habits that keep spacing consistent. Space elements with gap on their flex or grid parent where you can (unlink row and column gap in Webflow so each can take a variable), and use only bottom margins for vertical rhythm.

07 · Collection: Effects

Radius, borders and shadows

Corners, strokes, the focus ring and five shadow levels. Webflow lets you bind every part of a shadow (Y offset, blur, spread and color), so each level is three size variables plus a color role that gets stronger on dark sections. The X offset is always 0.

Radius

Shadow levels

States: rest, hover, pressed, focus, disabled

Hover the live row to feel each one. Pressed and keyboard focus are shown statically.

All Effects variables

08 · Typed constants

Motion

Webflow can’t bind variables to transitions, so motion is a short list of values to type in the Transitions panel. Name the property you animate (color, box-shadow, transform) instead of all, which the live site uses 75 times.

Optional site-wide CSS

Paste into Site settings → Custom code → Head to honor the reduced-motion setting and make the focus ring consistent. It references Base collection names only, which Webflow keeps stable.


      

09 · Iconography

Icons

The brand’s icon set is Phosphor, Regular weight, drawn on a 32px base and exported as SVG. Non-branded icons use icon/default (Grey-800 on light). Branded icons add a spot color, icon/brand, with the rest in icon/brand-muted.

10 · Classes

Component recipes

What to bind in the Style panel for each shared class. Anything Webflow can’t bind is listed as a typed value.

11 · Tests

Accessibility and integrity tests

Computed in your browser from the tokens, every time this page loads. WCAG 2.2 AA is the pass line: 4.5:1 for text, 3:1 for large text, borders, icons and focus rings. APCA, the contrast method drafted for WCAG 3, is shown as advice only.

Color roles on every surface

Fixed pairs

Color vision

Each set is simulated for protanopia, deuteranopia and tritanopia (Machado 2009) and compared in OKLab. Status colors are hard to tell apart for some people, which is why every status pairs its color with an icon and a word.

Scale, grid and integrity

12 · Migration

The 40 live variables

The variables in vectra.ai’s Base collection today (Webflow export of Oct 30, 2026). Point each one marked “alias” at its Brand Colors match: the value is identical, so nothing changes on the site, and the brand palette becomes the single source. Keep the others until no class uses them, then delete them.

Never rename these seven. Custom code on live pages reads them by name, and Webflow doesn’t update custom code on rename: .

13 · Export

Export

Webflow has no built-in variable import. Three ways in: type values from this page; paste one collection’s CSS into the Variable Importer app (base values only, so mode cells are still typed by hand; check whether it creates folders); or load tokens.json with the Webflow Designer API or MCP.