v1.3.0 28

Colors

The palette scales and the semantic roles built on them.

Hover a swatch for its HEX, RGB and HSL values. Click it to copy the HEX.

Grey Scale

Neutral gray with a subtle blue-violet tint in the mid-range. Same eleven-step ladder as the accent scales, bracketed by pure white (0) and black (1000).

Generic

--vt-generic-*
0
1000

Grey

--vt-grey-*
50
100
200
300
400
500
600
700
800
900
950

Accent Colors

Full scales for brand, success, info, error and warning states.

Green

--vt-green-*
50
100
200
300
400
500
600
700
800
900
950

Blue

--vt-blue-*
50
100
200
300
400
500
600
700
800
900
950

Red

--vt-red-*
50
100
200
300
400
500
600
700
800
900
950

Orange

--vt-orange-*
50
100
200
300
400
500
600
700
800
900
950

Yellow

--vt-yellow-*
50
100
200
300
400
500
600
700
800
900
950

Design Tokens

56 roles of the Default theme. "auto" is derived from the fill.

Role Light Dark Utility Actions
Text and icon hierarchy

Primary text

--vt-foreground-primary

grey-950
grey-50
text-foreground-primary
Primary text and icons — page headings and body copy that must read at full contrast.

Secondary text

--vt-foreground-secondary

grey-800
grey-200
text-foreground-secondary
Secondary text such as labels, section headings and active navigation.

Muted text

--vt-foreground-muted

grey-600
grey-400
text-foreground-muted
Muted but readable text and icons — helper copy, captions, timestamps, placeholders and table headers.

Disabled text

--vt-foreground-disabled

grey-500
grey-600
text-foreground-disabled
Text and icons of disabled controls only. Use foreground-muted for readable hints, placeholders and timestamps.
Static backgrounds

Page background

--vt-surface-page

grey-50
generic-1000
bg-surface-page
The page itself — the ground every card and panel sits on.

Card surface

--vt-surface-card

generic-0
grey-950
bg-surface-card
Card and panel surface, one step forward from the page.

Subtle surface

--vt-surface-subtle

grey-100
grey-900
bg-surface-subtle
A quiet static surface — striped cells and inset wells. Filled neutral actions use neutral-fill and its states.

Moderate surface

--vt-surface-moderate

grey-200
grey-800
bg-surface-moderate
A moderately emphasized static surface — muted chips and skeleton blocks.

Strong surface

--vt-surface-strong

grey-300
grey-700
bg-surface-strong
The strongest static neutral surface — filled avatars and scrollbar thumbs. Pressed neutral actions use neutral-fill-pressed.
Strokes, dividers and focus

Standard border

--vt-border-default

grey-200
grey-900
border-border-default
Standard border and divider — card edges, table rules, input outlines.

Prominent border

--vt-border-strong

grey-300
grey-800
border-border-strong
Prominent border — hovered inputs, emphasized cards, the edge that must be seen.

Focus ring

--vt-focus-ring

blue-500
blue-400
—
The keyboard focus ring. Blue by convention, so it stays recognizable in any theme.
Secondary buttons

Neutral fill

--vt-neutral-fill

grey-50
grey-900
bg-neutral-fill
Filled neutral actions — secondary buttons. Independent of static surfaces, even when their colors match.

Text on neutral

--vt-on-neutral

grey-950
grey-50
text-on-neutral
Text and icons on enabled neutral actions, including hover and pressed states.

Hover

--vt-neutral-fill-hover

grey-100
grey-800
bg-neutral-fill-hover
Neutral action under the cursor. Authored separately in light and dark mode.

Pressed

--vt-neutral-fill-pressed

grey-200
grey-700
bg-neutral-fill-pressed
Neutral action while pressed; not a persistent selected state.

Disabled

--vt-neutral-fill-disabled

grey-50
grey-900
bg-neutral-fill-disabled
Fill of an unavailable neutral action. Its label uses foreground-disabled.
The product accent

Brand fill

--vt-brand-fill

brand-500
brand-500
bg-brand-fill
The solid brand fill — primary buttons, checked boxes, active states, the brand mark.

Text on brand

--vt-on-brand

auto
auto
text-on-brand
Text and icons ON the solid brand fill — a primary button label, the checkmark inside a checkbox.

Hover

--vt-brand-fill-hover

auto
auto
—
The brand fill under the cursor — one step along its own scale.

Pressed

--vt-brand-fill-pressed

auto
auto
—
The brand fill while pressed — two steps along its own scale.

Disabled

--vt-brand-fill-disabled

auto
auto
—
The brand fill on a control that cannot be used.
The info state

Info fill

--vt-info-fill

blue-500
blue-500
bg-info-fill
The solid info fill — informational banners and badges. Also the focus color by convention.

Text on info

--vt-on-info

auto
auto
text-on-info
Text and icons ON the solid info fill.

Info tint

--vt-info-surface

blue-50
blue-950
bg-info-surface
The quiet info tint — the ground behind an informational message.

Info border

--vt-info-border

blue-200
blue-800
border-info-border
The border of an informational message or badge.

Info text

--vt-info-text

blue-600
blue-400
text-info-text
Readable info text and icons on an info surface.

Hover

--vt-info-fill-hover

auto
auto
—
The info fill under the cursor.

Pressed

--vt-info-fill-pressed

auto
auto
—
The info fill while pressed.

Disabled

--vt-info-fill-disabled

auto
auto
—
The info fill on a control that cannot be used.
The success state

Success fill

--vt-success-fill

green-600
green-600
bg-success-fill
The solid success fill — confirmation banners, positive badges, completed progress.

Text on success

--vt-on-success

auto
auto
text-on-success
Text and icons ON the solid success fill.

Success tint

--vt-success-surface

green-50
green-950
bg-success-surface
The quiet success tint — the ground behind a success message, not a solid fill.

Success border

--vt-success-border

green-200
green-800
border-success-border
The border of a success message, badge or highlighted row.

Success text

--vt-success-text

green-600
green-400
text-success-text
Readable success text and icons on a success surface.

Hover

--vt-success-fill-hover

auto
auto
—
The success fill under the cursor.

Pressed

--vt-success-fill-pressed

auto
auto
—
The success fill while pressed.

Disabled

--vt-success-fill-disabled

auto
auto
—
The success fill on a control that cannot be used.
The warning state

Warning fill

--vt-warning-fill

orange-600
orange-600
bg-warning-fill
The solid warning fill — caution banners, pending badges.

Text on warning

--vt-on-warning

auto
auto
text-on-warning
Text and icons ON the solid warning fill. Its color follows the fill: white while white stays readable on it.

Warning tint

--vt-warning-surface

orange-50
orange-950
bg-warning-surface
The quiet warning tint — the ground behind a caution message.

Warning border

--vt-warning-border

orange-200
orange-800
border-warning-border
The border of a warning message, badge or highlighted row.

Warning text

--vt-warning-text

orange-600
orange-400
text-warning-text
Readable warning text and icons on a warning surface.

Hover

--vt-warning-fill-hover

auto
auto
—
The warning fill under the cursor.

Pressed

--vt-warning-fill-pressed

auto
auto
—
The warning fill while pressed.

Disabled

--vt-warning-fill-disabled

auto
auto
—
The warning fill on a control that cannot be used.
The danger state

Danger fill

--vt-danger-fill

red-600
red-600
bg-danger-fill
The solid danger fill — destructive buttons, error banners, invalid field outlines.

Text on danger

--vt-on-danger

auto
auto
text-on-danger
Text and icons ON the solid danger fill.

Danger tint

--vt-danger-surface

red-50
red-950
bg-danger-surface
The quiet danger tint — the ground behind an error message.

Danger border

--vt-danger-border

red-200
red-800
border-danger-border
The border of an error message, an invalid input, a destructive confirmation.

Danger text

--vt-danger-text

red-600
red-400
text-danger-text
Readable error text and icons on an error surface.

Hover

--vt-danger-fill-hover

auto
auto
—
The danger fill under the cursor — a destructive button on hover.

Pressed

--vt-danger-fill-pressed

auto
auto
—
The danger fill while pressed.

Disabled

--vt-danger-fill-disabled

auto
auto
—
The danger fill on a control that cannot be used.
Same in light and dark

Always white

--vt-generic-white

generic-0
generic-0
bg-generic-white
Always white, in both modes — for anything that must not flip with the theme.

Always black

--vt-generic-black

generic-1000
generic-1000
bg-generic-black
Always black, in both modes — for anything that must not flip with the theme.