Theming
Every component reads your shadcn tokens through the foundation's roles, so your palette carries through without a single colour class to change. Brand names, labels and sample text are props, so nothing of ours ends up in your product.
Your palette
The foundation names each colour by its job and reads it from a shadcn token: the page is --ns-canvas (from --background), surfaces are --ns-panel and --ns-raised (from --card), text is --ns-ink and its two quieter steps, lines are --ns-line (from --border), and refusals use --ns-bad (from --destructive). Two optional tokens add meaning where a component needs it, each with a fallback: --success and --warning. Set them on :root, or on any container to retheme one area.
One colour is the system's own: --ns-signal, the Signature that marks the one chosen thing in a region, the current time and focus. It is Cobalt, the brand blue, by default; data-ns-signature="amethyst" on any ancestor picks Amethyst, a calm violet, and data-ns-signature="graphite" picks Graphite, the quiet mono. Set it to your brand colour if you'd rather. Charts draw in their own series colour, --chart-series (Cobalt by default): set that too when your brand colour should be the one in the charts.
:root {
--success: oklch(0.6 0.15 150);
--ns-signal: var(--primary); /* optional: your brand as the one accent */
--chart-series: var(--primary); /* optional: the colour the charts draw in */
}
.billing { --primary: oklch(0.55 0.2 260); }Keep overrides in your own CSS. Each add writes the foundation's CSS into your global stylesheet again; your own rules are never touched.
Dark and light
Components follow a .dark class or data-theme="dark" on an ancestor (the shadcn and next-themes conventions). Set it before the first paint and there is no flash on load. A .light region inside a dark page works too.
The Notchset theme (optional)
The theme sets every shadcn token in light and dark to Notchset's values: warm neutrals, the Cobalt Signature (Amethyst or Graphite on request), and every text tone at 4.5:1 or more on the surfaces it sits on. It is global: every shadcn component in the app changes, not just Notchset's. Skip it to keep your palette.
npx shadcn@latest add https://notchset.dev/r/notchset-theme.jsonType, space and size
Geist for display and figures, Inter for reading text and Geist Mono for small labels, through --ns-font-display, --ns-font-body and --ns-font-mono. Sizes, spacing, control heights, radii and shadows are roles too (--ns-text-*, --ns-space-*, --ns-control, --ns-radius-*): change one on :root and every component follows. Touch screens get finger-sized controls on their own.
Next: Motion, to ask for less of it where you need to.