Well-groomed is a shadcn/ui theme built around a vivid light green primary color (#9cf2a9) with vivid light teal accents (#9cf2d4). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid light green primary (#9cf2a9) on a neutral background (#030803).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #030803black |
| Foreground | #010401black | #fcfdfcwhite |
| Card | #ffffffwhite | #030803black |
| Card foreground | #010401black | #fcfdfcwhite |
| Popover | #ffffffwhite | #030803black |
| Popover foreground | #010401black | #fcfdfcwhite |
| Primary | #9cf2a9palegreen | #9cf2a9palegreen |
| Primary foreground | #0b5115darkgreen | #0b5115darkgreen |
| Secondary | #baf29cpalegreen | #baf29cpalegreen |
| Secondary foreground | #23510bdarkgreen | #23510bdarkgreen |
| Muted | #e6f1e0beige | #141f0eblack |
| Muted foreground | #516048darkolivegreen | #a7b79fdarkgray |
| Accent | #9cf2d4aquamarine | #9cf2d4aquamarine |
| Accent foreground | #0b5138darkslategray | #0b5138darkslategray |
| Destructive | #630808maroon | #e21212red |
| Destructive foreground | #f8a5a5lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #9cf2a9palegreen | #9cf2a9palegreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.60:1 | AAA |
| Text on card | 20.60:1 | AAA |
| Primary button | 7.10:1 | AAA |
| Secondary button | 7.19:1 | AAA |
| Muted text | 5.75:1 | AA |
| Accent | 7.12:1 | AAA |
| Destructive | 6.95:1 | AA |
| Text on background | 19.84:1 | AAA |
| Text on card | 19.84:1 | AAA |
| Primary button | 7.10:1 | AAA |
| Secondary button | 7.19:1 | AAA |
| Muted text | 8.01:1 | AAA |
| Accent | 7.12:1 | AAA |
| Destructive | 4.83:1 | AA |
Paste this into your globals.css to use Well-groomed in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.097 0.018 149.128);
--muted: oklch(0.944 0.025 134.372);
--muted-foreground: oklch(0.469 0.042 134.754);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.097 0.018 149.128);
--card: oklch(1 0 180);
--card-foreground: oklch(0.097 0.018 149.128);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.887 0.129 148.114);
--primary-foreground: oklch(0.38 0.112 144.809);
--secondary: oklch(0.902 0.125 135.132);
--secondary-foreground: oklch(0.387 0.109 137.391);
--accent: oklch(0.897 0.093 170.037);
--accent-foreground: oklch(0.387 0.078 163.597);
--destructive: oklch(0.32 0.123 27.801);
--destructive-foreground: oklch(0.804 0.098 19.436);
--ring: oklch(0.887 0.129 148.114);
--chart-1: oklch(0.887 0.129 148.114);
--chart-2: oklch(0.902 0.125 135.132);
--chart-3: oklch(0.897 0.093 170.037);
--chart-4: oklch(0.914 0.109 134.972);
--chart-5: oklch(0.89 0.134 148.032);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.121 0.018 149.336);
--foreground: oklch(0.993 0.001 150.236);
--muted: oklch(0.225 0.035 135.279);
--muted-foreground: oklch(0.76 0.037 134.501);
--popover: oklch(0.121 0.018 149.336);
--popover-foreground: oklch(0.993 0.001 150.236);
--card: oklch(0.121 0.018 149.336);
--card-foreground: oklch(0.993 0.001 150.236);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.887 0.129 148.114);
--primary-foreground: oklch(0.38 0.112 144.809);
--secondary: oklch(0.902 0.125 135.132);
--secondary-foreground: oklch(0.387 0.109 137.391);
--accent: oklch(0.897 0.093 170.037);
--accent-foreground: oklch(0.387 0.078 163.597);
--destructive: oklch(0.579 0.231 28.596);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.887 0.129 148.114);
--chart-1: oklch(0.887 0.129 148.114);
--chart-2: oklch(0.902 0.125 135.132);
--chart-3: oklch(0.897 0.093 170.037);
--chart-4: oklch(0.914 0.109 134.972);
--chart-5: oklch(0.89 0.134 148.032);
}