green gpt is a shadcn/ui theme built around a vivid green primary color (#86eea7) with muted deep blue accents (#3c4053). The light mode uses a blue-tinted background (#1c1e26). Dark mode keeps the vivid green primary (#86eea7) on a blue-tinted background (#1c1e26).
| Token | Light | Dark |
|---|---|---|
| Background | #1c1e26black | #1c1e26black |
| Foreground | #f5f5f5whitesmoke | #f5f5f5whitesmoke |
| Card | #181921black | #181921black |
| Card foreground | #ffffffwhite | #ffffffwhite |
| Popover | #15171eblack | #15171eblack |
| Popover foreground | #ffffffwhite | #ffffffwhite |
| Primary | #86eea7lightgreen | #86eea7lightgreen |
| Primary foreground | #083a18darkgreen | #083a18darkgreen |
| Secondary | #2d5339darkslategray | #2d5339darkslategray |
| Secondary foreground | #cde4d5lightgrey | #cde4d5lightgrey |
| Muted | #262831darkslategray | #262831darkslategray |
| Muted foreground | #a1a4b5darkgray | #a1a4b5darkgray |
| Accent | #3c4053darkslategray | #3c4053darkslategray |
| Accent foreground | #dcdde5gainsboro | #dcdde5gainsboro |
| Destructive | #dc0d09red | #dc0d09red |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #2b2c31darkslategray | #2b2c31darkslategray |
| Input | #323439darkslategray | #323439darkslategray |
| Ring | #86eea7lightgreen | #86eea7lightgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 15.27:1 | AAA |
| Text on card | 17.49:1 | AAA |
| Primary button | 9.11:1 | AAA |
| Secondary button | 6.51:1 | AA |
| Muted text | 5.93:1 | AA |
| Accent | 7.55:1 | AAA |
| Destructive | 5.10:1 | AA |
| Text on background | 15.27:1 | AAA |
| Text on card | 17.49:1 | AAA |
| Primary button | 9.11:1 | AAA |
| Secondary button | 6.51:1 | AA |
| Muted text | 5.93:1 | AA |
| Accent | 7.55:1 | AAA |
| Destructive | 5.10:1 | AA |
Paste this into your globals.css to use green gpt in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.236 0.017 275.115);
--foreground: oklch(0.97 0 180);
--muted: oklch(0.279 0.016 275.35);
--muted-foreground: oklch(0.722 0.024 275.705);
--popover: oklch(0.206 0.013 275.216);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.216 0.015 275.178);
--card-foreground: oklch(1 0 180);
--border: oklch(0.295 0.008 275.785);
--input: oklch(0.324 0.009 275.77);
--primary: oklch(0.869 0.14 152.746);
--primary-foreground: oklch(0.308 0.079 149.175);
--secondary: oklch(0.405 0.062 152.968);
--secondary-foreground: oklch(0.898 0.032 155.833);
--accent: oklch(0.376 0.032 274.87);
--accent-foreground: oklch(0.899 0.011 276.004);
--destructive: oklch(0.565 0.228 29.08);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.869 0.14 152.746);
--chart-1: oklch(0.869 0.14 152.746);
--chart-2: oklch(0.405 0.062 152.968);
--chart-3: oklch(0.376 0.032 274.87);
--chart-4: oklch(0.438 0.068 152.899);
--chart-5: oklch(0.873 0.145 152.6);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.236 0.017 275.115);
--foreground: oklch(0.97 0 180);
--muted: oklch(0.279 0.016 275.35);
--muted-foreground: oklch(0.722 0.024 275.705);
--popover: oklch(0.206 0.013 275.216);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.216 0.015 275.178);
--card-foreground: oklch(1 0 180);
--border: oklch(0.295 0.008 275.785);
--input: oklch(0.324 0.009 275.77);
--primary: oklch(0.869 0.14 152.746);
--primary-foreground: oklch(0.308 0.079 149.175);
--secondary: oklch(0.405 0.062 152.968);
--secondary-foreground: oklch(0.898 0.032 155.833);
--accent: oklch(0.376 0.032 274.87);
--accent-foreground: oklch(0.899 0.011 276.004);
--destructive: oklch(0.565 0.228 29.08);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.869 0.14 152.746);
--chart-1: oklch(0.869 0.14 152.746);
--chart-2: oklch(0.405 0.062 152.968);
--chart-3: oklch(0.376 0.032 274.87);
--chart-4: oklch(0.438 0.068 152.899);
--chart-5: oklch(0.873 0.145 152.6);
}