Growing for shadcn/ui

Growing is a shadcn/ui theme built around a red primary color (#e4a695) with indigo accents (#a695e4). The light mode uses a neutral background (#fdfcfb). Dark mode keeps the red primary (#e4a695) on a neutral background (#070403).

Color palette

TokenLightDark
Background
#fdfcfbsnow
#070403black
Foreground
#160703black
#f9f7f6whitesmoke
Card
#fcf9f8snow
#0b0604black
Card foreground
#120603black
#fbf9f9snow
Popover
#fcf9f8snow
#0b0604black
Popover foreground
#120603black
#fbf9f9snow
Primary
#e4a695burlywood
#e4a695burlywood
Primary foreground
#39180eblack
#39180eblack
Secondary
#95e4a6lightgreen
#95e4a6lightgreen
Secondary foreground
#0e3918darkgreen
#0e3918darkgreen
Muted
#d8dfd9gainsboro
#202722black
Muted foreground
#3a453cdarkslategray
#bac5bcsilver
Accent
#a695e4mediumpurple
#a695e4mediumpurple
Accent foreground
#180e39midnightblue
#180e39midnightblue
Destructive
#732a02saddlebrown
#fa610forangered
Destructive foreground
#fdc7aanavajowhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#e4a695burlywood
#e4a695burlywood

Contrast

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

Light mode
Text on background19.23:1AAA
Text on card19.00:1AAA
Primary button7.79:1AAA
Secondary button8.64:1AAA
Muted text7.37:1AAA
Accent6.93:1AA
Destructive6.76:1AA
Dark mode
Text on background19.13:1AAA
Text on card19.22:1AAA
Primary button7.79:1AAA
Secondary button8.64:1AAA
Muted text8.56:1AAA
Accent6.93:1AA
Destructive6.79:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.992 0.002 36.005);
  --foreground: oklch(0.153 0.029 41.992);
  --muted: oklch(0.896 0.011 152.428);
  --muted-foreground: oklch(0.379 0.021 151.703);
  --popover: oklch(0.984 0.004 35.999);
  --popover-foreground: oklch(0.14 0.025 43.844);
  --card: oklch(0.984 0.004 35.999);
  --card-foreground: oklch(0.14 0.025 43.844);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.78 0.078 36.054);
  --primary-foreground: oklch(0.255 0.056 36.395);
  --secondary: oklch(0.853 0.117 150.193);
  --secondary-foreground: oklch(0.306 0.075 147.537);
  --accent: oklch(0.715 0.115 293.217);
  --accent-foreground: oklch(0.208 0.079 287.454);
  --destructive: oklch(0.387 0.113 42.885);
  --destructive-foreground: oklch(0.871 0.073 49.671);
  --ring: oklch(0.78 0.078 36.054);
  --chart-1: oklch(0.78 0.078 36.054);
  --chart-2: oklch(0.853 0.117 150.193);
  --chart-3: oklch(0.715 0.115 293.217);
  --chart-4: oklch(0.868 0.104 150.547);
  --chart-5: oklch(0.78 0.082 36.071);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.112 0.01 40.842);
  --foreground: oklch(0.976 0.002 36.003);
  --muted: oklch(0.265 0.014 151.728);
  --muted-foreground: oklch(0.812 0.018 152.272);
  --popover: oklch(0.128 0.012 40.782);
  --popover-foreground: oklch(0.984 0.002 36.006);
  --card: oklch(0.128 0.012 40.782);
  --card-foreground: oklch(0.984 0.002 36.006);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.78 0.078 36.054);
  --primary-foreground: oklch(0.255 0.056 36.395);
  --secondary: oklch(0.853 0.117 150.193);
  --secondary-foreground: oklch(0.306 0.075 147.537);
  --accent: oklch(0.715 0.115 293.217);
  --accent-foreground: oklch(0.208 0.079 287.454);
  --destructive: oklch(0.683 0.202 41.84);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.78 0.078 36.054);
  --chart-1: oklch(0.78 0.078 36.054);
  --chart-2: oklch(0.853 0.117 150.193);
  --chart-3: oklch(0.715 0.115 293.217);
  --chart-4: oklch(0.868 0.104 150.547);
  --chart-5: oklch(0.78 0.082 36.071);
}