Eve is a shadcn/ui theme built around a deep teal primary color (#166947) with deep orange accents (#694716). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep teal primary (#166947) on a teal-tinted background (#050a08).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #050a08black |
| Foreground | #020806black | #ffffffwhite |
| Card | #ffffffwhite | #050a08black |
| Card foreground | #020806black | #ffffffwhite |
| Popover | #ffffffwhite | #050a08black |
| Popover foreground | #020806black | #ffffffwhite |
| Primary | #166947darkslategray | #166947darkslategray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #471669indigo | #471669indigo |
| Secondary foreground | #ddc0f2thistle | #ddc0f2thistle |
| Muted | #e8e6ealavender | #171519black |
| Muted foreground | #5d5365dimgray | #a59aacdarkgray |
| Accent | #694716saddlebrown | #694716saddlebrown |
| Accent foreground | #f2ddc0wheat | #f2ddc0wheat |
| Destructive | #a71406firebrick | #e21a08red |
| Destructive foreground | #fee4e1mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #166947darkslategray | #166947darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.19:1 | AAA |
| Text on card | 20.19:1 | AAA |
| Primary button | 6.65:1 | AA |
| Secondary button | 8.12:1 | AAA |
| Muted text | 5.87:1 | AA |
| Accent | 6.33:1 | AA |
| Destructive | 6.32:1 | AA |
| Text on background | 19.92:1 | AAA |
| Text on card | 19.92:1 | AAA |
| Primary button | 6.65:1 | AA |
| Secondary button | 8.12:1 | AAA |
| Muted text | 6.73:1 | AA |
| Accent | 6.33:1 | AA |
| Destructive | 4.77:1 | AA |
Paste this into your globals.css to use Eve in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.124 0.015 169.915);
--muted: oklch(0.929 0.005 311.683);
--muted-foreground: oklch(0.458 0.032 311.16);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.124 0.015 169.915);
--card: oklch(1 0 180);
--card-foreground: oklch(0.124 0.015 169.915);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.464 0.095 160.346);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.326 0.137 306.746);
--secondary-foreground: oklch(0.848 0.075 311.016);
--accent: oklch(0.426 0.078 71.438);
--accent-foreground: oklch(0.907 0.045 76.315);
--destructive: oklch(0.465 0.181 30.14);
--destructive-foreground: oklch(0.939 0.029 23.906);
--ring: oklch(0.464 0.095 160.346);
--chart-1: oklch(0.464 0.095 160.346);
--chart-2: oklch(0.326 0.137 306.746);
--chart-3: oklch(0.426 0.078 71.438);
--chart-4: oklch(0.351 0.149 306.597);
--chart-5: oklch(0.469 0.098 159.948);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.138 0.01 169.822);
--foreground: oklch(1 0 180);
--muted: oklch(0.201 0.007 311.446);
--muted-foreground: oklch(0.701 0.029 311.392);
--popover: oklch(0.138 0.01 169.822);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.138 0.01 169.822);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.464 0.095 160.346);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.326 0.137 306.746);
--secondary-foreground: oklch(0.848 0.075 311.016);
--accent: oklch(0.426 0.078 71.438);
--accent-foreground: oklch(0.907 0.045 76.315);
--destructive: oklch(0.581 0.228 30.042);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.464 0.095 160.346);
--chart-1: oklch(0.464 0.095 160.346);
--chart-2: oklch(0.326 0.137 306.746);
--chart-3: oklch(0.426 0.078 71.438);
--chart-4: oklch(0.351 0.149 306.597);
--chart-5: oklch(0.469 0.098 159.948);
}