Well-to-do is a shadcn/ui theme built around a neutral gray primary color (#636363) with neutral gray accents (#636363). The light mode uses a neutral background (#fefbfb). Dark mode keeps the neutral gray primary (#636363) on a neutral background (#080202).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfbsnow | #080202black |
| Foreground | #0c0303black | #f9f5f5whitesmoke |
| Card | #fefbfbsnow | #080202black |
| Card foreground | #0c0303black | #f9f5f5whitesmoke |
| Popover | #fefbfbsnow | #080202black |
| Popover foreground | #0c0303black | #f9f5f5whitesmoke |
| Primary | #636363dimgray | #636363dimgray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #636363dimgray | #636363dimgray |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e0d6d6gainsboro | #291f1fblack |
| Muted foreground | #4b3f3fdarkslategray | #c0b4b4silver |
| Accent | #636363dimgray | #636363dimgray |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #c02f07firebrick | #f85b30tomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #636363dimgray | #636363dimgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.79:1 | AAA |
| Text on card | 19.79:1 | AAA |
| Primary button | 5.96:1 | AA |
| Secondary button | 5.96:1 | AA |
| Muted text | 7.10:1 | AAA |
| Accent | 5.96:1 | AA |
| Destructive | 5.75:1 | AA |
| Text on background | 19.02:1 | AAA |
| Text on card | 19.02:1 | AAA |
| Primary button | 5.96:1 | AA |
| Secondary button | 5.96:1 | AA |
| Muted text | 7.98:1 | AAA |
| Accent | 5.96:1 | AA |
| Destructive | 6.52:1 | AA |
Paste this into your globals.css to use Well-to-do in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.003 17.216);
--foreground: oklch(0.118 0.023 21.148);
--muted: oklch(0.885 0.011 17.365);
--muted-foreground: oklch(0.379 0.017 17.939);
--popover: oklch(0.99 0.003 17.216);
--popover-foreground: oklch(0.118 0.023 21.148);
--card: oklch(0.99 0.003 17.216);
--card-foreground: oklch(0.118 0.023 21.148);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.501 0 180);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.501 0 180);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.501 0 180);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.531 0.186 34.104);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.501 0 180);
--chart-1: oklch(0.501 0 180);
--chart-2: oklch(0.501 0 180);
--chart-3: oklch(0.501 0 180);
--chart-4: oklch(0.528 0 180);
--chart-5: oklch(0.496 0.008 17.414);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.103 0.019 20.998);
--foreground: oklch(0.974 0.004 17.23);
--muted: oklch(0.25 0.016 18.248);
--muted-foreground: oklch(0.78 0.014 17.461);
--popover: oklch(0.103 0.019 20.998);
--popover-foreground: oklch(0.974 0.004 17.23);
--card: oklch(0.103 0.019 20.998);
--card-foreground: oklch(0.974 0.004 17.23);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.501 0 180);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.501 0 180);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.501 0 180);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.673 0.199 35.888);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.501 0 180);
--chart-1: oklch(0.501 0 180);
--chart-2: oklch(0.501 0 180);
--chart-3: oklch(0.501 0 180);
--chart-4: oklch(0.528 0 180);
--chart-5: oklch(0.496 0.008 17.414);
}