Combined Green Egg is a shadcn/ui theme built around a light green primary color (#e4edc4) with light green accents (#cfedc4). The light mode uses a neutral background (#fbfdf7). Dark mode keeps the light green primary (#e4edc4) on a neutral background (#030302).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfdf7snow | #030302black |
| Foreground | #0a0c03black | #fbfcf8snow |
| Card | #fafcf3floralwhite | #060704black |
| Card foreground | #070802black | #fdfdfbsnow |
| Popover | #fafcf3floralwhite | #060704black |
| Popover foreground | #070802black | #fdfdfbsnow |
| Primary | #e4edc4palegoldenrod | #e4edc4palegoldenrod |
| Primary foreground | #101406black | #101406black |
| Secondary | #ede2c4bisque | #ede2c4bisque |
| Secondary foreground | #62501edarkolivegreen | #62501edarkolivegreen |
| Muted | #e6dfccgainsboro | #332c19darkslategray |
| Muted foreground | #5e5a50dimgray | #afaca1darkgray |
| Accent | #cfedc4lightgrey | #cfedc4lightgrey |
| Accent foreground | #0a1406black | #0a1406black |
| Destructive | #73100cmaroon | #ea3e39crimson |
| Destructive foreground | #f8bcbalightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e4edc4palegoldenrod | #e4edc4palegoldenrod |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.19:1 | AAA |
| Text on card | 19.36:1 | AAA |
| Primary button | 15.29:1 | AAA |
| Secondary button | 6.07:1 | AA |
| Muted text | 5.16:1 | AA |
| Accent | 14.86:1 | AAA |
| Destructive | 7.11:1 | AAA |
| Text on background | 19.99:1 | AAA |
| Text on card | 19.86:1 | AAA |
| Primary button | 15.29:1 | AAA |
| Secondary button | 6.07:1 | AA |
| Muted text | 6.07:1 | AA |
| Accent | 14.86:1 | AAA |
| Destructive | 3.99:1 | AA Large |
Paste this into your globals.css to use Combined Green Egg in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.008 117.218);
--foreground: oklch(0.148 0.021 117.743);
--muted: oklch(0.903 0.027 90.317);
--muted-foreground: oklch(0.468 0.017 90.347);
--popover: oklch(0.986 0.011 117.288);
--popover-foreground: oklch(0.129 0.018 117.392);
--card: oklch(0.986 0.011 117.288);
--card-foreground: oklch(0.129 0.018 117.392);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.929 0.054 118.135);
--primary-foreground: oklch(0.181 0.027 119.483);
--secondary: oklch(0.914 0.041 90.385);
--secondary-foreground: oklch(0.437 0.071 89.033);
--accent: oklch(0.914 0.063 137.362);
--accent-foreground: oklch(0.175 0.031 136.966);
--destructive: oklch(0.36 0.134 28.44);
--destructive-foreground: oklch(0.848 0.07 20.896);
--ring: oklch(0.929 0.054 118.135);
--chart-1: oklch(0.929 0.054 118.135);
--chart-2: oklch(0.914 0.041 90.385);
--chart-3: oklch(0.914 0.063 137.362);
--chart-4: oklch(0.931 0.033 90.345);
--chart-5: oklch(0.931 0.057 118.19);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.098 0.008 117.269);
--foreground: oklch(0.989 0.005 117.173);
--muted: oklch(0.296 0.033 90.244);
--muted-foreground: oklch(0.743 0.015 90.263);
--popover: oklch(0.123 0.01 117.269);
--popover-foreground: oklch(0.994 0.003 117.126);
--card: oklch(0.123 0.01 117.269);
--card-foreground: oklch(0.994 0.003 117.126);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.929 0.054 118.135);
--primary-foreground: oklch(0.181 0.027 119.483);
--secondary: oklch(0.914 0.041 90.385);
--secondary-foreground: oklch(0.437 0.071 89.033);
--accent: oklch(0.914 0.063 137.362);
--accent-foreground: oklch(0.175 0.031 136.966);
--destructive: oklch(0.622 0.209 27.246);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.929 0.054 118.135);
--chart-1: oklch(0.929 0.054 118.135);
--chart-2: oklch(0.914 0.041 90.385);
--chart-3: oklch(0.914 0.063 137.362);
--chart-4: oklch(0.931 0.033 90.345);
--chart-5: oklch(0.931 0.057 118.19);
}