Build Shadcn themes from a real color scale

Choose the Radix Color palette, keep the Shadcn API. Same components, better color decisions behind them.

Radix Color scales

Start from color scales that already know their job.

Pick Radix families for neutral surfaces, brand actions, accents, states, and charts. Radixcn translates those 1-12 steps into the shadcn token contract.

Custom palettes are inspired by Radix Colors custom palette: one color becomes a full scale, then each semantic token gets a deliberate step.

Palette demo
12 steps
Light
Dark
Primary action
Step 9 powers the solid color while the scale keeps hover, borders, and quiet surfaces related.
Token Bridge

Keep shadcn compatible without giving up your token system.

Bridge mode is a compatibility layer for teams with an existing design system. Your components still read --primary, --background, --ring, and --font-sans, while those variables resolve to semantic aliases in your product tokens.

Bridge export
:root
shadcn token
--primary
your token
--interactive-primary-default
Button background resolves through interactive.
Main action
--primary: var(--interactive-primary-default)
Token map

Every shadcn token gets a deliberate Radix step.

Radixcn preserves the API your components already use, then maps each token to the scale step that fits its role.

The result is predictable CSS: surfaces stay quiet, text stays readable, actions stay prominent, and focus states stay visible.

Mapping preview
18 tokens
backgroundbase · step 1App canvas
foregroundbase · step 12Primary text
card / popoverbase · step 2Raised surfaces
mutedbase · step 2Quiet surfaces
muted-foregroundbase · step 11Supporting text
primarybrand · step 9Main action
primary-foregroundsolid foregroundText on action
borderbase · step 6Default divider
inputbase · step 7Editable field edge
ringbrand · step 8Visible focus
sidebarbase · step 2Navigation surface
sidebar-foregroundbase · step 12Sidebar text
sidebar-primarybrand · step 9Sidebar action
sidebar-primary-foregroundsolid foregroundText on action
sidebar-accentaccent · step 3Hover / active
sidebar-accent-foregroundaccent · step 12Text on accent
sidebar-borderbase · step 6Sidebar dividers
sidebar-ringbrand · step 8Sidebar focus
Scale, semantic tokens, bridge aliases.

Ready to generate a theme?

Pick a Radix color family or generate a custom 1-12 palette, then copy fixed shadcn CSS or bridge it to your system.

Open generator