Entree is a shadcn/ui theme built around a vivid deep green primary color (#156501) with vivid deep purple accents (#510165). The light mode uses a neutral background (#fcfdfc). Dark mode keeps the vivid deep green primary (#156501) on a green-tinted background (#080e06).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfdfcwhite | #080e06black |
| Foreground | #050c04black | #ffffffwhite |
| Card | #fcfdfcwhite | #080e06black |
| Card foreground | #050c04black | #ffffffwhite |
| Popover | #fcfdfcwhite | #080e06black |
| Popover foreground | #050c04black | #ffffffwhite |
| Primary | #156501darkgreen | #156501darkgreen |
| Primary foreground | #aefe9apalegreen | #aefe9apalegreen |
| Secondary | #510165indigo | #510165indigo |
| Secondary foreground | #ea9afeviolet | #ea9afeviolet |
| Muted | #e2d0e6gainsboro | #2a192fdarkslategray |
| Muted foreground | #635d65dimgray | #a09aa2darkgray |
| Accent | #510165indigo | #510165indigo |
| Accent foreground | #ea9afeviolet | #ea9afeviolet |
| Destructive | #9a2b09saddlebrown | #f35d30tomato |
| Destructive foreground | #fde1d8mistyrose | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #156501darkgreen | #156501darkgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.44:1 | AAA |
| Text on card | 19.44:1 | AAA |
| Primary button | 6.02:1 | AA |
| Secondary button | 6.84:1 | AA |
| Muted text | 4.39:1 | AA Large |
| Accent | 6.84:1 | AA |
| Destructive | 6.21:1 | AA |
| Text on background | 19.51:1 | AAA |
| Text on card | 19.51:1 | AAA |
| Primary button | 6.02:1 | AA |
| Secondary button | 6.84:1 | AA |
| Muted text | 5.98:1 | AA |
| Accent | 6.84:1 | AA |
| Destructive | 6.42:1 | AA |
Paste this into your globals.css to use Entree in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.003 139.443);
--foreground: oklch(0.141 0.023 137.895);
--muted: oklch(0.879 0.036 319.455);
--muted-foreground: oklch(0.487 0.014 319.453);
--popover: oklch(0.993 0.003 139.443);
--popover-foreground: oklch(0.141 0.023 137.895);
--card: oklch(0.993 0.003 139.443);
--card-foreground: oklch(0.141 0.023 137.895);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.442 0.144 140.862);
--primary-foreground: oklch(0.922 0.153 139.495);
--secondary: oklch(0.322 0.155 317.409);
--secondary-foreground: oklch(0.8 0.16 319.424);
--accent: oklch(0.322 0.155 317.409);
--accent-foreground: oklch(0.8 0.16 319.424);
--destructive: oklch(0.459 0.153 35.495);
--destructive-foreground: oklch(0.93 0.033 37.618);
--ring: oklch(0.442 0.144 140.862);
--chart-1: oklch(0.442 0.144 140.862);
--chart-2: oklch(0.322 0.155 317.409);
--chart-3: oklch(0.322 0.155 317.409);
--chart-4: oklch(0.354 0.171 317.225);
--chart-5: oklch(0.447 0.147 140.895);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.154 0.02 138.609);
--foreground: oklch(1 0 180);
--muted: oklch(0.246 0.048 319.43);
--muted-foreground: oklch(0.695 0.013 319.45);
--popover: oklch(0.154 0.02 138.609);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.154 0.02 138.609);
--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.442 0.144 140.862);
--primary-foreground: oklch(0.922 0.153 139.495);
--secondary: oklch(0.322 0.155 317.409);
--secondary-foreground: oklch(0.8 0.16 319.424);
--accent: oklch(0.322 0.155 317.409);
--accent-foreground: oklch(0.8 0.16 319.424);
--destructive: oklch(0.668 0.193 36.908);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.442 0.144 140.862);
--chart-1: oklch(0.442 0.144 140.862);
--chart-2: oklch(0.322 0.155 317.409);
--chart-3: oklch(0.322 0.155 317.409);
--chart-4: oklch(0.354 0.171 317.225);
--chart-5: oklch(0.447 0.147 140.895);
}