Design System

Colour

The complete token inventory — semantic tokens, never raw hex. Every pairing passes WCAG 2.2 AA in both light and dark; flip the theme toggle and watch the semantic groups follow.

Brand

The source-of-truth HMS palette. These do not flip in dark mode; the *-text variants do, staying AA on the current surface.

--brand-primary

Deep teal

--brand-cyan

Marketing cyan

--brand-stream

AI / Stream

--brand-coral

Accent — the heartbeat

--brand-navy

AI / dark surface

--brand-cream-100

Off-white

--brand-cream-200

Cream

--brand-cream-300

Cool cream

Aa
--brand-cyan-text

AA cyan text

Aa
--brand-stream-text

AA stream text

Aa
--brand-coral-text

AA coral text

Semantic

The shadcn token contract — every component styles itself from these.

Aa
--background--foreground
--canvas

App canvas behind cards

Aa
--card--card-foreground
Aa
--popover--popover-foreground
Aa
--primary--primary-foreground
Aa
--primary-strong

AA teal text / links

Aa
--secondary--secondary-foreground
Aa
--muted--muted-foreground
Aa
--accent--accent-foreground
Aa
--destructive--destructive-foreground
Aa
--destructive-subtle--destructive-text
--decorative-red

Decorative only — never text

--border
--input
--ring

Focus ring

Status

Four tones, each a quartet: fill + foreground, and subtle wash + AA text.

Aa
--success--success-foreground
Aa
--success-subtle--success-text
Aa
--warning--warning-foreground
Aa
--warning-subtle--warning-text
Aa
--info--info-foreground
Aa
--info-subtle--info-text
Aa
--accent-blue--accent-blue-foreground
Aa
--accent-blue-subtle--accent-blue-text

Chart

Brand-led categorical ramp for data visualisation, in series order.

--chart-1
--chart-2
--chart-3
--chart-4
--chart-5

The branded dark-teal navigation has its own token set — it stays dark in both themes.

Aa
--sidebar--sidebar-foreground
Aa
--sidebar-primary--sidebar-primary-foreground
Aa
--sidebar-accent--sidebar-accent-foreground
--sidebar-border
--sidebar-ring

Gradients live on the Brand page. The same inventory with live hex values is in Storybook → Design Tokens.

On this page