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).
| Token | Light | Dark |
|---|---|---|
| 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 |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.10:1 | AAA |
| Text on card | 19.10:1 | AAA |
| Primary button | 7.51:1 | AAA |
| Secondary button | 8.07:1 | AAA |
| Muted text | 4.29:1 | AA Large |
| Accent | 7.35:1 | AAA |
| Destructive | 6.60:1 | AA |
| Text on background | 19.83:1 | AAA |
| Text on card | 19.83:1 | AAA |
| Primary button | 7.51:1 | AAA |
| Secondary button | 8.07:1 | AAA |
| Muted text | 6.65:1 | AA |
| Accent | 7.35:1 | AAA |
| Destructive | 3.62:1 | AA Large |
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);
}