Well-groomed is a shadcn/ui theme built around a muted light red primary color (#cabbba) with muted light teal accents (#bac9ca). The light mode uses a neutral background (#fcf8f8). Dark mode keeps the muted light red primary (#cabbba) on a neutral background (#080303).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf8f8snow | #080303black |
| Foreground | #150505black | #fcf8f8snow |
| Card | #fcf8f8snow | #080303black |
| Card foreground | #150505black | #fcf8f8snow |
| Popover | #fcf8f8snow | #080303black |
| Popover foreground | #150505black | #fcf8f8snow |
| Primary | #cabbbasilver | #cabbbasilver |
| Primary foreground | #2e2423darkslategray | #2e2423darkslategray |
| Secondary | #bac9casilver | #bac9casilver |
| Secondary foreground | #232e2edarkslategray | #232e2edarkslategray |
| Muted | #dee7e8gainsboro | #172121black |
| Muted foreground | #465758darkslategray | #a7b8b9darkgray |
| Accent | #bac9casilver | #bac9casilver |
| Accent foreground | #232e2edarkslategray | #232e2edarkslategray |
| Destructive | #671304maroon | #f74a2btomato |
| Destructive foreground | #fcafa1lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #cabbbasilver | #cabbbasilver |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.84:1 | AAA |
| Text on card | 18.84:1 | AAA |
| Primary button | 8.10:1 | AAA |
| Secondary button | 8.18:1 | AAA |
| Muted text | 6.06:1 | AA |
| Accent | 8.18:1 | AAA |
| Destructive | 7.04:1 | AAA |
| Text on background | 19.46:1 | AAA |
| Text on card | 19.46:1 | AAA |
| Primary button | 8.10:1 | AAA |
| Secondary button | 8.18:1 | AAA |
| Muted text | 8.02:1 | AAA |
| Accent | 8.18:1 | AAA |
| Destructive | 3.51:1 | AA Large |
Paste this into your globals.css to use Well-groomed in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.005 20.952);
--foreground: oklch(0.145 0.03 25.871);
--muted: oklch(0.922 0.01 200.755);
--muted-foreground: oklch(0.443 0.021 200.38);
--popover: oklch(0.982 0.005 20.952);
--popover-foreground: oklch(0.145 0.03 25.871);
--card: oklch(0.982 0.005 20.952);
--card-foreground: oklch(0.145 0.03 25.871);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.803 0.017 21.169);
--primary-foreground: oklch(0.272 0.015 21.679);
--secondary: oklch(0.824 0.017 200.652);
--secondary-foreground: oklch(0.29 0.014 200.366);
--accent: oklch(0.824 0.017 200.652);
--accent-foreground: oklch(0.29 0.014 200.366);
--destructive: oklch(0.337 0.12 32.55);
--destructive-foreground: oklch(0.824 0.093 30.282);
--ring: oklch(0.803 0.017 21.169);
--chart-1: oklch(0.803 0.017 21.169);
--chart-2: oklch(0.824 0.017 200.652);
--chart-3: oklch(0.824 0.017 200.652);
--chart-4: oklch(0.847 0.014 200.686);
--chart-5: oklch(0.801 0.021 21.24);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.107 0.014 24.361);
--foreground: oklch(0.983 0.004 20.935);
--muted: oklch(0.237 0.014 200.276);
--muted-foreground: oklch(0.769 0.018 200.61);
--popover: oklch(0.107 0.014 24.361);
--popover-foreground: oklch(0.983 0.004 20.935);
--card: oklch(0.107 0.014 24.361);
--card-foreground: oklch(0.983 0.004 20.935);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.803 0.017 21.169);
--primary-foreground: oklch(0.272 0.015 21.679);
--secondary: oklch(0.824 0.017 200.652);
--secondary-foreground: oklch(0.29 0.014 200.366);
--accent: oklch(0.824 0.017 200.652);
--accent-foreground: oklch(0.29 0.014 200.366);
--destructive: oklch(0.654 0.214 32.375);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.803 0.017 21.169);
--chart-1: oklch(0.803 0.017 21.169);
--chart-2: oklch(0.824 0.017 200.652);
--chart-3: oklch(0.824 0.017 200.652);
--chart-4: oklch(0.847 0.014 200.686);
--chart-5: oklch(0.801 0.021 21.24);
}