Teeming for shadcn/ui

Teeming is a shadcn/ui theme built around a vivid green primary color (#059e00) with vivid green accents (#009e4a). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid green primary (#059e00) on a green-tinted background (#070d07).

Color palette

TokenLightDark
Background
#ffffffwhite
#070d07black
Foreground
#000000black
#f9fbf8mintcream
Card
#ffffffwhite
#070d07black
Card foreground
#000000black
#f9fbf8mintcream
Popover
#ffffffwhite
#070d07black
Popover foreground
#000000black
#f9fbf8mintcream
Primary
#059e00green
#059e00green
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#549e00olivedrab
#549e00olivedrab
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#dee1dbgainsboro
#21241eblack
Muted foreground
#40413edarkslategray
#bfc1besilver
Accent
#009e4aseagreen
#009e4aseagreen
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#772609saddlebrown
#da4610chocolate
Destructive foreground
#fac9b8peachpuff
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#059e00green
#059e00green

Contrast

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

Light mode
Text on background21.00:1AAA
Text on card21.00:1AAA
Primary button3.55:1AA Large
Secondary button3.34:1AA Large
Muted text7.75:1AAA
Accent3.50:1AA Large
Destructive6.84:1AA
Dark mode
Text on background18.82:1AAA
Text on card18.82:1AAA
Primary button3.55:1AA Large
Secondary button3.34:1AA Large
Muted text8.67:1AAA
Accent3.50:1AA Large
Destructive4.30:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.905 0.008 127.215);
  --muted-foreground: oklch(0.373 0.005 127.262);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.607 0.206 142.358);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.626 0.181 134.456);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.612 0.167 150.434);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.389 0.119 38.011);
  --destructive-foreground: oklch(0.875 0.06 40.938);
  --ring: oklch(0.607 0.206 142.358);
  --chart-1: oklch(0.607 0.206 142.358);
  --chart-2: oklch(0.626 0.181 134.456);
  --chart-3: oklch(0.612 0.167 150.434);
  --chart-4: oklch(0.67 0.194 134.564);
  --chart-5: oklch(0.613 0.209 142.344);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.151 0.017 143.718);
  --foreground: oklch(0.986 0.005 144.588);
  --muted: oklch(0.255 0.01 127.62);
  --muted-foreground: oklch(0.808 0.004 127.169);
  --popover: oklch(0.151 0.017 143.718);
  --popover-foreground: oklch(0.986 0.005 144.588);
  --card: oklch(0.151 0.017 143.718);
  --card-foreground: oklch(0.986 0.005 144.588);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.607 0.206 142.358);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.626 0.181 134.456);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.612 0.167 150.434);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.6 0.193 37.128);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.607 0.206 142.358);
  --chart-1: oklch(0.607 0.206 142.358);
  --chart-2: oklch(0.626 0.181 134.456);
  --chart-3: oklch(0.612 0.167 150.434);
  --chart-4: oklch(0.67 0.194 134.564);
  --chart-5: oklch(0.613 0.209 142.344);
}