Thoughtful is a shadcn/ui theme built around a light green primary color (#f0f5d6) with light purple accents (#f5d6f0). The light mode uses a neutral background (#ffffff). Dark mode keeps the light green primary (#f0f5d6) on a green-tinted background (#0d0e06).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0d0e06black |
| Foreground | #040401black | #ffffffwhite |
| Card | #fcfcfcsnow | #101208black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #ffffffwhite | #0d0e06black |
| Popover foreground | #040401black | #ffffffwhite |
| Primary | #f0f5d6beige | #f0f5d6beige |
| Primary foreground | #24290ablack | #24290ablack |
| Secondary | #d6f0f5lavender | #d6f0f5lavender |
| Secondary foreground | #0a2429black | #0a2429black |
| Muted | #deebedlavender | #121f21black |
| Muted foreground | #565758dimgray | #a7a9a9darkgray |
| Accent | #f5d6f0mistyrose | #f5d6f0mistyrose |
| Accent foreground | #7a1f6dpurple | #7a1f6dpurple |
| Destructive | #913108saddlebrown | #ec500eorangered |
| Destructive foreground | #fcdccfbisque | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f0f5d6beige | #f0f5d6beige |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.52:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 13.40:1 | AAA |
| Secondary button | 13.62:1 | AAA |
| Muted text | 5.93:1 | AA |
| Accent | 7.02:1 | AAA |
| Destructive | 6.15:1 | AA |
| Text on background | 19.36:1 | AAA |
| Text on card | 18.89:1 | AAA |
| Primary button | 13.40:1 | AAA |
| Secondary button | 13.62:1 | AAA |
| Muted text | 7.14:1 | AAA |
| Accent | 7.02:1 | AAA |
| Destructive | 3.65:1 | AA Large |
Paste this into your globals.css to use Thoughtful in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.103 0.014 114.218);
--muted: oklch(0.931 0.015 209.435);
--muted-foreground: oklch(0.457 0.002 209.457);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.103 0.014 114.218);
--card: oklch(0.992 0 161.565);
--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.958 0.04 114.09);
--primary-foreground: oklch(0.268 0.049 117.007);
--secondary: oklch(0.938 0.028 209.431);
--secondary-foreground: oklch(0.243 0.033 210.883);
--accent: oklch(0.91 0.048 330.91);
--accent-foreground: oklch(0.417 0.154 334.78);
--destructive: oklch(0.449 0.137 39.387);
--destructive-foreground: oklch(0.918 0.04 44.594);
--ring: oklch(0.958 0.04 114.09);
--chart-1: oklch(0.958 0.04 114.09);
--chart-2: oklch(0.938 0.028 209.431);
--chart-3: oklch(0.91 0.048 330.91);
--chart-4: oklch(0.957 0.02 209.431);
--chart-5: oklch(0.96 0.042 114.127);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.161 0.017 114.889);
--foreground: oklch(1 0 180);
--muted: oklch(0.228 0.019 209.725);
--muted-foreground: oklch(0.733 0.002 209.462);
--popover: oklch(0.161 0.017 114.889);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.176 0.02 115.331);
--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.958 0.04 114.09);
--primary-foreground: oklch(0.268 0.049 117.007);
--secondary: oklch(0.938 0.028 209.431);
--secondary-foreground: oklch(0.243 0.033 210.883);
--accent: oklch(0.91 0.048 330.91);
--accent-foreground: oklch(0.417 0.154 334.78);
--destructive: oklch(0.641 0.202 38.547);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.958 0.04 114.09);
--chart-1: oklch(0.958 0.04 114.09);
--chart-2: oklch(0.938 0.028 209.431);
--chart-3: oklch(0.91 0.048 330.91);
--chart-4: oklch(0.957 0.02 209.431);
--chart-5: oklch(0.96 0.042 114.127);
}