Whole Nine Yards Fish for shadcn/ui

Whole Nine Yards Fish is a shadcn/ui theme built around a green primary color (#21c040) with red accents (#c04021). The light mode uses a neutral background (#ffffff). Dark mode keeps the green primary (#21c040) on a neutral background (#020302).

Color palette

TokenLightDark
Background
#ffffffwhite
#020302black
Foreground
#030c05black
#f6f9f6whitesmoke
Card
#ffffffwhite
#020302black
Card foreground
#030c05black
#f6f9f6whitesmoke
Popover
#ffffffwhite
#020302black
Popover foreground
#030c05black
#f6f9f6whitesmoke
Primary
#21c040limegreen
#21c040limegreen
Primary foreground
#031106black
#031106black
Secondary
#4021c0rebeccapurple
#4021c0rebeccapurple
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#ddd8eegainsboro
#161127black
Muted foreground
#4c495bdarkslategray
#a8a4b6darkgray
Accent
#c04021firebrick
#c04021firebrick
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#91250dsaddlebrown
#ee5f3ftomato
Destructive foreground
#fbdcd5mistyrose
#000000black
Border
#eef2eewhitesmoke
#1a231cblack
Input
#eef2eewhitesmoke
#1a231cblack
Ring
#21c040limegreen
#21c040limegreen

Contrast

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

Light mode
Text on background19.83:1AAA
Text on card19.83:1AAA
Primary button7.97:1AAA
Secondary button9.57:1AAA
Muted text6.27:1AA
Accent5.24:1AA
Destructive6.56:1AA
Dark mode
Text on background19.45:1AAA
Text on card19.45:1AAA
Primary button7.97:1AAA
Secondary button9.57:1AAA
Muted text7.55:1AAA
Accent5.24:1AA
Destructive6.34:1AA

CSS variables

Paste this into your globals.css to use Whole Nine Yards Fish in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.141 0.024 150.999);
  --muted: oklch(0.893 0.029 294.972);
  --muted-foreground: oklch(0.414 0.03 294.225);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.141 0.024 150.999);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.141 0.024 150.999);
  --border: oklch(0.956 0.006 151.905);
  --input: oklch(0.956 0.006 151.905);
  --primary: oklch(0.705 0.21 145.367);
  --primary-foreground: oklch(0.161 0.034 150.038);
  --secondary: oklch(0.416 0.224 279.592);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.55 0.169 34.864);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.437 0.148 33.581);
  --destructive-foreground: oklch(0.918 0.036 32.722);
  --ring: oklch(0.705 0.21 145.367);
  --chart-1: oklch(0.705 0.21 145.367);
  --chart-2: oklch(0.416 0.224 279.592);
  --chart-3: oklch(0.55 0.169 34.864);
  --chart-4: oklch(0.436 0.236 279.426);
  --chart-5: oklch(0.714 0.215 145.168);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.095 0.009 151.524);
  --foreground: oklch(0.979 0.005 151.922);
  --muted: oklch(0.197 0.042 291.228);
  --muted-foreground: oklch(0.729 0.026 294.92);
  --popover: oklch(0.095 0.009 151.524);
  --popover-foreground: oklch(0.979 0.005 151.922);
  --card: oklch(0.095 0.009 151.524);
  --card-foreground: oklch(0.979 0.005 151.922);
  --border: oklch(0.245 0.018 150.855);
  --input: oklch(0.245 0.018 150.855);
  --primary: oklch(0.705 0.21 145.367);
  --primary-foreground: oklch(0.161 0.034 150.038);
  --secondary: oklch(0.416 0.224 279.592);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.55 0.169 34.864);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.665 0.184 34.153);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.705 0.21 145.367);
  --chart-1: oklch(0.705 0.21 145.367);
  --chart-2: oklch(0.416 0.224 279.592);
  --chart-3: oklch(0.55 0.169 34.864);
  --chart-4: oklch(0.436 0.236 279.426);
  --chart-5: oklch(0.714 0.215 145.168);
}