Teeming for shadcn/ui

Teeming is a shadcn/ui theme built around a muted deep green primary color (#445634) with muted deep pink accents (#563444). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted deep green primary (#445634) on a green-tinted background (#0a0e06).

Color palette

TokenLightDark
Background
#ffffffwhite
#0a0e06black
Foreground
#0c1405black
#f7f8f6whitesmoke
Card
#fcfcfcsnow
#0d1207black
Card foreground
#0a1004black
#fafbf9snow
Popover
#fcfcfcsnow
#0d1207black
Popover foreground
#0a1004black
#fafbf9snow
Primary
#445634darkolivegreen
#445634darkolivegreen
Primary foreground
#dee6d6gainsboro
#dee6d6gainsboro
Secondary
#344456darkslategray
#344456darkslategray
Secondary foreground
#d6dee6gainsboro
#d6dee6gainsboro
Muted
#e4eaf1lavender
#0e141bblack
Muted foreground
#424242darkslategray
#bdbdbdsilver
Accent
#563444darkslategray
#563444darkslategray
Accent foreground
#e6d6degainsboro
#e6d6degainsboro
Destructive
#690702maroon
#eb1005red
Destructive foreground
#fda5a0lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#445634darkolivegreen
#445634darkolivegreen

Contrast

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

Light mode
Text on background18.78:1AAA
Text on card18.87:1AAA
Primary button6.23:1AA
Secondary button7.31:1AAA
Muted text8.32:1AAA
Accent7.65:1AAA
Destructive6.77:1AA
Dark mode
Text on background18.23:1AAA
Text on card18.27:1AAA
Primary button6.23:1AA
Secondary button7.31:1AAA
Muted text9.84:1AAA
Accent7.65:1AAA
Destructive4.55:1AA

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.18 0.033 130.467);
  --muted: oklch(0.935 0.011 249.763);
  --muted-foreground: oklch(0.38 0 180);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.163 0.028 129.344);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.163 0.028 129.344);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.429 0.058 130.738);
  --primary-foreground: oklch(0.914 0.024 129.406);
  --secondary: oklch(0.381 0.037 250.502);
  --secondary-foreground: oklch(0.896 0.015 249.8);
  --accent: oklch(0.371 0.055 349.69);
  --accent-foreground: oklch(0.89 0.021 346.637);
  --destructive: oklch(0.332 0.13 29.987);
  --destructive-foreground: oklch(0.807 0.106 22.959);
  --ring: oklch(0.429 0.058 130.738);
  --chart-1: oklch(0.429 0.058 130.738);
  --chart-2: oklch(0.381 0.037 250.502);
  --chart-3: oklch(0.371 0.055 349.69);
  --chart-4: oklch(0.409 0.041 250.518);
  --chart-5: oklch(0.434 0.065 130.931);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.158 0.02 129.32);
  --foreground: oklch(0.979 0.003 129.161);
  --muted: oklch(0.189 0.017 250.424);
  --muted-foreground: oklch(0.797 0 180);
  --popover: oklch(0.173 0.023 130.329);
  --popover-foreground: oklch(0.986 0.002 129.149);
  --card: oklch(0.173 0.023 130.329);
  --card-foreground: oklch(0.986 0.002 129.149);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.429 0.058 130.738);
  --primary-foreground: oklch(0.914 0.024 129.406);
  --secondary: oklch(0.381 0.037 250.502);
  --secondary-foreground: oklch(0.896 0.015 249.8);
  --accent: oklch(0.371 0.055 349.69);
  --accent-foreground: oklch(0.89 0.021 346.637);
  --destructive: oklch(0.594 0.239 29.558);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.429 0.058 130.738);
  --chart-1: oklch(0.429 0.058 130.738);
  --chart-2: oklch(0.381 0.037 250.502);
  --chart-3: oklch(0.371 0.055 349.69);
  --chart-4: oklch(0.409 0.041 250.518);
  --chart-5: oklch(0.434 0.065 130.931);
}