gween is a shadcn/ui theme built around a teal primary color (#38c795) with pink accents (#c7386a). The light mode uses a neutral background (#f7fdfb). Dark mode keeps the teal primary (#38c795) on a neutral background (#010403).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fdfbmintcream | #010403black |
| Foreground | #010403black | #f4faf8mintcream |
| Card | #f7fdfbmintcream | #010403black |
| Card foreground | #010403black | #f4faf8mintcream |
| Popover | #f7fdfbmintcream | #010403black |
| Popover foreground | #010403black | #f4faf8mintcream |
| Primary | #38c795lightseagreen | #38c795lightseagreen |
| Primary foreground | #0b281eblack | #0b281eblack |
| Secondary | #c7386aindianred | #c7386aindianred |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #ece4e7linen | #1b1316black |
| Muted foreground | #4c4246darkslategray | #bdb3b6silver |
| Accent | #c7386aindianred | #c7386aindianred |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #bc1010firebrick | #e61414red |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #38c795lightseagreen | #38c795lightseagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.96:1 | AAA |
| Text on card | 19.96:1 | AAA |
| Primary button | 7.30:1 | AAA |
| Secondary button | 4.99:1 | AA |
| Muted text | 7.72:1 | AAA |
| Accent | 4.99:1 | AA |
| Destructive | 6.53:1 | AA |
| Text on background | 19.50:1 | AAA |
| Text on card | 19.50:1 | AAA |
| Primary button | 7.30:1 | AAA |
| Secondary button | 4.99:1 | AA |
| Muted text | 8.95:1 | AAA |
| Accent | 4.99:1 | AA |
| Destructive | 4.69:1 | AA |
Paste this into your globals.css to use gween in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.006 173.383);
--foreground: oklch(0.101 0.015 173.89);
--muted: oklch(0.926 0.01 353.892);
--muted-foreground: oklch(0.392 0.015 354.632);
--popover: oklch(0.988 0.006 173.383);
--popover-foreground: oklch(0.101 0.015 173.89);
--card: oklch(0.988 0.006 173.383);
--card-foreground: oklch(0.101 0.015 173.89);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.742 0.14 164.851);
--primary-foreground: oklch(0.251 0.04 167.252);
--secondary: oklch(0.567 0.182 3.94);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.567 0.182 3.94);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.504 0.199 28.414);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.742 0.14 164.851);
--chart-1: oklch(0.742 0.14 164.851);
--chart-2: oklch(0.567 0.182 3.94);
--chart-3: oklch(0.567 0.182 3.94);
--chart-4: oklch(0.587 0.174 2.63);
--chart-5: oklch(0.751 0.146 164.41);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.097 0.009 173.77);
--foreground: oklch(0.981 0.007 173.364);
--muted: oklch(0.197 0.015 355.727);
--muted-foreground: oklch(0.775 0.012 354.029);
--popover: oklch(0.097 0.009 173.77);
--popover-foreground: oklch(0.981 0.007 173.364);
--card: oklch(0.097 0.009 173.77);
--card-foreground: oklch(0.981 0.007 173.364);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.742 0.14 164.851);
--primary-foreground: oklch(0.251 0.04 167.252);
--secondary: oklch(0.567 0.182 3.94);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.567 0.182 3.94);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.586 0.233 28.543);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.742 0.14 164.851);
--chart-1: oklch(0.742 0.14 164.851);
--chart-2: oklch(0.567 0.182 3.94);
--chart-3: oklch(0.567 0.182 3.94);
--chart-4: oklch(0.587 0.174 2.63);
--chart-5: oklch(0.751 0.146 164.41);
}