Well-to-do is a shadcn/ui theme built around a light green primary color (#ecf1e0) with light green accents (#e4f1e0). The light mode uses a neutral background (#ffffff). Dark mode keeps the light green primary (#ecf1e0) on a neutral background (#060703).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #060703black |
| Foreground | #070902black | #f8f8f7whitesmoke |
| Card | #fcfcfcsnow | #090b04black |
| Card foreground | #030401black | #fafaf9snow |
| Popover | #ffffffwhite | #060703black |
| Popover foreground | #070902black | #f8f8f7whitesmoke |
| Primary | #ecf1e0beige | #ecf1e0beige |
| Primary foreground | #212612black | #212612black |
| Secondary | #f1ece0beige | #f1ece0beige |
| Secondary foreground | #262112black | #262112black |
| Muted | #edeae3linen | #1c1912black |
| Muted foreground | #585241darkolivegreen | #beb8a7darkgray |
| Accent | #e4f1e0beige | #e4f1e0beige |
| Accent foreground | #172612black | #172612black |
| Destructive | #cc2d05firebrick | #fa5f38tomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #ecf1e0beige | #ecf1e0beige |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.01:1 | AAA |
| Text on card | 20.11:1 | AAA |
| Primary button | 13.45:1 | AAA |
| Secondary button | 13.62:1 | AAA |
| Muted text | 6.49:1 | AA |
| Accent | 13.52:1 | AAA |
| Destructive | 5.32:1 | AA |
| Text on background | 18.97:1 | AAA |
| Text on card | 18.92:1 | AAA |
| Primary button | 13.45:1 | AAA |
| Secondary button | 13.62:1 | AAA |
| Muted text | 8.84:1 | AAA |
| Accent | 13.52:1 | AAA |
| Destructive | 6.75:1 | AA |
Paste this into your globals.css to use Well-to-do in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.131 0.022 118.054);
--muted: oklch(0.938 0.01 91.496);
--muted-foreground: oklch(0.44 0.028 91.797);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.131 0.022 118.054);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.104 0.018 118.054);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.949 0.023 118.253);
--primary-foreground: oklch(0.259 0.036 120.49);
--secondary: oklch(0.944 0.018 91.563);
--secondary-foreground: oklch(0.25 0.028 91.697);
--accent: oklch(0.943 0.026 137.811);
--accent-foreground: oklch(0.25 0.043 138.211);
--destructive: oklch(0.551 0.199 33.225);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.949 0.023 118.253);
--chart-1: oklch(0.949 0.023 118.253);
--chart-2: oklch(0.944 0.018 91.563);
--chart-3: oklch(0.943 0.026 137.811);
--chart-4: oklch(0.963 0.012 91.512);
--chart-5: oklch(0.95 0.025 118.287);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.127 0.015 117.991);
--foreground: oklch(0.979 0.002 117.866);
--muted: oklch(0.215 0.013 91.794);
--muted-foreground: oklch(0.783 0.025 91.653);
--popover: oklch(0.127 0.015 117.991);
--popover-foreground: oklch(0.979 0.002 117.866);
--card: oklch(0.145 0.018 118.14);
--card-foreground: oklch(0.986 0.002 117.852);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.949 0.023 118.253);
--primary-foreground: oklch(0.259 0.036 120.49);
--secondary: oklch(0.944 0.018 91.563);
--secondary-foreground: oklch(0.25 0.028 91.697);
--accent: oklch(0.943 0.026 137.811);
--accent-foreground: oklch(0.25 0.043 138.211);
--destructive: oklch(0.682 0.197 35.069);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.949 0.023 118.253);
--chart-1: oklch(0.949 0.023 118.253);
--chart-2: oklch(0.944 0.018 91.563);
--chart-3: oklch(0.943 0.026 137.811);
--chart-4: oklch(0.963 0.012 91.512);
--chart-5: oklch(0.95 0.025 118.287);
}