Cuddly Rite of Spring for shadcn/ui

Cuddly Rite of Spring is a shadcn/ui theme built around a vivid light yellow primary color (#feebaa) with vivid light green accents (#e6feaa). The light mode uses a neutral background (#fdfcf7). Dark mode keeps the vivid light yellow primary (#feebaa) on a yellow-tinted background (#0a0905).

Color palette

TokenLightDark
Background
#fdfcf7snow
#0a0905black
Foreground
#090701black
#ffffffwhite
Card
#fdfcf7snow
#0a0905black
Card foreground
#090701black
#ffffffwhite
Popover
#fdfcf7snow
#0a0905black
Popover foreground
#090701black
#ffffffwhite
Primary
#feebaamoccasin
#feebaamoccasin
Primary foreground
#0f0c00black
#0f0c00black
Secondary
#fec1aalightpink
#fec1aalightpink
Secondary foreground
#742202maroon
#742202maroon
Muted
#e8ddd8gainsboro
#271b17black
Muted foreground
#655f5ddimgray
#a29c9adarkgray
Accent
#e6feaapalegoldenrod
#e6feaapalegoldenrod
Accent foreground
#0b0f00black
#0b0f00black
Destructive
#c42108firebrick
#e6270aorangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e6e5e0gainsboro
#22211bblack
Input
#e6e5e0gainsboro
#22211bblack
Ring
#feebaamoccasin
#feebaamoccasin

Contrast

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

Light mode
Text on background19.58:1AAA
Text on card19.58:1AAA
Primary button16.51:1AAA
Secondary button6.81:1AA
Muted text4.71:1AA
Accent17.62:1AAA
Destructive5.88:1AA
Dark mode
Text on background19.91:1AAA
Text on card19.91:1AAA
Primary button16.51:1AAA
Secondary button6.81:1AA
Muted text6.18:1AA
Accent17.62:1AAA
Destructive4.50:1AA

CSS variables

Paste this into your globals.css to use Cuddly Rite of Spring in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.99 0.007 93.941);
  --foreground: oklch(0.129 0.02 99.314);
  --muted: oklch(0.905 0.014 42.995);
  --muted-foreground: oklch(0.491 0.008 42.989);
  --popover: oklch(0.99 0.007 93.941);
  --popover-foreground: oklch(0.129 0.02 99.314);
  --card: oklch(0.99 0.007 93.941);
  --card-foreground: oklch(0.129 0.02 99.314);
  --border: oklch(0.921 0.007 93.95);
  --input: oklch(0.921 0.007 93.95);
  --primary: oklch(0.941 0.086 94.492);
  --primary-foreground: oklch(0.153 0.031 99.208);
  --secondary: oklch(0.861 0.077 42.563);
  --secondary-foreground: oklch(0.377 0.121 38.428);
  --accent: oklch(0.959 0.11 121.358);
  --accent-foreground: oklch(0.159 0.037 120.415);
  --destructive: oklch(0.528 0.199 31.263);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.941 0.086 94.492);
  --chart-1: oklch(0.941 0.086 94.492);
  --chart-2: oklch(0.861 0.077 42.563);
  --chart-3: oklch(0.959 0.11 121.358);
  --chart-4: oklch(0.884 0.063 42.651);
  --chart-5: oklch(0.943 0.088 94.494);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.14 0.01 96.621);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.235 0.02 42.582);
  --muted-foreground: oklch(0.698 0.007 43.037);
  --popover: oklch(0.14 0.01 96.621);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.14 0.01 96.621);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.246 0.011 94.277);
  --input: oklch(0.246 0.011 94.277);
  --primary: oklch(0.941 0.086 94.492);
  --primary-foreground: oklch(0.153 0.031 99.208);
  --secondary: oklch(0.861 0.077 42.563);
  --secondary-foreground: oklch(0.377 0.121 38.428);
  --accent: oklch(0.959 0.11 121.358);
  --accent-foreground: oklch(0.159 0.037 120.415);
  --destructive: oklch(0.595 0.226 31.175);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.941 0.086 94.492);
  --chart-1: oklch(0.941 0.086 94.492);
  --chart-2: oklch(0.861 0.077 42.563);
  --chart-3: oklch(0.959 0.11 121.358);
  --chart-4: oklch(0.884 0.063 42.651);
  --chart-5: oklch(0.943 0.088 94.494);
}