Growing for shadcn/ui

Growing is a shadcn/ui theme built around a vivid light indigo primary color (#eae8fd) with vivid light violet accents (#f5e8fd). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid light indigo primary (#eae8fd) on an indigo-tinted background (#08070d).

Color palette

TokenLightDark
Background
#ffffffwhite
#08070dblack
Foreground
#030208black
#f6f6f9whitesmoke
Card
#fcfcfcsnow
#0a0911black
Card foreground
#010104black
#f9f9fbghostwhite
Popover
#ffffffwhite
#08070dblack
Popover foreground
#030208black
#f6f6f9whitesmoke
Primary
#eae8fdlavender
#eae8fdlavender
Primary foreground
#442eearoyalblue
#442eearoyalblue
Secondary
#e8f0fdlavender
#e8f0fdlavender
Secondary foreground
#1048a2darkslateblue
#1048a2darkslateblue
Muted
#eeeff1whitesmoke
#0e0f11black
Muted foreground
#474747darkslategray
#b8b8b8silver
Accent
#f5e8fdlavenderblush
#f5e8fdlavenderblush
Accent foreground
#6a10a2rebeccapurple
#6a10a2rebeccapurple
Destructive
#990f0fdarkred
#ed4545tomato
Destructive foreground
#fcdfdfmistyrose
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#eae8fdlavender
#eae8fdlavender

Contrast

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

Light mode
Text on background20.66:1AAA
Text on card20.39:1AAA
Primary button6.17:1AA
Secondary button7.39:1AAA
Muted text8.10:1AAA
Accent8.06:1AAA
Destructive6.88:1AA
Dark mode
Text on background18.60:1AAA
Text on card18.86:1AAA
Primary button6.17:1AA
Secondary button7.39:1AAA
Muted text9.66:1AAA
Accent8.06:1AAA
Destructive3.79:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.097 0.02 289.528);
  --muted: oklch(0.953 0.002 259.936);
  --muted-foreground: oklch(0.399 0 180);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.097 0.02 289.528);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.077 0.016 289.528);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.938 0.028 291.208);
  --primary-foreground: oklch(0.479 0.26 275.48);
  --secondary: oklch(0.952 0.019 259.946);
  --secondary-foreground: oklch(0.426 0.157 260.153);
  --accent: oklch(0.947 0.031 312.763);
  --accent-foreground: oklch(0.421 0.206 306.245);
  --destructive: oklch(0.436 0.169 28.094);
  --destructive-foreground: oklch(0.926 0.032 17.752);
  --ring: oklch(0.938 0.028 291.208);
  --chart-1: oklch(0.938 0.028 291.208);
  --chart-2: oklch(0.952 0.019 259.946);
  --chart-3: oklch(0.947 0.031 312.763);
  --chart-4: oklch(0.981 0.008 259.942);
  --chart-5: oklch(0.938 0.029 291.186);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.134 0.015 290.359);
  --foreground: oklch(0.974 0.004 291.697);
  --muted: oklch(0.168 0.004 259.946);
  --muted-foreground: oklch(0.781 0 180);
  --popover: oklch(0.134 0.015 290.359);
  --popover-foreground: oklch(0.974 0.004 291.697);
  --card: oklch(0.144 0.017 289.634);
  --card-foreground: oklch(0.982 0.003 291.725);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.938 0.028 291.208);
  --primary-foreground: oklch(0.479 0.26 275.48);
  --secondary: oklch(0.952 0.019 259.946);
  --secondary-foreground: oklch(0.426 0.157 260.153);
  --accent: oklch(0.947 0.031 312.763);
  --accent-foreground: oklch(0.421 0.206 306.245);
  --destructive: oklch(0.634 0.204 25.157);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.938 0.028 291.208);
  --chart-1: oklch(0.938 0.028 291.208);
  --chart-2: oklch(0.952 0.019 259.946);
  --chart-3: oklch(0.947 0.031 312.763);
  --chart-4: oklch(0.981 0.008 259.942);
  --chart-5: oklch(0.938 0.029 291.186);
}