Pitcher for shadcn/ui

Pitcher is a shadcn/ui theme built around a vivid deep indigo primary color (#190d5e) with vivid deep green accents (#0d5e19). The light mode uses a neutral background (#fbfbfe). Dark mode keeps the vivid deep indigo primary (#190d5e) on an indigo-tinted background (#04030c).

Color palette

TokenLightDark
Background
#fbfbfeghostwhite
#04030cblack
Foreground
#04030cblack
#f9f8fbghostwhite
Card
#fbfbfeghostwhite
#04030cblack
Card foreground
#04030cblack
#f9f8fbghostwhite
Popover
#fbfbfeghostwhite
#04030cblack
Popover foreground
#04030cblack
#f9f8fbghostwhite
Primary
#190d5emidnightblue
#190d5emidnightblue
Primary foreground
#b5aaf3lightsteelblue
#b5aaf3lightsteelblue
Secondary
#5e190dmaroon
#5e190dmaroon
Secondary foreground
#f3b5aalightpink
#f3b5aalightpink
Muted
#ebe6e5linen
#1a1514black
Muted foreground
#575252dimgray
#ada9a8darkgray
Accent
#0d5e19darkgreen
#0d5e19darkgreen
Accent foreground
#aaf3b5palegreen
#aaf3b5palegreen
Destructive
#742b06saddlebrown
#f36720chocolate
Destructive foreground
#fbcab1peachpuff
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#190d5emidnightblue
#190d5emidnightblue

Contrast

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

Light mode
Text on background19.85:1AAA
Text on card19.85:1AAA
Primary button7.93:1AAA
Secondary button7.39:1AAA
Muted text6.20:1AA
Accent6.13:1AA
Destructive6.77:1AA
Dark mode
Text on background19.36:1AAA
Text on card19.36:1AAA
Primary button7.93:1AAA
Secondary button7.39:1AAA
Muted text7.78:1AAA
Accent6.13:1AA
Destructive6.76:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.989 0.004 293.225);
  --foreground: oklch(0.109 0.026 291.138);
  --muted: oklch(0.928 0.007 29.492);
  --muted-foreground: oklch(0.444 0.006 29.515);
  --popover: oklch(0.989 0.004 293.225);
  --popover-foreground: oklch(0.109 0.026 291.138);
  --card: oklch(0.989 0.004 293.225);
  --card-foreground: oklch(0.109 0.026 291.138);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.25 0.132 277.652);
  --primary-foreground: oklch(0.773 0.104 290.618);
  --secondary: oklch(0.327 0.103 32.377);
  --secondary-foreground: oklch(0.827 0.075 30.066);
  --accent: oklch(0.422 0.126 144.677);
  --accent-foreground: oklch(0.901 0.112 148.461);
  --destructive: oklch(0.391 0.112 42.134);
  --destructive-foreground: oklch(0.876 0.065 47.959);
  --ring: oklch(0.25 0.132 277.652);
  --chart-1: oklch(0.25 0.132 277.652);
  --chart-2: oklch(0.327 0.103 32.377);
  --chart-3: oklch(0.422 0.126 144.677);
  --chart-4: oklch(0.357 0.114 32.383);
  --chart-5: oklch(0.249 0.136 276.759);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.11 0.026 291.201);
  --foreground: oklch(0.982 0.004 293.233);
  --muted: oklch(0.2 0.01 29.72);
  --muted-foreground: oklch(0.738 0.005 29.491);
  --popover: oklch(0.11 0.026 291.201);
  --popover-foreground: oklch(0.982 0.004 293.233);
  --card: oklch(0.11 0.026 291.201);
  --card-foreground: oklch(0.982 0.004 293.233);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.25 0.132 277.652);
  --primary-foreground: oklch(0.773 0.104 290.618);
  --secondary: oklch(0.327 0.103 32.377);
  --secondary-foreground: oklch(0.827 0.075 30.066);
  --accent: oklch(0.422 0.126 144.677);
  --accent-foreground: oklch(0.901 0.112 148.461);
  --destructive: oklch(0.68 0.189 42.673);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.25 0.132 277.652);
  --chart-1: oklch(0.25 0.132 277.652);
  --chart-2: oklch(0.327 0.103 32.377);
  --chart-3: oklch(0.422 0.126 144.677);
  --chart-4: oklch(0.357 0.114 32.383);
  --chart-5: oklch(0.249 0.136 276.759);
}