Bowling Green Porcupine for shadcn/ui

Bowling Green Porcupine is a shadcn/ui theme built around a light green primary color (#bfdeab) with muted light green accents (#c1c8bc). The light mode uses a neutral background (#f9fdf7). Dark mode keeps the light green primary (#bfdeab) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#f9fdf7mintcream
#000000black
Foreground
#040802black
#f7f8f6whitesmoke
Card
#f9fdf7mintcream
#000000black
Card foreground
#040802black
#f7f8f6whitesmoke
Popover
#f9fdf7mintcream
#000000black
Popover foreground
#040802black
#f7f8f6whitesmoke
Primary
#bfdeabsilver
#bfdeabsilver
Primary foreground
#283e19darkslategray
#283e19darkslategray
Secondary
#cecfcelightgrey
#252d1fdarkslategray
Secondary foreground
#353635darkslategray
#bdcbb4silver
Muted
#f2f4f0whitesmoke
#0c0f0bblack
Muted foreground
#434d3ddarkslategray
#b8c2b2silver
Accent
#c1c8bcsilver
#334328darkslategray
Accent foreground
#282d25darkslategray
#ccdbc2lightgrey
Destructive
#b33a0ffirebrick
#ed5b26chocolate
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7e4gainsboro
#1e201dblack
Input
#e5e7e4gainsboro
#1e201dblack
Ring
#bfdeabsilver
#bfdeabsilver

Contrast

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

Light mode
Text on background19.58:1AAA
Text on card19.58:1AAA
Primary button7.92:1AAA
Secondary button7.77:1AAA
Muted text8.02:1AAA
Accent8.19:1AAA
Destructive5.92:1AA
Dark mode
Text on background19.71:1AAA
Text on card19.71:1AAA
Primary button7.92:1AAA
Secondary button8.37:1AAA
Muted text10.47:1AAA
Accent7.29:1AAA
Destructive6.14:1AA

CSS variables

Paste this into your globals.css to use Bowling Green Porcupine in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.989 0.008 132.417);
  --foreground: oklch(0.126 0.021 130.845);
  --muted: oklch(0.965 0.006 132.405);
  --muted-foreground: oklch(0.407 0.03 132.936);
  --popover: oklch(0.989 0.008 132.417);
  --popover-foreground: oklch(0.126 0.021 130.845);
  --card: oklch(0.989 0.008 132.417);
  --card-foreground: oklch(0.126 0.021 130.845);
  --border: oklch(0.926 0.005 132.395);
  --input: oklch(0.926 0.005 132.395);
  --primary: oklch(0.864 0.075 133.054);
  --primary-foreground: oklch(0.335 0.066 134.32);
  --secondary: oklch(0.854 0.001 132.371);
  --secondary-foreground: oklch(0.332 0.002 132.405);
  --accent: oklch(0.823 0.019 132.53);
  --accent-foreground: oklch(0.289 0.016 132.79);
  --destructive: oklch(0.521 0.164 37.494);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.864 0.075 133.054);
  --chart-1: oklch(0.864 0.075 133.054);
  --chart-2: oklch(0.854 0.001 132.371);
  --chart-3: oklch(0.823 0.019 132.53);
  --chart-4: oklch(0.877 0.001 132.369);
  --chart-5: oklch(0.867 0.08 133.102);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.979 0.003 132.38);
  --muted: oklch(0.163 0.009 132.8);
  --muted-foreground: oklch(0.803 0.025 132.598);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.979 0.003 132.38);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.979 0.003 132.38);
  --border: oklch(0.242 0.008 132.598);
  --input: oklch(0.242 0.008 132.598);
  --primary: oklch(0.864 0.075 133.054);
  --primary-foreground: oklch(0.335 0.066 134.32);
  --secondary: oklch(0.285 0.027 133.123);
  --secondary-foreground: oklch(0.824 0.035 132.683);
  --accent: oklch(0.362 0.051 133.566);
  --accent-foreground: oklch(0.874 0.038 132.69);
  --destructive: oklch(0.656 0.191 38.59);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.864 0.075 133.054);
  --chart-1: oklch(0.864 0.075 133.054);
  --chart-2: oklch(0.285 0.027 133.123);
  --chart-3: oklch(0.362 0.051 133.566);
  --chart-4: oklch(0.319 0.031 133.159);
  --chart-5: oklch(0.867 0.08 133.102);
}