Skip to content

Foundation

Token Explorer

Three-layer reference: primitives (--bh-*), semantic (--ds-*), and component tokens. Click any row to copy.

Layer 1 — Primitives

Raw values defined in tokens/bauhaus.css. Never use these directly in components — always via Layer 2 semantic tokens.

Primary palette

Tonal scales

10 OKLCH-derived steps per primary. Step 500 = canonical value. Token: --bh-<family>-<step>

Red — Agency--bh-red-*
Blue — Temporal--bh-blue-*
Yellow — Validation--bh-yellow-*
Neutral — 13 steps--bh-neutral-*

Type scale

Spacing — 8px base unit

Motion — one easing, three durations

Layer 2 — Semantic

Intent-driven aliases defined in tokens/semantic.css. Components consume these — never primitives.

Colors

--ds-color-agency5:1 AA#D42020

Authority / AI action — active states, destructive

Button DangerBadge Agency
--ds-color-agency-subtle1.1:1 FAIL#FFEBEB

Agency background tint

Agency bg tint
--ds-color-temporal7:1 AAA#2B44D4

Processing / time — loading, in-flight, links

Badge TemporalInput FocusLinks
--ds-color-temporal-subtle1.1:1 FAIL#EBEBFF

Temporal background tint

Temporal bg tint
--ds-color-validation2.5:1 FAIL#C49A1A

Quality / enrichment — caution, confirmation, thresholds

WCAG: On dark surface only: 5.96:1 WCAG AA. On light surface use --ds-text-validation-inline instead.

Badge ValidationCaution states
--ds-color-validation-subtle1.1:1 FAIL#FFF0C8

Validation background tint

Validation bg tint
--ds-color-error6.9:1 AA#B01010

System failure — distinct from agency red

Input Error Border
--ds-color-error-subtle1.1:1 FAIL#FFEBEB

Error background tint

Error bg tint
--ds-color-outcome-positive4.9:1 AA#2E7D32

Success — healthy, completed, gains

Success statesWCAG badges
--ds-color-outcome-caution3.6:1 FAIL#E65100

Warning — near-limit, attention needed

Warning states
--ds-color-outcome-negative5.4:1 AA#C62828

Failure — failed, losses, breaches

Failure states

Surfaces

Text hierarchy

Never use --ds-border-separator or --ds-border-structure as text color — they fail WCAG (2.3:1).

Borders

Semantic spacing

Motion tokens

Layer 3 — Component

Component-scoped tokens defined at the bottom of tokens/semantic.css. These are the only tokens component source code should reference for component-specific styling.

Button tokens

Primary

Secondary

Danger

Badge tokens

EXECUTORPROCESSINGVALIDATEDSYSTEMNEUTRAL

Input tokens

IBAN format required