Garbage is a shadcn/ui theme built around a vivid green primary color (#47eb94) with vivid teal accents (#47ebe5). The light mode uses a neutral background (#f7fdfa). Dark mode keeps the vivid green primary (#47eb94) on a green-tinted background (#060e0a).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fdfamintcream | #060e0ablack |
| Foreground | #000000black | #f9fbfamintcream |
| Card | #f7fdfamintcream | #060e0ablack |
| Card foreground | #000000black | #f9fbfamintcream |
| Popover | #f7fdfamintcream | #060e0ablack |
| Popover foreground | #000000black | #f9fbfamintcream |
| Primary | #47eb94mediumaquamarine | #47eb94mediumaquamarine |
| Primary foreground | #000000black | #000000black |
| Secondary | #4deb47limegreen | #4deb47limegreen |
| Secondary foreground | #000000black | #000000black |
| Muted | #dee3degainsboro | #1d211cblack |
| Muted foreground | #485747darkslategray | #a9b8a8darkgray |
| Accent | #47ebe5turquoise | #47ebe5turquoise |
| Accent foreground | #000000black | #000000black |
| Destructive | #9a1304darkred | #f9351forangered |
| Destructive foreground | #fed7d2bisque | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #47eb94mediumaquamarine | #47eb94mediumaquamarine |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.33:1 | AAA |
| Text on card | 20.33:1 | AAA |
| Primary button | 13.53:1 | AAA |
| Secondary button | 13.24:1 | AAA |
| Muted text | 5.90:1 | AA |
| Accent | 14.24:1 | AAA |
| Destructive | 6.41:1 | AA |
| Text on background | 18.78:1 | AAA |
| Text on card | 18.78:1 | AAA |
| Primary button | 13.53:1 | AAA |
| Secondary button | 13.24:1 | AAA |
| Muted text | 7.87:1 | AAA |
| Accent | 14.24:1 | AAA |
| Destructive | 3.77:1 | AA Large |
Paste this into your globals.css to use Garbage in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.007 163.269);
--foreground: oklch(0 0 0);
--muted: oklch(0.91 0.007 144.567);
--muted-foreground: oklch(0.439 0.032 144.137);
--popover: oklch(0.988 0.007 163.269);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.988 0.007 163.269);
--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.835 0.182 155.25);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.826 0.241 142.586);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.856 0.131 191.685);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.439 0.169 30.6);
--destructive-foreground: oklch(0.91 0.045 25.463);
--ring: oklch(0.835 0.182 155.25);
--chart-1: oklch(0.835 0.182 155.25);
--chart-2: oklch(0.826 0.241 142.586);
--chart-3: oklch(0.856 0.131 191.685);
--chart-4: oklch(0.835 0.229 142.7);
--chart-5: oklch(0.842 0.187 154.967);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.154 0.016 162.085);
--foreground: oklch(0.986 0.003 163.365);
--muted: oklch(0.241 0.01 144.345);
--muted-foreground: oklch(0.766 0.028 144.381);
--popover: oklch(0.154 0.016 162.085);
--popover-foreground: oklch(0.986 0.003 163.365);
--card: oklch(0.154 0.016 162.085);
--card-foreground: oklch(0.986 0.003 163.365);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.835 0.182 155.25);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.826 0.241 142.586);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.856 0.131 191.685);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.639 0.233 30.505);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.835 0.182 155.25);
--chart-1: oklch(0.835 0.182 155.25);
--chart-2: oklch(0.826 0.241 142.586);
--chart-3: oklch(0.856 0.131 191.685);
--chart-4: oklch(0.835 0.229 142.7);
--chart-5: oklch(0.842 0.187 154.967);
}