Grown for shadcn/ui

Grown is a shadcn/ui theme built around a light orange primary color (#e5dbcd) with muted light orange accents (#dedad3). The light mode uses a neutral background (#fdfdfc). Dark mode keeps the light orange primary (#e5dbcd) on a neutral background (#080602).

Color palette

TokenLightDark
Background
#fdfdfcwhite
#080602black
Foreground
#150e05black
#ffffffwhite
Card
#fcfaf8snow
#0c0903black
Card foreground
#110b04black
#ffffffwhite
Popover
#fcfaf8snow
#0c0903black
Popover foreground
#110b04black
#ffffffwhite
Primary
#e5dbcdgainsboro
#e5dbcdgainsboro
Primary foreground
#54442cdarkolivegreen
#54442cdarkolivegreen
Secondary
#dedad3gainsboro
#2b251dblack
Secondary foreground
#494237darkslategray
#cabfafsilver
Muted
#e7e4dfgainsboro
#201d18black
Muted foreground
#584f41darkolivegreen
#beb5a7darkgray
Accent
#dedad3gainsboro
#2b251dblack
Accent foreground
#494237darkslategray
#cabfafsilver
Destructive
#ad0b05darkred
#f82820orangered
Destructive foreground
#fee7e6mistyrose
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#e5dbcdgainsboro
#e5dbcdgainsboro

Contrast

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

Light mode
Text on background18.77:1AAA
Text on card18.81:1AAA
Primary button6.84:1AA
Secondary button7.11:1AAA
Muted text6.32:1AA
Accent7.11:1AAA
Destructive6.28:1AA
Dark mode
Text on background20.26:1AAA
Text on card19.91:1AAA
Primary button6.84:1AA
Secondary button8.35:1AAA
Muted text8.30:1AAA
Accent8.35:1AAA
Destructive3.95:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.993 0.002 78.307);
  --foreground: oklch(0.17 0.022 79.299);
  --muted: oklch(0.919 0.007 78.289);
  --muted-foreground: oklch(0.432 0.025 77.962);
  --popover: oklch(0.986 0.003 78.302);
  --popover-foreground: oklch(0.156 0.02 81.695);
  --card: oklch(0.986 0.003 78.302);
  --card-foreground: oklch(0.156 0.02 81.695);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.895 0.022 78.215);
  --primary-foreground: oklch(0.396 0.043 77.161);
  --secondary: oklch(0.889 0.01 78.275);
  --secondary-foreground: oklch(0.381 0.02 78.013);
  --accent: oklch(0.889 0.01 78.275);
  --accent-foreground: oklch(0.381 0.02 78.013);
  --destructive: oklch(0.473 0.189 29.332);
  --destructive-foreground: oklch(0.947 0.025 19.994);
  --ring: oklch(0.895 0.022 78.215);
  --chart-1: oklch(0.895 0.022 78.215);
  --chart-2: oklch(0.889 0.01 78.275);
  --chart-3: oklch(0.889 0.01 78.275);
  --chart-4: oklch(0.912 0.008 78.284);
  --chart-5: oklch(0.897 0.024 78.203);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.122 0.015 85.641);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.231 0.009 78.115);
  --muted-foreground: oklch(0.776 0.022 78.194);
  --popover: oklch(0.14 0.017 84.9);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.14 0.017 84.9);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.895 0.022 78.215);
  --primary-foreground: oklch(0.396 0.043 77.161);
  --secondary: oklch(0.269 0.017 77.885);
  --secondary-foreground: oklch(0.81 0.025 78.179);
  --accent: oklch(0.269 0.017 77.885);
  --accent-foreground: oklch(0.81 0.025 78.179);
  --destructive: oklch(0.628 0.239 28.722);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.895 0.022 78.215);
  --chart-1: oklch(0.895 0.022 78.215);
  --chart-2: oklch(0.269 0.017 77.885);
  --chart-3: oklch(0.269 0.017 77.885);
  --chart-4: oklch(0.302 0.021 77.848);
  --chart-5: oklch(0.897 0.024 78.203);
}