Divan

Foundations

Colour

Three surface tones separate everything; there are no borders. Controls use a translucent fill, so they look right on any surface. Copper is the single tint for anything you can press; turquoise means on, done or live.

Surfaces

background The page
card Cards and groups
popover Raised: menus, sheets, toasts
muted Fill: fields, rows, gray buttons
accent Hover, pressed, selected
selected The chosen segment, toggle or tab, and the empty radio or checkbox
glass Header and drawer, blurred
scrim Behind sheets and dialogs

Each step is one layer up. A card on the page needs no outline and no shadow because it is a different tone.

Labels: three, no opacities

Shahnameh
foreground Titles and body
Shahnameh
muted-foreground Descriptions
Shahnameh
faint Hints, dates, captions

Three named labels, never an opacity

The story beginsforeground

The story beginsmuted-foreground

The story beginsfaint

Tint and signals

Support Us
primary Copper: everything pressable
On
success Turquoise: on, done, live
● Sending
progress Lapis: happening now, status dots only
● Waiting
warning Saffron: status dots only
Disconnect
destructive Negative or sensitive buttons, and the field to fix
ring Keyboard focus, the only outline

Signal colours never fill large areas. Warning appears only as a status dot; destructive as a soft fill on negative or sensitive buttons, and as text under a field to fix.

Brand palette

brand-ink Logo, print
brand-ink-soft Logo, print
brand-porcelain Logo, print
brand-turquoise Logo, print
brand-copper Logo, print

For the logo, print and social art; these stay as they are. On screens the brighter copper and turquoise above are used, so they read on the dark ground.

In code

bg-card text-muted-foreground bg-primary/16 · Tailwind classes from the tokens

var(--color-primary) · the same token in plain CSS

Tailwind’s own palette (red-500, white…) is switched off, so only these names work.