Biodegradable is a shadcn/ui theme built around a muted deep teal primary color (#1e3432) with muted teal accents (#aacbc8). The light mode uses a neutral background (#f6fdfd). Dark mode keeps the muted deep teal primary (#1e3432) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #f6fdfdmintcream | #000000black |
| Foreground | #05100fblack | #fcfdfdwhite |
| Card | #f6fdfdmintcream | #000000black |
| Card foreground | #05100fblack | #fcfdfdwhite |
| Popover | #f6fdfdmintcream | #000000black |
| Popover foreground | #05100fblack | #fcfdfdwhite |
| Primary | #1e3432darkslategray | #1e3432darkslategray |
| Primary foreground | #b1d2d0lightsteelblue | #b1d2d0lightsteelblue |
| Secondary | #c8dad8lightgrey | #1e201fblack |
| Secondary foreground | #2d4341darkslategray | #b5bab9silver |
| Muted | #cbe7e5gainsboro | #183432darkslategray |
| Muted foreground | #4e5655darkslategray | #a9b1b1darkgray |
| Accent | #aacbc8lightsteelblue | #2b3635darkslategray |
| Accent foreground | #192928darkslategray | #c3d0cflightgrey |
| Destructive | #7f1a0bmaroon | #ee523atomato |
| Destructive foreground | #fac9c2pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #1e3432darkslategray | #1e3432darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.80:1 | AAA |
| Text on card | 18.80:1 | AAA |
| Primary button | 8.18:1 | AAA |
| Secondary button | 7.26:1 | AAA |
| Muted text | 5.76:1 | AA |
| Accent | 8.67:1 | AAA |
| Destructive | 6.91:1 | AA |
| Text on background | 20.60:1 | AAA |
| Text on card | 20.60:1 | AAA |
| Primary button | 8.18:1 | AAA |
| Secondary button | 8.37:1 | AAA |
| Muted text | 6.06:1 | AA |
| Accent | 7.85:1 | AAA |
| Destructive | 3.56:1 | AA Large |
Paste this into your globals.css to use Biodegradable in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.007 191.087);
--foreground: oklch(0.16 0.018 189.234);
--muted: oklch(0.906 0.03 190.521);
--muted-foreground: oklch(0.445 0.01 190.735);
--popover: oklch(0.99 0.007 191.087);
--popover-foreground: oklch(0.16 0.018 189.234);
--card: oklch(0.99 0.007 191.087);
--card-foreground: oklch(0.16 0.018 189.234);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.305 0.028 189.104);
--primary-foreground: oklch(0.84 0.035 190.319);
--secondary: oklch(0.874 0.019 190.777);
--secondary-foreground: oklch(0.364 0.027 189.568);
--accent: oklch(0.816 0.036 190.286);
--accent-foreground: oklch(0.267 0.022 189.407);
--destructive: oklch(0.391 0.137 31.631);
--destructive-foreground: oklch(0.877 0.056 28.396);
--ring: oklch(0.305 0.028 189.104);
--chart-1: oklch(0.305 0.028 189.104);
--chart-2: oklch(0.874 0.019 190.777);
--chart-3: oklch(0.816 0.036 190.286);
--chart-4: oklch(0.895 0.016 190.866);
--chart-5: oklch(0.308 0.031 188.902);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.994 0.002 191.207);
--muted: oklch(0.304 0.035 188.489);
--muted-foreground: oklch(0.755 0.009 190.982);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.994 0.002 191.207);
--card: oklch(0 0 0);
--card-foreground: oklch(0.994 0.002 191.207);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.305 0.028 189.104);
--primary-foreground: oklch(0.84 0.035 190.319);
--secondary: oklch(0.239 0.003 190.997);
--secondary-foreground: oklch(0.785 0.005 191.115);
--accent: oklch(0.323 0.016 190.172);
--accent-foreground: oklch(0.847 0.014 190.886);
--destructive: oklch(0.648 0.196 31.455);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.305 0.028 189.104);
--chart-1: oklch(0.305 0.028 189.104);
--chart-2: oklch(0.239 0.003 190.997);
--chart-3: oklch(0.323 0.016 190.172);
--chart-4: oklch(0.272 0.003 190.98);
--chart-5: oklch(0.308 0.031 188.902);
}