Involvement for shadcn/ui

Involvement is a shadcn/ui theme built around a vivid green primary color (#00bd16) with vivid red accents (#bd1600). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid green primary (#00bd16) on a green-tinted background (#030c04).

Color palette

TokenLightDark
Background
#ffffffwhite
#030c04black
Foreground
#030803black
#f8fcf9mintcream
Card
#fcfcfcsnow
#041006black
Card foreground
#010402black
#fcfdfcwhite
Popover
#fcfcfcsnow
#041006black
Popover foreground
#010402black
#fcfdfcwhite
Primary
#00bd16limegreen
#00bd16limegreen
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#1600bdmediumblue
#1600bdmediumblue
Secondary foreground
#f1f0ffaliceblue
#f1f0ffaliceblue
Muted
#d6d5ddgainsboro
#23222adarkslategray
Muted foreground
#615f6ddimgray
#9492a0lightslategray
Accent
#bd1600firebrick
#bd1600firebrick
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#c4350efirebrick
#ef481aorangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#00bd16limegreen
#00bd16limegreen

Contrast

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

Light mode
Text on background20.19:1AAA
Text on card20.15:1AAA
Primary button2.54:1Fail
Secondary button10.55:1AAA
Muted text4.26:1AA Large
Accent6.42:1AA
Destructive5.45:1AA
Dark mode
Text on background19.15:1AAA
Text on card19.01:1AAA
Primary button2.54:1Fail
Secondary button10.55:1AAA
Muted text5.15:1AA
Accent6.42:1AA
Destructive3.73:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.122 0.019 148.067);
  --muted: oklch(0.875 0.012 291.531);
  --muted-foreground: oklch(0.492 0.023 290.896);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.097 0.015 148.067);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.097 0.015 148.067);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.691 0.231 143.076);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.366 0.246 267.362);
  --secondary-foreground: oklch(0.96 0.02 291.375);
  --accent: oklch(0.508 0.199 30.835);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.543 0.185 34.612);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.691 0.231 143.076);
  --chart-1: oklch(0.691 0.231 143.076);
  --chart-2: oklch(0.366 0.246 267.362);
  --chart-3: oklch(0.508 0.199 30.835);
  --chart-4: oklch(0.388 0.261 267.181);
  --chart-5: oklch(0.699 0.234 143.027);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.141 0.026 147.829);
  --foreground: oklch(0.986 0.005 149.072);
  --muted: oklch(0.257 0.016 290.598);
  --muted-foreground: oklch(0.666 0.021 291.18);
  --popover: oklch(0.157 0.03 147.478);
  --popover-foreground: oklch(0.993 0.003 149.103);
  --card: oklch(0.157 0.03 147.478);
  --card-foreground: oklch(0.993 0.003 149.103);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.691 0.231 143.076);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.366 0.246 267.362);
  --secondary-foreground: oklch(0.96 0.02 291.375);
  --accent: oklch(0.508 0.199 30.835);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.637 0.21 35.025);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.691 0.231 143.076);
  --chart-1: oklch(0.691 0.231 143.076);
  --chart-2: oklch(0.366 0.246 267.362);
  --chart-3: oklch(0.508 0.199 30.835);
  --chart-4: oklch(0.388 0.261 267.181);
  --chart-5: oklch(0.699 0.234 143.027);
}