Ansora UI

Colour

The semantic colour layer — the only colours a component may use.

A component uses these names and nothing else: never a palette class such as bg-teal-700, never a literal hex or oklch(…). The values below are read from packages/tokens/src/tokens.ts; a palette path such as teal.700 resolves through the palette, which is deliberately not exported.

Green never means a state. It is the brand colour. States are neutral, amber and red, plus an informational blue — and colour is never the only carrier: StatusPill will not compile without a text label.

The clinic brand overrides primary, ring and sidebar-ring only; switch the brand on any component example to see it.

TokenLightDark
--backgroundgray.50gray.950
--foregroundgray.950gray.50
--card#ffffffgray.900
--card-foregroundgray.950gray.50
--mutedgray.100gray.800
--muted-foregroundgray.700gray.400
--bordergray.200gray.700
--primaryteal.700teal.500
--primary-foreground#ffffffteal.950
--destructivered.600red.400
--destructive-foreground#ffffffred.950
--accentgray.100gray.800
--accent-foregroundgray.950gray.50
--secondarygray.100gray.800
--secondary-foregroundgray.950gray.50
--popover#ffffffgray.900
--popover-foregroundgray.950gray.50
--inputgray.200gray.700
--ringteal.700teal.500
--status-okgray.100gray.800
--status-ok-fggray.700gray.400
--status-warnamber.100amber.700
--status-warn-fgamber.700amber.100
--status-critred.100red.600
--status-crit-fgred.600red.100
--status-infoblue.100blue.700
--status-info-fgblue.700blue.100
--sidebargray.100gray.900
--sidebar-foregroundgray.700gray.400
--sidebar-accent#ffffffgray.950
--sidebar-accent-foregroundgray.950gray.50
--sidebar-bordergray.200gray.700
--sidebar-ringteal.700teal.500