Well-groomed is a shadcn/ui theme built around a near-white primary color (#fdfcfc) with near-white accents (#fcfcfd). The light mode uses a neutral background (#fdfaf6). Dark mode keeps the near-white primary (#fdfcfc) on a neutral background (#070503).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfaf6snow | #070503black |
| Foreground | #000000black | #ffffffwhite |
| Card | #fdfaf6snow | #070503black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fdfaf6snow | #070503black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #fdfcfcsnow | #fdfcfcsnow |
| Primary foreground | #3f2f22darkslategray | #3f2f22darkslategray |
| Secondary | #fcfdfcwhite | #fcfdfcwhite |
| Secondary foreground | #223f2fdarkslategray | #223f2fdarkslategray |
| Muted | #cde5d8gainsboro | #1a3225darkslategray |
| Muted foreground | #4c5d53darkslategray | #a2b3aadarkgray |
| Accent | #fcfcfdwhite | #fcfcfdwhite |
| Accent foreground | #604681darkslateblue | #604681darkslateblue |
| Destructive | #c7490achocolate | #f35d12orangered |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #fdfcfcsnow | #fdfcfcsnow |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.14:1 | AAA |
| Text on card | 20.14:1 | AAA |
| Primary button | 12.52:1 | AAA |
| Secondary button | 11.32:1 | AAA |
| Muted text | 5.25:1 | AA |
| Accent | 7.60:1 | AAA |
| Destructive | 4.79:1 | AA |
| Text on background | 20.35:1 | AAA |
| Text on card | 20.35:1 | AAA |
| Primary button | 12.52:1 | AAA |
| Secondary button | 11.32:1 | AAA |
| Muted text | 6.25:1 | AA |
| Accent | 7.60:1 | AAA |
| Destructive | 6.35:1 | AA |
Paste this into your globals.css to use Well-groomed in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.986 0.006 62.117);
--foreground: oklch(0 0 0);
--muted: oklch(0.9 0.031 161.749);
--muted-foreground: oklch(0.46 0.026 161.166);
--popover: oklch(0.986 0.006 62.117);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.986 0.006 62.117);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.993 0.001 62.177);
--primary-foreground: oklch(0.32 0.032 60.579);
--secondary: oklch(0.993 0.002 162.57);
--secondary-foreground: oklch(0.339 0.045 158.673);
--accent: oklch(0.991 0.002 306.401);
--accent-foreground: oklch(0.449 0.099 303.424);
--destructive: oklch(0.571 0.172 40.826);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.993 0.001 62.177);
--chart-1: oklch(0.993 0.001 62.177);
--chart-2: oklch(0.993 0.002 162.57);
--chart-3: oklch(0.991 0.002 306.401);
--chart-4: oklch(1.013 0.004 342.712);
--chart-5: oklch(0.993 0.001 62.175);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.117 0.01 68.613);
--foreground: oklch(1 0 180);
--muted: oklch(0.293 0.038 158.771);
--muted-foreground: oklch(0.752 0.023 161.848);
--popover: oklch(0.117 0.01 68.613);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.117 0.01 68.613);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.993 0.001 62.177);
--primary-foreground: oklch(0.32 0.032 60.579);
--secondary: oklch(0.993 0.002 162.57);
--secondary-foreground: oklch(0.339 0.045 158.673);
--accent: oklch(0.991 0.002 306.401);
--accent-foreground: oklch(0.449 0.099 303.424);
--destructive: oklch(0.665 0.198 41.082);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.993 0.001 62.177);
--chart-1: oklch(0.993 0.001 62.177);
--chart-2: oklch(0.993 0.002 162.57);
--chart-3: oklch(0.991 0.002 306.401);
--chart-4: oklch(1.013 0.004 342.712);
--chart-5: oklch(0.993 0.001 62.175);
}