Well-to-do is a shadcn/ui theme built around a cyan primary color (#98d2d7) with red accents (#d79d98). The light mode uses a neutral background (#f7fcfd). Dark mode keeps the cyan primary (#98d2d7) on a cyan-tinted background (#050a0b).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fcfdghostwhite | #050a0bblack |
| Foreground | #010404black | #fcfdfdwhite |
| Card | #f7fcfdghostwhite | #050a0bblack |
| Card foreground | #010404black | #fcfdfdwhite |
| Popover | #f7fcfdghostwhite | #050a0bblack |
| Popover foreground | #010404black | #fcfdfdwhite |
| Primary | #98d2d7lightblue | #98d2d7lightblue |
| Primary foreground | #112a2cdarkslategray | #112a2cdarkslategray |
| Secondary | #d79d98tan | #d79d98tan |
| Secondary foreground | #2c1311black | #2c1311black |
| Muted | #eae2e1gainsboro | #1e1615black |
| Muted foreground | #69514fdimgray | #b09896rosybrown |
| Accent | #d79d98tan | #d79d98tan |
| Accent foreground | #2c1311black | #2c1311black |
| Destructive | #b34505saddlebrown | #f96c1achocolate |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #98d2d7lightblue | #98d2d7lightblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.94:1 | AAA |
| Text on card | 19.94:1 | AAA |
| Primary button | 8.99:1 | AAA |
| Secondary button | 7.61:1 | AAA |
| Muted text | 5.69:1 | AA |
| Accent | 7.61:1 | AAA |
| Destructive | 5.58:1 | AA |
| Text on background | 19.53:1 | AAA |
| Text on card | 19.53:1 | AAA |
| Primary button | 8.99:1 | AAA |
| Secondary button | 7.61:1 | AAA |
| Muted text | 6.59:1 | AA |
| Accent | 7.61:1 | AAA |
| Destructive | 7.19:1 | AAA |
Paste this into your globals.css to use Well-to-do in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.006 203.526);
--foreground: oklch(0.098 0.011 200.911);
--muted: oklch(0.918 0.009 23.675);
--muted-foreground: oklch(0.459 0.032 24.396);
--popover: oklch(0.988 0.006 203.526);
--popover-foreground: oklch(0.098 0.011 200.911);
--card: oklch(0.988 0.006 203.526);
--card-foreground: oklch(0.098 0.011 200.911);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.825 0.059 203.134);
--primary-foreground: oklch(0.266 0.031 203.247);
--secondary: oklch(0.751 0.07 24.73);
--secondary-foreground: oklch(0.224 0.041 26.284);
--accent: oklch(0.751 0.07 24.73);
--accent-foreground: oklch(0.224 0.041 26.284);
--destructive: oklch(0.533 0.157 42.669);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.825 0.059 203.134);
--chart-1: oklch(0.825 0.059 203.134);
--chart-2: oklch(0.751 0.07 24.73);
--chart-3: oklch(0.751 0.07 24.73);
--chart-4: oklch(0.777 0.061 24.527);
--chart-5: oklch(0.829 0.063 203.127);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.139 0.011 201.813);
--foreground: oklch(0.993 0.002 203.567);
--muted: oklch(0.209 0.013 24.299);
--muted-foreground: oklch(0.702 0.028 24.018);
--popover: oklch(0.139 0.011 201.813);
--popover-foreground: oklch(0.993 0.002 203.567);
--card: oklch(0.139 0.011 201.813);
--card-foreground: oklch(0.993 0.002 203.567);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.825 0.059 203.134);
--primary-foreground: oklch(0.266 0.031 203.247);
--secondary: oklch(0.751 0.07 24.73);
--secondary-foreground: oklch(0.224 0.041 26.284);
--accent: oklch(0.751 0.07 24.73);
--accent-foreground: oklch(0.224 0.041 26.284);
--destructive: oklch(0.695 0.191 44.517);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.825 0.059 203.134);
--chart-1: oklch(0.825 0.059 203.134);
--chart-2: oklch(0.751 0.07 24.73);
--chart-3: oklch(0.751 0.07 24.73);
--chart-4: oklch(0.777 0.061 24.527);
--chart-5: oklch(0.829 0.063 203.127);
}