Thoughtful is a shadcn/ui theme built around a light indigo primary color (#b7bae6) with neutral gray accents (#d7d7db). The light mode uses a neutral background (#fbfcfd). Dark mode keeps the light indigo primary (#b7bae6) on an indigo-tinted background (#04040b).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfcfdwhite | #04040bblack |
| Foreground | #010209black | #f8f8fcghostwhite |
| Card | #f8f8fcghostwhite | #05060fblack |
| Card foreground | #010104black | #fcfcfdwhite |
| Popover | #fbfcfdwhite | #04040bblack |
| Popover foreground | #010209black | #f8f8fcghostwhite |
| Primary | #b7bae6lightsteelblue | #b7bae6lightsteelblue |
| Primary foreground | #1c1e4fmidnightblue | #1c1e4fmidnightblue |
| Secondary | #d7d7dbgainsboro | #2a2b37darkslategray |
| Secondary foreground | #3d3d43darkslategray | #c2c3d0silver |
| Muted | #dedfe8gainsboro | #171821black |
| Muted foreground | #444446darkslategray | #b9babbsilver |
| Accent | #d7d7dbgainsboro | #2a2b37darkslategray |
| Accent foreground | #3d3d43darkslategray | #c2c3d0silver |
| Destructive | #d01901firebrick | #fe280borangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #b7bae6lightsteelblue | #b7bae6lightsteelblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.13:1 | AAA |
| Text on card | 19.68:1 | AAA |
| Primary button | 8.27:1 | AAA |
| Secondary button | 7.51:1 | AAA |
| Muted text | 7.30:1 | AAA |
| Accent | 7.51:1 | AAA |
| Destructive | 5.49:1 | AA |
| Text on background | 19.27:1 | AAA |
| Text on card | 19.73:1 | AAA |
| Primary button | 8.27:1 | AAA |
| Secondary button | 8.02:1 | AAA |
| Muted text | 9.09:1 | AAA |
| Accent | 8.02:1 | AAA |
| Destructive | 3.81:1 | AA Large |
Paste this into your globals.css to use Thoughtful in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.002 283.928);
--foreground: oklch(0.087 0.028 274.51);
--muted: oklch(0.905 0.012 283.734);
--muted-foreground: oklch(0.388 0.002 283.874);
--popover: oklch(0.99 0.002 283.928);
--popover-foreground: oklch(0.087 0.028 274.51);
--card: oklch(0.98 0.005 283.883);
--card-foreground: oklch(0.069 0.022 274.51);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.801 0.062 282.525);
--primary-foreground: oklch(0.267 0.088 276.36);
--secondary: oklch(0.88 0.005 283.874);
--secondary-foreground: oklch(0.362 0.01 283.463);
--accent: oklch(0.88 0.005 283.874);
--accent-foreground: oklch(0.362 0.01 283.463);
--destructive: oklch(0.546 0.214 30.718);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.801 0.062 282.525);
--chart-1: oklch(0.801 0.062 282.525);
--chart-2: oklch(0.88 0.005 283.874);
--chart-3: oklch(0.88 0.005 283.874);
--chart-4: oklch(0.904 0.004 283.896);
--chart-5: oklch(0.798 0.066 282.419);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.113 0.02 279.411);
--foreground: oklch(0.981 0.004 283.899);
--muted: oklch(0.212 0.018 282.398);
--muted-foreground: oklch(0.788 0.002 283.931);
--popover: oklch(0.113 0.02 279.411);
--popover-foreground: oklch(0.981 0.004 283.899);
--card: oklch(0.125 0.023 279.373);
--card-foreground: oklch(0.991 0.002 283.936);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.801 0.062 282.525);
--primary-foreground: oklch(0.267 0.088 276.36);
--secondary: oklch(0.293 0.022 282.598);
--secondary-foreground: oklch(0.821 0.018 283.576);
--accent: oklch(0.293 0.022 282.598);
--accent-foreground: oklch(0.821 0.018 283.576);
--destructive: oklch(0.638 0.245 30.745);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.801 0.062 282.525);
--chart-1: oklch(0.801 0.062 282.525);
--chart-2: oklch(0.293 0.022 282.598);
--chart-3: oklch(0.293 0.022 282.598);
--chart-4: oklch(0.32 0.025 282.548);
--chart-5: oklch(0.798 0.066 282.419);
}