Sparkling Green Bedbug for shadcn/ui

Sparkling Green Bedbug is a shadcn/ui theme built around a vivid green primary color (#73ec27) with vivid green accents (#27ec3e). The light mode uses a neutral background (#f9fcf7). Dark mode keeps the vivid green primary (#73ec27) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#f9fcf7mintcream
#000000black
Foreground
#060d02black
#f7f9f6whitesmoke
Card
#f9fcf7mintcream
#000000black
Card foreground
#060d02black
#f7f9f6whitesmoke
Popover
#f9fcf7mintcream
#000000black
Popover foreground
#060d02black
#f7f9f6whitesmoke
Primary
#73ec27lawngreen
#73ec27lawngreen
Primary foreground
#1d4206darkgreen
#1d4206darkgreen
Secondary
#d5ec27greenyellow
#d5ec27greenyellow
Secondary foreground
#3b4206darkolivegreen
#3b4206darkolivegreen
Muted
#e0e1dbgainsboro
#23241eblack
Muted foreground
#666954dimgray
#a9ab96darkgray
Accent
#27ec3elimegreen
#27ec3elimegreen
Accent foreground
#06420ddarkgreen
#06420ddarkgreen
Destructive
#a0190dfirebrick
#ef4c3etomato
Destructive foreground
#fde5e3mistyrose
#ffffffwhite
Border
#edeeedwhitesmoke
#212220black
Input
#edeeedwhitesmoke
#212220black
Ring
#73ec27lawngreen
#73ec27lawngreen

Contrast

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

Light mode
Text on background19.10:1AAA
Text on card19.10:1AAA
Primary button7.51:1AAA
Secondary button8.07:1AAA
Muted text4.29:1AA Large
Accent7.35:1AAA
Destructive6.60:1AA
Dark mode
Text on background19.83:1AAA
Text on card19.83:1AAA
Primary button7.51:1AAA
Secondary button8.07:1AAA
Muted text6.65:1AA
Accent7.35:1AAA
Destructive3.62:1AA Large

CSS variables

Paste this into your globals.css to use Sparkling Green Bedbug in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.989 0.007 133.037);
  --foreground: oklch(0.148 0.031 131.431);
  --muted: oklch(0.907 0.008 111.946);
  --muted-foreground: oklch(0.512 0.032 112.929);
  --popover: oklch(0.989 0.007 133.037);
  --popover-foreground: oklch(0.148 0.031 131.431);
  --card: oklch(0.989 0.007 133.037);
  --card-foreground: oklch(0.148 0.031 131.431);
  --border: oklch(0.947 0.002 132.997);
  --input: oklch(0.947 0.002 132.997);
  --primary: oklch(0.84 0.243 137.076);
  --primary-foreground: oklch(0.337 0.095 136.642);
  --secondary: oklch(0.896 0.198 116.809);
  --secondary-foreground: oklch(0.359 0.078 116.554);
  --accent: oklch(0.823 0.257 143.901);
  --accent-foreground: oklch(0.33 0.101 144.234);
  --destructive: oklch(0.456 0.171 30.064);
  --destructive-foreground: oklch(0.94 0.026 23.874);
  --ring: oklch(0.84 0.243 137.076);
  --chart-1: oklch(0.84 0.243 137.076);
  --chart-2: oklch(0.896 0.198 116.809);
  --chart-3: oklch(0.823 0.257 143.901);
  --chart-4: oklch(0.902 0.193 116.441);
  --chart-5: oklch(0.848 0.249 137.246);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.979 0.004 133.017);
  --muted: oklch(0.258 0.011 112.566);
  --muted-foreground: oklch(0.734 0.029 112.521);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.979 0.004 133.017);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.979 0.004 133.017);
  --border: oklch(0.251 0.004 133.099);
  --input: oklch(0.251 0.004 133.099);
  --primary: oklch(0.84 0.243 137.076);
  --primary-foreground: oklch(0.337 0.095 136.642);
  --secondary: oklch(0.896 0.198 116.809);
  --secondary-foreground: oklch(0.359 0.078 116.554);
  --accent: oklch(0.823 0.257 143.901);
  --accent-foreground: oklch(0.33 0.101 144.234);
  --destructive: oklch(0.645 0.202 29.023);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.84 0.243 137.076);
  --chart-1: oklch(0.84 0.243 137.076);
  --chart-2: oklch(0.896 0.198 116.809);
  --chart-3: oklch(0.823 0.257 143.901);
  --chart-4: oklch(0.902 0.193 116.441);
  --chart-5: oklch(0.848 0.249 137.246);
}