Colours
Every colour token, with its light value, its dark value and what it is for.
The default palette is pure grey neutrals on white, one indigo for what can be acted on or is selected, and a quiet fill where a shadow would otherwise go. Dark keeps the same rules on a near black.
Each swatch is drawn with the value written beside it, so both columns are true whichever theme this page is in. Where a value names another token, the line beneath says what it comes to. Press a name to copy it.
What a product may change
A product brings its brand by setting three families of colour, and its font families. Everything else is structure, and stays the same in every product.
- The primary family
--primary--primary-foreground--primary-hover--primary-subtle--primary-subtle-border--link
- Tints
--tint-mint--tint-mint-foreground--tint-peach--tint-peach-foreground--tint-sky--tint-sky-foreground--tint-blue--tint-blue-foreground--tint-pink--tint-pink-foreground--tint-lavender--tint-lavender-foreground
- Chart series
--chart-1--chart-2--chart-3--chart-4--chart-5--chart-cat-1--chart-cat-2--chart-cat-3--chart-cat-4--chart-cat-5
- Follows the primary
--control-checked--ring--tone-indigo--sidebar-primary--sidebar-ring
These read
--primary, so they move when it does. So do the shadows--shadow-card-lift,--shadow-focusand--shadow-fab. A product leaves them alone.- Fixed
The other 60 colour tokens: the neutrals, the status hues, the tones and the sidebar. They are the structure every product shares.
Surfaces
The page, what rests on it and what floats over it. Depth comes from these tones first, and from a shadow only where a layer floats.
Fixed. A product does not change these.
#ffffff#111111#ffffff#111111#ffffff#1a1a1a#f7f7f7#1f1f1f#f7f7f7#1a1a1abg-accent paints --secondary.#f7f7f7#1f1f1f#ffffff#1a1a1a#f7f7f7#262626#fafafa#171717#f7f7f7#1f1f1f#ebebeb#262626#e0e0e0#333333rgb(0 0 0 / 0.2)rgb(0 0 0 / 0.48)Text
Three weights of ink, and the names shadcn components use for text on each surface.
Fixed. A product does not change these.
#191919#ededed#5e5e5e#a3a3a3#707070#8a8a8a#191919#ededed#191919#ededed#191919#ededed#191919#edededBorders and rings
Hairlines divide, rings mark a control's edge, and one ring shows where the keyboard is.
Fixed. A product does not change these.
#ebebeb#262626#e6e6e6#2e2e2e#8a8a8a#737373var(--primary)#462cf2var(--link)#9a8cffoklch(0 0 0 / 0.08)oklch(1 0 0 / 0.1)Primary
The one accent. It marks what can be acted on or is selected, and nothing else.
A product may set --primary, --primary-foreground, --primary-hover, --primary-subtle, --primary-subtle-border and --link. The rest are fixed or follow by themselves.
#462cf2#5b45f5#ffffff#ffffff#3b22db#6b57f7#f1effdrgb(from var(--primary) r g b / 0.2)rgb(from #5b45f5 r g b / 0.2)#e0dcf7rgb(from var(--primary) r g b / 0.38)rgb(from #5b45f5 r g b / 0.38)var(--primary)#462cf2#9a8cffvar(--primary)#462cf2var(--primary)#5b45f5var(--primary-foreground)#ffffffvar(--primary-foreground)#ffffffStatus
A status hue is never the only signal: a badge pairs its ground with an ink label and a dot, and an error has words.
Fixed. A product does not change these.
#d0243a#f14954#d0243a#d0243a#b81f33#e0303f#fdeceergb(241 73 84 / 0.15)#7d1220#ffb3b8#00883a#3fcf86#e3f7ecrgb(63 207 134 / 0.14)#0c4927#8fe3b5#2d5bff#5b82ff#ebf1ffrgb(91 130 255 / 0.16)#13246e#b8c9ff#c84700#ff8a3d#fff4eargb(255 138 61 / 0.14)#78380a#ffc39aWork status
The glyphs of a task's or a project's state, and of its priority.
Fixed. A product does not change these.
#8e8e8e#8a8a8a#5e5e5e#a3a3a3#2d5bff#5b82ff#00a454#2fc97a#8e8e8e#8a8a8a#c18200#e9a826#d0243a#f14954#5e5e5e#a3a3a3Tints
Pastel grounds for markers: initials, project letters, calendar blocks and record chips. Each tint has its own text colour and never carries white.
A product may set every token here.
#e3f1e4#16301b#2e5a34#9fdcaa#fae9df#3a2417#6b3a1e#f2bf9c#dff1f1#102f30#1a5556#92d6d6#e2eefa#152a3e#254a66#a3c8ea#fbe7e9#3a1d22#6e3a42#f0b1ba#eeebfe#24204a#3f28c9#c2b8ffTones
Solid markers that carry a white label.
Fixed. A product does not change these.
var(--primary)#462cf2var(--primary)#5b45f5#ffffff#ffffff#7b3aec#8b5cf6#ffffff#ffffff#00884a#0e8f52#ffffff#ffffff#b45f00#b45f00#ffffff#ffffffCharts
Two series. The ordered one runs the primary's hue from light to deep, for values that have a rank. The categorical one is five separate hues, for things that have none, such as sources, channels or owners.
A product may set every token here.
oklch(0.8 0.1 275.5)oklch(0.8 0.1 275.5)oklch(0.65 0.2 275.5)oklch(0.65 0.2 275.5)oklch(0.56 0.25 275.5)oklch(0.56 0.25 275.5)oklch(0.486 0.269 275.5)oklch(0.486 0.269 275.5)oklch(0.4 0.22 275.5)oklch(0.4 0.22 275.5)oklch(0.52 0.25 275.5)oklch(0.68 0.17 275.5)oklch(0.58 0.12 185)oklch(0.74 0.12 185)oklch(0.64 0.16 60)oklch(0.78 0.15 65)oklch(0.58 0.21 350)oklch(0.72 0.17 350)oklch(0.56 0.14 240)oklch(0.72 0.12 240)Sidebar
The sidebar reads its own tokens, so it can differ from the page. By default it does not.
Fixed. A product does not change these.
#ffffff#111111#191919#edededvar(--primary)#462cf2var(--primary)#5b45f5#ffffff#ffffff#f7f7f7#1f1f1f#191919#ededed#ebebeb#262626var(--primary)#462cf2var(--primary)#5b45f5Contrast
The pairs the palette is built to keep. Text needs 4.5:1 against its ground and the edge of a control needs 3:1 (WCAG 2.2, level AA). Each ratio is worked out from the two values, with a see-through ground laid over the page first.
--foregroundon--background--muted-foregroundon--background--muted-foregroundon--secondary--subtle-foregroundon--background--subtle-foregroundon--secondary--linkon--background--primary-foregroundon--primary--destructiveon--background--positiveon--background--positive-inkon--positive-subtle--info-inkon--info-subtle--warning-inkon--warning-subtle--destructive-inkon--destructive-subtle--tint-mint-foregroundon--tint-mint--tint-peach-foregroundon--tint-peach--tint-sky-foregroundon--tint-sky--tint-blue-foregroundon--tint-blue--tint-pink-foregroundon--tint-pink--tint-lavender-foregroundon--tint-lavender--control-borderon--backgroundClasses
A token is also a Tailwind colour of the same name: --primary is bg-primary,
text-primary and border-primary. These are the exceptions.
- No class
--accent--image-outline--scrim--info
Read these with
var().- Classes of their own
accentvar(--secondary)focus-ringcolor-mix(in oklab, var(--foreground) 40%, transparent)canvas-textCanvasTexthighlightHighlight