Radiant for shadcn/ui

Radiant is a shadcn/ui theme built around a deep orange primary color (#533a13) with muted orange accents (#cdc1ac). The light mode uses a neutral background (#fdfdfc). Dark mode keeps the deep orange primary (#533a13) on a neutral background (#070504).

Color palette

TokenLightDark
Background
#fdfdfcwhite
#070504black
Foreground
#100c04black
#faf8f5whitesmoke
Card
#fdfdfcwhite
#070504black
Card foreground
#100c04black
#faf8f5whitesmoke
Popover
#fdfdfcwhite
#070504black
Popover foreground
#100c04black
#faf8f5whitesmoke
Primary
#533a13darkolivegreen
#533a13darkolivegreen
Primary foreground
#ecd3acwheat
#ecd3acwheat
Secondary
#d9d3c9lightgrey
#262422black
Secondary foreground
#423a2edarkslategray
#c1beb9silver
Muted
#e4dfd8gainsboro
#27231bblack
Muted foreground
#5f5c59dimgray
#a6a4a0darkgray
Accent
#cdc1acsilver
#423c33darkslategray
Accent foreground
#2d261bblack
#d9d5celightgrey
Destructive
#732907saddlebrown
#f3783fcoral
Destructive foreground
#fac9b2peachpuff
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#533a13darkolivegreen
#533a13darkolivegreen

Contrast

WCAG 2 contrast ratios between each background and its foreground color.

Light mode
Text on background19.13:1AAA
Text on card19.13:1AAA
Primary button7.28:1AAA
Secondary button7.52:1AAA
Muted text5.01:1AA
Accent8.39:1AAA
Destructive6.83:1AA
Dark mode
Text on background19.16:1AAA
Text on card19.16:1AAA
Primary button7.28:1AAA
Secondary button8.33:1AAA
Muted text6.30:1AA
Accent7.41:1AAA
Destructive7.56:1AAA

CSS variables

Paste this into your globals.css to use Radiant in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.993 0.002 79.931);
  --foreground: oklch(0.156 0.019 83.069);
  --muted: oklch(0.906 0.011 79.909);
  --muted-foreground: oklch(0.477 0.006 79.908);
  --popover: oklch(0.993 0.002 79.931);
  --popover-foreground: oklch(0.156 0.019 83.069);
  --card: oklch(0.993 0.002 79.931);
  --card-foreground: oklch(0.156 0.019 83.069);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.369 0.064 76.069);
  --primary-foreground: oklch(0.878 0.058 79.587);
  --secondary: oklch(0.869 0.016 79.894);
  --secondary-foreground: oklch(0.354 0.023 79.591);
  --accent: oklch(0.815 0.031 79.804);
  --accent-foreground: oklch(0.272 0.022 79.419);
  --destructive: oklch(0.387 0.112 41.167);
  --destructive-foreground: oklch(0.873 0.064 46.163);
  --ring: oklch(0.369 0.064 76.069);
  --chart-1: oklch(0.369 0.064 76.069);
  --chart-2: oklch(0.869 0.016 79.894);
  --chart-3: oklch(0.815 0.031 79.804);
  --chart-4: oklch(0.891 0.013 79.904);
  --chart-5: oklch(0.372 0.066 75.666);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.119 0.007 83.75);
  --foreground: oklch(0.979 0.004 79.926);
  --muted: oklch(0.257 0.015 79.662);
  --muted-foreground: oklch(0.719 0.005 79.92);
  --popover: oklch(0.119 0.007 83.75);
  --popover-foreground: oklch(0.979 0.004 79.926);
  --card: oklch(0.119 0.007 83.75);
  --card-foreground: oklch(0.979 0.004 79.926);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.369 0.064 76.069);
  --primary-foreground: oklch(0.878 0.058 79.587);
  --secondary: oklch(0.262 0.005 79.884);
  --secondary-foreground: oklch(0.801 0.008 79.916);
  --accent: oklch(0.361 0.018 79.737);
  --accent-foreground: oklch(0.874 0.011 79.91);
  --destructive: oklch(0.706 0.166 43.688);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.369 0.064 76.069);
  --chart-1: oklch(0.369 0.064 76.069);
  --chart-2: oklch(0.262 0.005 79.884);
  --chart-3: oklch(0.361 0.018 79.737);
  --chart-4: oklch(0.294 0.006 79.881);
  --chart-5: oklch(0.372 0.066 75.666);
}