Colour

Semantic tokens only: components never hard-code a hex value.

Surfaces

  • --color-canvas Canvas · page background
  • --color-surface-1 Surface 1 · cards, menus
  • --color-surface-2 Surface 2 · raised controls
  • --color-surface-3 Surface 3 · hover, tooltips
  • --color-inset Inset · inputs, empty states

Lines

  • --color-line-subtle Line subtle · internal dividers
  • --color-line Line · card and header borders
  • --color-line-strong Line strong · control borders

Text

  • --color-text Primary · body, values
  • --color-text-secondary Secondary · descriptions
  • --color-text-muted Muted · labels, timestamps

Accent

  • --color-accent Accent · focus, active navigation
  • --color-accent-hover Accent hover · primary hover
  • --color-accent-soft Accent soft · selected background
  • --color-accent-line Accent line · selected border

Semantic

  • --color-warn Warning · delays, caveats
  • --color-danger Danger · errors, invalid input
  • --color-move-up Movement up · financial gain only
  • --color-move-down Movement down · financial loss only

Data status

  • --status-live Live · connected feed
  • --status-delayed Delayed · documented delay
  • --status-historical Historical · stored observation
  • --status-sample Sample · demonstration fixture
  • --status-unavailable Unavailable · no observation

Type scale

System sans for prose, monospace for labels and figures.

  • Aa 1,284.50 --text-3xl 34px · Page title
  • Aa 1,284.50 --text-2xl 26px · Panel heading
  • Aa 1,284.50 --text-xl 20px · Section heading
  • Aa 1,284.50 --text-lg 16px · Card title, emphasis
  • Aa 1,284.50 --text-md 14px · Body copy
  • Aa 1,284.50 --text-sm 13px · Controls, dense body
  • Aa 1,284.50 --text-xs 12px · Hints, timestamps
  • Aa 1,284.50 --text-2xs 11px · Mono labels, badges

Space, radius and elevation

A 4px spacing base with restrained radii and shadows.

Spacing

  • --space-1 4px
  • --space-2 8px
  • --space-3 12px
  • --space-4 16px
  • --space-6 24px
  • --space-8 32px
  • --space-12 48px

Radius

  • --radius-xs 2px
  • --radius-sm 3px
  • --radius-md 5px
  • --radius-lg 8px
  • --radius-pill pill

Elevation

  • --shadow-1
  • --shadow-2
  • --shadow-3

Buttons

Four variants, two sizes, with a disabled example.

Variants
Sizes
As a link

Fields

Labels stay visible; hints and errors are wired with aria-describedby.

Free text. Intended for instrument search in Milestone 4.

Badges and tooltips

Status vocabulary and an inline explanation pattern.

Tones
Neutral Accent Warning Danger
Tooltip
Delayed by 15 minutes A delay is always stated next to the value it affects, never hidden behind a hover-only affordance.

Data status

Every market data presentation declares exactly one of these five statuses.

5 of 5 statuses
  • Live Delivered by a connected feed with no documented delay.
  • Delayed Delivered by a feed with a documented publication delay.
  • Historical A stored observation for a past period, not a current quote.
  • Sample A deterministic demonstration fixture. Not market data.
  • Unavailable No observation exists for this field. It is not filled in or estimated.

Provenance

Status, source and timestamp travel with the value.

Sample fixture

Status
Sample
Source
Milestone 2 design fixture
As of Timestamps are stored as ISO 8601. Public delayed rows use the provider's observation time; sample fixtures use the date they were minted; a build-time public snapshot uses its capture time.
2026-11-12T00:00:00Z

A fixed example used to show the provenance layout. No instrument, price or observation is attached.

Unavailable observation

Status
Unavailable
Source
No observation in fixture set
As of Timestamps are stored as ISO 8601. Public delayed rows use the provider's observation time; sample fixtures use the date they were minted; a build-time public snapshot uses its capture time.
2026-11-12T00:00:00Z

Missing values are shown as unavailable and are never forward-filled or estimated.

Empty, loading and error

Three states, switchable here; the retry action re-runs the simulated cycle.

No instruments in this view

An empty state explains what would appear here and how to change it. It never shows placeholder prices.