Evolution is a shadcn/ui theme built around an orange primary color (#aa6f3c) with violet accents (#6f3caa). The light mode uses a neutral background (#ffffff). Dark mode keeps the orange primary (#aa6f3c) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #0c0703black | #fbfaf9snow |
| Card | #ffffffwhite | #000000black |
| Card foreground | #0c0703black | #fbfaf9snow |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #0c0703black | #fbfaf9snow |
| Primary | #aa6f3csienna | #aa6f3csienna |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #3caa6fmediumseagreen | #3caa6fmediumseagreen |
| Secondary foreground | #07130cblack | #07130cblack |
| Muted | #eff1f0whitesmoke | #0e100fblack |
| Muted foreground | #506d5ddimgray | #92afa0darkseagreen |
| Accent | #6f3caarebeccapurple | #6f3caarebeccapurple |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #840806maroon | #f6211ecrimson |
| Destructive foreground | #fcc0bflightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #aa6f3csienna | #aa6f3csienna |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.05:1 | AAA |
| Text on card | 20.05:1 | AAA |
| Primary button | 4.16:1 | AA Large |
| Secondary button | 6.46:1 | AA |
| Muted text | 5.00:1 | AA |
| Accent | 7.25:1 | AAA |
| Destructive | 6.65:1 | AA |
| Text on background | 20.14:1 | AAA |
| Text on card | 20.14:1 | AAA |
| Primary button | 4.16:1 | AA Large |
| Secondary button | 6.46:1 | AA |
| Muted text | 8.03:1 | AAA |
| Accent | 7.25:1 | AAA |
| Destructive | 4.08:1 | AA Large |
Paste this into your globals.css to use Evolution in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.136 0.017 72.425);
--muted: oklch(0.956 0.003 163.372);
--muted-foreground: oklch(0.506 0.041 161.202);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.136 0.017 72.425);
--card: oklch(1 0 180);
--card-foreground: oklch(0.136 0.017 72.425);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.594 0.1 60.127);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.66 0.133 156.209);
--secondary-foreground: oklch(0.172 0.023 160.186);
--accent: oklch(0.475 0.17 301.704);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.389 0.154 28.945);
--destructive-foreground: oklch(0.863 0.069 19.709);
--ring: oklch(0.594 0.1 60.127);
--chart-1: oklch(0.594 0.1 60.127);
--chart-2: oklch(0.66 0.133 156.209);
--chart-3: oklch(0.475 0.17 301.704);
--chart-4: oklch(0.692 0.14 156.162);
--chart-5: oklch(0.597 0.106 59.7);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.985 0.002 64.061);
--muted: oklch(0.172 0.004 162.819);
--muted-foreground: oklch(0.728 0.038 162.055);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.985 0.002 64.061);
--card: oklch(0 0 0);
--card-foreground: oklch(0.985 0.002 64.061);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.594 0.1 60.127);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.66 0.133 156.209);
--secondary-foreground: oklch(0.172 0.023 160.186);
--accent: oklch(0.475 0.17 301.704);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.621 0.24 28.473);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.594 0.1 60.127);
--chart-1: oklch(0.594 0.1 60.127);
--chart-2: oklch(0.66 0.133 156.209);
--chart-3: oklch(0.475 0.17 301.704);
--chart-4: oklch(0.692 0.14 156.162);
--chart-5: oklch(0.597 0.106 59.7);
}