Coevolution is a shadcn/ui theme built around a muted teal primary color (#5d8283) with muted blue accents (#5d6f83). The light mode uses a neutral background (#f8fcfc). Dark mode keeps the muted teal primary (#5d8283) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fcfcmintcream | #000000black |
| Foreground | #020808black | #f8fcfcmintcream |
| Card | #f4fafamintcream | #030303black |
| Card foreground | #010404black | #fcfdfdwhite |
| Popover | #f4fafamintcream | #030303black |
| Popover foreground | #010404black | #fcfdfdwhite |
| Primary | #5d8283slategray | #5d8283slategray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #5d8371dimgray | #5d8371dimgray |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #eaf5f0honeydew | #0a1510black |
| Muted foreground | #4a5952darkslategray | #a6b5aedarkgray |
| Accent | #5d6f83slategray | #5d6f83slategray |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #c5340dfirebrick | #d83a0eorangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #5d8283slategray | #5d8283slategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.49:1 | AAA |
| Text on card | 19.55:1 | AAA |
| Primary button | 4.20:1 | AA Large |
| Secondary button | 4.22:1 | AA Large |
| Muted text | 6.63:1 | AA |
| Accent | 5.16:1 | AA |
| Destructive | 5.43:1 | AA |
| Text on background | 20.32:1 | AAA |
| Text on card | 20.29:1 | AAA |
| Primary button | 4.20:1 | AA Large |
| Secondary button | 4.22:1 | AA Large |
| Muted text | 8.73:1 | AAA |
| Accent | 5.16:1 | AA |
| Destructive | 4.65:1 | AA |
Paste this into your globals.css to use Coevolution in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.004 199.546);
--foreground: oklch(0.124 0.013 197.784);
--muted: oklch(0.961 0.014 166.511);
--muted-foreground: oklch(0.449 0.021 165.542);
--popover: oklch(0.981 0.006 199.516);
--popover-foreground: oklch(0.098 0.01 197.784);
--card: oklch(0.981 0.006 199.516);
--card-foreground: oklch(0.098 0.01 197.784);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.58 0.041 198.758);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.577 0.051 164.222);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.534 0.039 251.961);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.544 0.186 34.518);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.58 0.041 198.758);
--chart-1: oklch(0.58 0.041 198.758);
--chart-2: oklch(0.577 0.051 164.222);
--chart-3: oklch(0.534 0.039 251.961);
--chart-4: oklch(0.605 0.054 164.202);
--chart-5: oklch(0.586 0.048 198.664);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.987 0.004 199.553);
--muted: oklch(0.183 0.02 163.481);
--muted-foreground: oklch(0.759 0.019 166.211);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(0.994 0.002 199.58);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.994 0.002 199.58);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.58 0.041 198.758);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.577 0.051 164.222);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.534 0.039 251.961);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.583 0.201 34.427);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.58 0.041 198.758);
--chart-1: oklch(0.58 0.041 198.758);
--chart-2: oklch(0.577 0.051 164.222);
--chart-3: oklch(0.534 0.039 251.961);
--chart-4: oklch(0.605 0.054 164.202);
--chart-5: oklch(0.586 0.048 198.664);
}