Beetle is a shadcn/ui theme built around a vivid light green primary color (#bdfb8d) with vivid light violet accents (#cc8dfb). The light mode uses a neutral background (#fafdf7). Dark mode keeps the vivid light green primary (#bdfb8d) on a neutral background (#050703).
| Token | Light | Dark |
|---|---|---|
| Background | #fafdf7mintcream | #050703black |
| Foreground | #000000black | #f7f8f6whitesmoke |
| Card | #fafdf7mintcream | #050703black |
| Card foreground | #000000black | #f7f8f6whitesmoke |
| Popover | #fafdf7mintcream | #050703black |
| Popover foreground | #000000black | #f7f8f6whitesmoke |
| Primary | #bdfb8dpalegreen | #bdfb8dpalegreen |
| Primary foreground | #265403darkgreen | #265403darkgreen |
| Secondary | #cc8dfbviolet | #cc8dfbviolet |
| Secondary foreground | #310354midnightblue | #310354midnightblue |
| Muted | #ece3f2lavender | #150d1cblack |
| Muted foreground | #424144darkslategray | #bdbbbesilver |
| Accent | #cc8dfbviolet | #cc8dfbviolet |
| Accent foreground | #310354midnightblue | #310354midnightblue |
| Destructive | #6b0606maroon | #f42a2acrimson |
| Destructive foreground | #faa8a8lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #bdfb8dpalegreen | #bdfb8dpalegreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.42:1 | AAA |
| Text on card | 20.42:1 | AAA |
| Primary button | 7.40:1 | AAA |
| Secondary button | 6.90:1 | AA |
| Muted text | 8.11:1 | AAA |
| Accent | 6.90:1 | AA |
| Destructive | 6.81:1 | AA |
| Text on background | 18.98:1 | AAA |
| Text on card | 18.98:1 | AAA |
| Primary button | 7.40:1 | AAA |
| Secondary button | 6.90:1 | AA |
| Muted text | 9.96:1 | AAA |
| Accent | 6.90:1 | AA |
| Destructive | 4.03:1 | AA Large |
Paste this into your globals.css to use Beetle in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.009 131.16);
--foreground: oklch(0 0 0);
--muted: oklch(0.927 0.023 310.871);
--muted-foreground: oklch(0.378 0.005 310.972);
--popover: oklch(0.989 0.009 131.16);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.989 0.009 131.16);
--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.923 0.154 132.842);
--primary-foreground: oklch(0.398 0.117 136.123);
--secondary: oklch(0.748 0.165 309.036);
--secondary-foreground: oklch(0.255 0.129 303.067);
--accent: oklch(0.748 0.165 309.036);
--accent-foreground: oklch(0.255 0.129 303.067);
--destructive: oklch(0.335 0.132 28.337);
--destructive-foreground: oklch(0.811 0.098 19.413);
--ring: oklch(0.923 0.154 132.842);
--chart-1: oklch(0.923 0.154 132.842);
--chart-2: oklch(0.748 0.165 309.036);
--chart-3: oklch(0.748 0.165 309.036);
--chart-4: oklch(0.779 0.144 309.42);
--chart-5: oklch(0.926 0.158 132.901);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.123 0.014 130.113);
--foreground: oklch(0.979 0.003 131.114);
--muted: oklch(0.178 0.034 309.373);
--muted-foreground: oklch(0.795 0.004 311.04);
--popover: oklch(0.123 0.014 130.113);
--popover-foreground: oklch(0.979 0.003 131.114);
--card: oklch(0.123 0.014 130.113);
--card-foreground: oklch(0.979 0.003 131.114);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.923 0.154 132.842);
--primary-foreground: oklch(0.398 0.117 136.123);
--secondary: oklch(0.748 0.165 309.036);
--secondary-foreground: oklch(0.255 0.129 303.067);
--accent: oklch(0.748 0.165 309.036);
--accent-foreground: oklch(0.255 0.129 303.067);
--destructive: oklch(0.623 0.233 27.424);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.923 0.154 132.842);
--chart-1: oklch(0.923 0.154 132.842);
--chart-2: oklch(0.748 0.165 309.036);
--chart-3: oklch(0.748 0.165 309.036);
--chart-4: oklch(0.779 0.144 309.42);
--chart-5: oklch(0.926 0.158 132.901);
}