Innervation for shadcn/ui

Innervation is a shadcn/ui theme built around a vivid teal primary color (#109361) with vivid pink accents (#931042). The light mode uses a neutral background (#f6fdfb). Dark mode keeps the vivid teal primary (#109361) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#f6fdfbmintcream
#000000black
Foreground
#020906black
#f8fcfamintcream
Card
#f2fdf9mintcream
#030303black
Card foreground
#010403black
#fcfdfdwhite
Popover
#f2fdf9mintcream
#030303black
Popover foreground
#010403black
#fcfdfdwhite
Primary
#109361seagreen
#109361seagreen
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#931042brown
#931042brown
Secondary foreground
#fbdae7mistyrose
#fbdae7mistyrose
Muted
#e0dcddgainsboro
#231f21black
Muted foreground
#423d3fdarkslategray
#c2bdbfsilver
Accent
#931042brown
#931042brown
Accent foreground
#fbdae7mistyrose
#fbdae7mistyrose
Destructive
#622204maroon
#f8763atomato
Destructive foreground
#fbbb9dburlywood
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#109361seagreen
#109361seagreen

Contrast

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

Light mode
Text on background19.55:1AAA
Text on card19.74:1AAA
Primary button3.91:1AA Large
Secondary button6.80:1AA
Muted text7.84:1AAA
Accent6.80:1AA
Destructive7.25:1AAA
Dark mode
Text on background20.29:1AAA
Text on card20.29:1AAA
Primary button3.91:1AA Large
Secondary button6.80:1AA
Muted text8.75:1AAA
Accent6.80:1AA
Destructive7.64:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.989 0.008 171.351);
  --foreground: oklch(0.126 0.018 171.908);
  --muted: oklch(0.898 0.004 351.718);
  --muted-foreground: oklch(0.367 0.008 352.184);
  --popover: oklch(0.984 0.012 171.228);
  --popover-foreground: oklch(0.1 0.015 171.908);
  --card: oklch(0.984 0.012 171.228);
  --card-foreground: oklch(0.1 0.015 171.908);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.586 0.129 159.934);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.433 0.163 6.174);
  --secondary-foreground: oklch(0.92 0.04 352.782);
  --accent: oklch(0.433 0.163 6.174);
  --accent-foreground: oklch(0.92 0.04 352.782);
  --destructive: oklch(0.345 0.101 41.358);
  --destructive-foreground: oklch(0.843 0.086 45.925);
  --ring: oklch(0.586 0.129 159.934);
  --chart-1: oklch(0.586 0.129 159.934);
  --chart-2: oklch(0.433 0.163 6.174);
  --chart-3: oklch(0.433 0.163 6.174);
  --chart-4: oklch(0.462 0.175 6.399);
  --chart-5: oklch(0.593 0.132 159.551);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.987 0.004 171.48);
  --muted: oklch(0.246 0.006 352.227);
  --muted-foreground: oklch(0.802 0.006 351.816);
  --popover: oklch(0.092 0 180);
  --popover-foreground: oklch(0.993 0.002 171.536);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(0.993 0.002 171.536);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.586 0.129 159.934);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.433 0.163 6.174);
  --secondary-foreground: oklch(0.92 0.04 352.782);
  --accent: oklch(0.433 0.163 6.174);
  --accent-foreground: oklch(0.92 0.04 352.782);
  --destructive: oklch(0.71 0.175 43.32);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.586 0.129 159.934);
  --chart-1: oklch(0.586 0.129 159.934);
  --chart-2: oklch(0.433 0.163 6.174);
  --chart-3: oklch(0.433 0.163 6.174);
  --chart-4: oklch(0.462 0.175 6.399);
  --chart-5: oklch(0.593 0.132 159.551);
}