GC 1 is a shadcn/ui theme built around a vivid deep green primary color (#0e8a0e) with near-white accents (#f8f8f8). The light mode uses a neutral background (#f8f8f8). Dark mode switches to a violet primary (#7b4aa5) on a neutral background (#050307).
| Token | Light | Dark |
|---|---|---|
| Background | #f8f8f8whitesmoke | #050307black |
| Foreground | #202020black | #fcfcfdwhite |
| Card | #ffffffwhite | #050307black |
| Card foreground | #202020black | #fcfcfdwhite |
| Popover | #ffffffwhite | #050307black |
| Popover foreground | #000000black | #fcfcfdwhite |
| Primary | #0e8a0egreen | #7b4aa5rebeccapurple |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #ffffffwhite | #75a54aolivedrab |
| Secondary foreground | #11190bblack | #11190bblack |
| Muted | #dee1dbgainsboro | #21241eblack |
| Muted foreground | #575855dimgray | #a8aaa7darkgray |
| Accent | #f8f8f8whitesmoke | #75a54aolivedrab |
| Accent foreground | #11190bblack | #11190bblack |
| Destructive | #a62323brown | #ea1506red |
| Destructive foreground | #feccc8pink | #ffffffwhite |
| Border | #edebeflavender | #211e24black |
| Input | #edebeflavender | #211e24black |
| Ring | #0e8a0egreen | #7b4aa5rebeccapurple |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 15.34:1 | AAA |
| Text on card | 16.29:1 | AAA |
| Primary button | 4.50:1 | AA |
| Secondary button | 17.98:1 | AAA |
| Muted text | 5.41:1 | AA |
| Accent | 16.93:1 | AAA |
| Destructive | 5.08:1 | AA |
| Text on background | 20.00:1 | AAA |
| Text on card | 20.00:1 | AAA |
| Primary button | 6.22:1 | AA |
| Secondary button | 6.22:1 | AA |
| Muted text | 6.70:1 | AA |
| Accent | 6.22:1 | AA |
| Destructive | 4.56:1 | AA |
Paste this into your globals.css to use GC 1 in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.979 0 173.29);
--foreground: oklch(0.244 0 169.695);
--muted: oklch(0.905 0.009 129.881);
--muted-foreground: oklch(0.459 0.006 129.916);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0 0 0);
--card: oklch(1 0 180);
--card-foreground: oklch(0.244 0 169.695);
--border: oklch(0.944 0.005 309.731);
--input: oklch(0.944 0.005 309.731);
--primary: oklch(0.55 0.181 142.613);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(1 0 180);
--secondary-foreground: oklch(0.2 0.028 131.362);
--accent: oklch(0.979 0 173.29);
--accent-foreground: oklch(0.2 0.028 131.362);
--destructive: oklch(0.475 0.167 26.383);
--destructive-foreground: oklch(0.887 0.057 23.04);
--ring: oklch(0.55 0.181 142.613);
--chart-1: oklch(0.758 0.215 134.514);
--chart-2: oklch(0.603 0.205 142.495);
--chart-3: oklch(0.825 0.161 77.369);
--chart-4: oklch(0.738 0.131 240.061);
--chart-5: oklch(0.752 0.111 300.699);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.107 0.014 310.83);
--foreground: oklch(0.992 0.001 309.776);
--muted: oklch(0.255 0.012 130.26);
--muted-foreground: oklch(0.736 0.005 129.857);
--popover: oklch(0.107 0.014 310.83);
--popover-foreground: oklch(0.992 0.001 309.776);
--card: oklch(0.107 0.014 310.83);
--card-foreground: oklch(0.992 0.001 309.776);
--border: oklch(0.241 0.013 309.233);
--input: oklch(0.241 0.013 309.233);
--primary: oklch(0.508 0.145 306.562);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.668 0.133 132.331);
--secondary-foreground: oklch(0.2 0.028 131.362);
--accent: oklch(0.668 0.133 132.331);
--accent-foreground: oklch(0.2 0.028 131.362);
--destructive: oklch(0.593 0.236 29.763);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.508 0.145 306.562);
--chart-1: oklch(0.508 0.145 306.562);
--chart-2: oklch(0.668 0.133 132.331);
--chart-3: oklch(0.668 0.133 132.331);
--chart-4: oklch(0.699 0.14 132.348);
--chart-5: oklch(0.505 0.155 306.224);
}