Foundations Lab

Design System Tweaks

Tweak existing tokens, check the impact on real components and export a patch to fold back into the design system.

0 changesLocal preview
The overrides live in your browser.New tokens stay out of this screen; the generated patch only changes variables that already exist in globals.css.

Editing

Tokens by foundation

Canvas

Base background of every page.

--bg-canvas
preview
--bg-canvas

Surface

Bands, neutral areas and secondary backgrounds.

--bg-surface
preview
--bg-surface

Raised

Cards, panels and raised surfaces.

--bg-raised
preview
--bg-raised

Muted

Low-emphasis neutral fills.

--bg-muted
preview
--bg-muted

Inverse

High-contrast surface against the canvas.

--bg-inverse
preview
--bg-inverse

Hover

Hover state of interactive items.

--bg-hover
preview
--bg-hover

Selected

Persistent selected state.

--bg-selected
preview
--bg-selected

Primary text

Headings, commands and primary content.

--fg-primary
preview
--fg-primary

Secondary text

Descriptions and reading metadata.

--fg-secondary
preview
--fg-secondary

Tertiary text

Eyebrows, captions and supporting information.

--fg-tertiary
preview
--fg-tertiary

Muted text

Supporting text at the lowest legible emphasis.

--fg-muted
preview
--fg-muted

Inverse text

Text used on inverse surfaces.

--fg-on-inverse
preview
--fg-on-inverse

Subtle border

Quiet separators and internal divisions.

--border-subtle
preview
--border-subtle

Default border

Outline of cards, inputs and controls.

--border-default
preview
--border-default

Strong border

Active states or structural contrast.

--border-strong
preview
--border-strong

Focus ring

Focus ring for keyboard navigation.

--ring-focus
preview
--ring-focus

Brand

Primary action and brand accent.

--accent-brand
preview
--accent-brand

Brand hover

Hover state of the brand accent.

--accent-brand-hover
preview
--accent-brand-hover

Success

Completed, positive and confirmed states.

--accent-success
preview
--accent-success

Danger

Destructive states, critical states and errors.

--accent-danger
preview
--accent-danger

Warning

Pending states, alerts and review.

--accent-warning
preview
--accent-warning

Preview

Components in context

Light

Preview

Agent orchestration

Beta

Simulate how the foundations react across surfaces, text, borders, actions, states and elevation.

Pipeline

Setup quality

Coverage72%
Pending3 items
Preview on
Local override applied to the current session.
Brand
var(--accent-brand)
Success
var(--accent-success)
Warning
var(--accent-warning)
Danger
var(--accent-danger)