Evolution is a shadcn/ui theme built around a neutral gray primary color (#8c7d8c) with neutral gray accents (#7d8c8c). The light mode uses a neutral background (#fdfbfd). Dark mode keeps the neutral gray primary (#8c7d8c) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfbfdsnow | #000000black |
| Foreground | #000000black | #f8f6f8whitesmoke |
| Card | #fcf8fcsnow | #030303black |
| Card foreground | #000000black | #fbf9fbsnow |
| Popover | #fdfbfdsnow | #000000black |
| Popover foreground | #000000black | #f8f6f8whitesmoke |
| Primary | #8c7d8cgray | #8c7d8cgray |
| Primary foreground | #000000black | #000000black |
| Secondary | #8c8c7dgray | #8c8c7dgray |
| Secondary foreground | #000000black | #000000black |
| Muted | #e7e7degainsboro | #212118black |
| Muted foreground | #424242darkslategray | #bdbdbdsilver |
| Accent | #7d8c8clightslategray | #7d8c8clightslategray |
| Accent foreground | #000000black | #000000black |
| Destructive | #c31104firebrick | #fa2819orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #8c7d8cgray | #8c7d8cgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.47:1 | AAA |
| Text on card | 19.95:1 | AAA |
| Primary button | 5.43:1 | AA |
| Secondary button | 6.15:1 | AA |
| Muted text | 8.11:1 | AAA |
| Accent | 6.00:1 | AA |
| Destructive | 6.17:1 | AA |
| Text on background | 19.52:1 | AAA |
| Text on card | 19.73:1 | AAA |
| Primary button | 5.43:1 | AA |
| Secondary button | 6.15:1 | AA |
| Muted text | 8.67:1 | AAA |
| Accent | 6.00:1 | AA |
| Destructive | 3.89:1 | AA Large |
Paste this into your globals.css to use Evolution in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0.003 325.601);
--foreground: oklch(0 0 0);
--muted: oklch(0.927 0.012 106.631);
--muted-foreground: oklch(0.38 0 180);
--popover: oklch(0.992 0.003 325.601);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.983 0.007 325.626);
--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.609 0.028 325.914);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.636 0.021 106.993);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.628 0.017 196.726);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.518 0.206 29.845);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.609 0.028 325.914);
--chart-1: oklch(0.609 0.028 325.914);
--chart-2: oklch(0.636 0.021 106.993);
--chart-3: oklch(0.628 0.017 196.726);
--chart-4: oklch(0.66 0.02 106.932);
--chart-5: oklch(0.606 0.042 326.079);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.976 0.004 325.606);
--muted: oklch(0.243 0.016 107.558);
--muted-foreground: oklch(0.797 0 180);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.976 0.004 325.606);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.984 0.003 325.596);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.609 0.028 325.914);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.636 0.021 106.993);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.628 0.017 196.726);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.632 0.241 29.676);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.609 0.028 325.914);
--chart-1: oklch(0.609 0.028 325.914);
--chart-2: oklch(0.636 0.021 106.993);
--chart-3: oklch(0.628 0.017 196.726);
--chart-4: oklch(0.66 0.02 106.932);
--chart-5: oklch(0.606 0.042 326.079);
}