Shared Radiant Dawn for shadcn/ui

Shared Radiant Dawn is a shadcn/ui theme built around a light orange primary color (#eee3ce) with light green accents (#e9eece). The light mode uses a neutral background (#fcfaf8). Dark mode keeps the light orange primary (#eee3ce) on an orange-tinted background (#0b0904).

Color palette

TokenLightDark
Background
#fcfaf8snow
#0b0904black
Foreground
#000000black
#faf8f5whitesmoke
Card
#faf8f4whitesmoke
#0f0c05black
Card foreground
#000000black
#fcfaf8snow
Popover
#faf8f4whitesmoke
#0f0c05black
Popover foreground
#000000black
#fcfaf8snow
Primary
#eee3ceantiquewhite
#eee3ceantiquewhite
Primary foreground
#664f24darkolivegreen
#664f24darkolivegreen
Secondary
#eed3cegainsboro
#eed3cegainsboro
Secondary foreground
#662e24saddlebrown
#662e24saddlebrown
Muted
#f3e9e7linen
#180d0cblack
Muted foreground
#524947darkslategray
#b8afaddarkgray
Accent
#e9eeceantiquewhite
#e9eeceantiquewhite
Accent foreground
#181a09black
#181a09black
Destructive
#811f09maroon
#e53710orangered
Destructive foreground
#fbccc1pink
#ffffffwhite
Border
#e6e4e0gainsboro
#28251fblack
Input
#e6e4e0gainsboro
#28251fblack
Ring
#eee3ceantiquewhite
#eee3ceantiquewhite

Contrast

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

Light mode
Text on background20.22:1AAA
Text on card19.84:1AAA
Primary button6.07:1AA
Secondary button7.47:1AAA
Muted text7.32:1AAA
Accent14.74:1AAA
Destructive6.81:1AA
Dark mode
Text on background18.78:1AAA
Text on card18.77:1AAA
Primary button6.07:1AA
Secondary button7.47:1AAA
Muted text8.85:1AAA
Accent14.74:1AAA
Destructive4.30:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.987 0.004 83.058);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.941 0.012 29.513);
  --muted-foreground: oklch(0.413 0.013 29.602);
  --popover: oklch(0.98 0.005 83.06);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.98 0.005 83.06);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.919 0.006 83.061);
  --input: oklch(0.919 0.006 83.061);
  --primary: oklch(0.918 0.03 83.048);
  --primary-foreground: oklch(0.441 0.067 80.972);
  --secondary: oklch(0.887 0.031 29.628);
  --secondary-foreground: oklch(0.375 0.083 31.58);
  --accent: oklch(0.936 0.042 114.144);
  --accent-foreground: oklch(0.212 0.031 116.098);
  --destructive: oklch(0.399 0.136 33.528);
  --destructive-foreground: oklch(0.882 0.056 32.817);
  --ring: oklch(0.918 0.03 83.048);
  --chart-1: oklch(0.918 0.03 83.048);
  --chart-2: oklch(0.887 0.031 29.628);
  --chart-3: oklch(0.936 0.042 114.144);
  --chart-4: oklch(0.913 0.024 29.576);
  --chart-5: oklch(0.919 0.032 83.044);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.14 0.014 88.284);
  --foreground: oklch(0.98 0.005 83.059);
  --muted: oklch(0.175 0.019 30.232);
  --muted-foreground: oklch(0.76 0.011 29.52);
  --popover: oklch(0.155 0.016 85.453);
  --popover-foreground: oklch(0.987 0.003 83.057);
  --card: oklch(0.155 0.016 85.453);
  --card-foreground: oklch(0.987 0.003 83.057);
  --border: oklch(0.266 0.011 83.026);
  --input: oklch(0.266 0.011 83.026);
  --primary: oklch(0.918 0.03 83.048);
  --primary-foreground: oklch(0.441 0.067 80.972);
  --secondary: oklch(0.887 0.031 29.628);
  --secondary-foreground: oklch(0.375 0.083 31.58);
  --accent: oklch(0.936 0.042 114.144);
  --accent-foreground: oklch(0.212 0.031 116.098);
  --destructive: oklch(0.604 0.215 33.086);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.918 0.03 83.048);
  --chart-1: oklch(0.918 0.03 83.048);
  --chart-2: oklch(0.887 0.031 29.628);
  --chart-3: oklch(0.936 0.042 114.144);
  --chart-4: oklch(0.913 0.024 29.576);
  --chart-5: oklch(0.919 0.032 83.044);
}