Thoughtful is a shadcn/ui theme built around a vivid green primary color (#64fe10) with vivid green accents (#10fe34). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid green primary (#64fe10) on a green-tinted background (#070b04).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #070b04black |
| Foreground | #060d03black | #fcfdfcwhite |
| Card | #fcfcfcsnow | #090f06black |
| Card foreground | #040902black | #ffffffwhite |
| Popover | #ffffffwhite | #070b04black |
| Popover foreground | #060d03black | #fcfdfcwhite |
| Primary | #64fe10lawngreen | #64fe10lawngreen |
| Primary foreground | #174200darkgreen | #174200darkgreen |
| Secondary | #dafe10yellow | #dafe10yellow |
| Secondary foreground | #384200darkgreen | #384200darkgreen |
| Muted | #e8e9e2gainsboro | #1c1d16black |
| Muted foreground | #4c4f40darkslategray | #bdbfb0silver |
| Accent | #10fe34lime | #10fe34lime |
| Accent foreground | #00420adarkgreen | #00420adarkgreen |
| Destructive | #a21a0bfirebrick | #db240ffirebrick |
| Destructive foreground | #fde5e2mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #64fe10lawngreen | #64fe10lawngreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.68:1 | AAA |
| Text on card | 19.66:1 | AAA |
| Primary button | 8.64:1 | AAA |
| Secondary button | 9.31:1 | AAA |
| Muted text | 6.89:1 | AA |
| Accent | 8.53:1 | AAA |
| Destructive | 6.48:1 | AA |
| Text on background | 19.45:1 | AAA |
| Text on card | 19.43:1 | AAA |
| Primary button | 8.64:1 | AAA |
| Secondary button | 9.31:1 | AAA |
| Muted text | 9.06:1 | AAA |
| Accent | 8.53:1 | AAA |
| Destructive | 4.90:1 | AA |
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.146 0.029 132.627);
--muted: oklch(0.932 0.01 113.512);
--muted-foreground: oklch(0.419 0.023 114.328);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.146 0.029 132.627);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.127 0.025 132.386);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.878 0.273 138.832);
--primary-foreground: oklch(0.335 0.103 137.689);
--secondary: oklch(0.938 0.22 119.538);
--secondary-foreground: oklch(0.357 0.084 118.84);
--accent: oklch(0.865 0.281 143.619);
--accent-foreground: oklch(0.329 0.105 144.559);
--destructive: oklch(0.46 0.172 30.516);
--destructive-foreground: oklch(0.941 0.027 25.244);
--ring: oklch(0.878 0.273 138.832);
--chart-1: oklch(0.878 0.273 138.832);
--chart-2: oklch(0.938 0.22 119.538);
--chart-3: oklch(0.865 0.281 143.619);
--chart-4: oklch(0.94 0.216 119.046);
--chart-5: oklch(0.887 0.277 138.991);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.141 0.019 133.026);
--foreground: oklch(0.993 0.002 134.232);
--muted: oklch(0.228 0.014 114.475);
--muted-foreground: oklch(0.798 0.02 113.769);
--popover: oklch(0.141 0.019 133.026);
--popover-foreground: oklch(0.993 0.002 134.232);
--card: oklch(0.157 0.022 133.758);
--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.878 0.273 138.832);
--primary-foreground: oklch(0.335 0.103 137.689);
--secondary: oklch(0.938 0.22 119.538);
--secondary-foreground: oklch(0.357 0.084 118.84);
--accent: oklch(0.865 0.281 143.619);
--accent-foreground: oklch(0.329 0.105 144.559);
--destructive: oklch(0.573 0.218 30.486);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.878 0.273 138.832);
--chart-1: oklch(0.878 0.273 138.832);
--chart-2: oklch(0.938 0.22 119.538);
--chart-3: oklch(0.865 0.281 143.619);
--chart-4: oklch(0.94 0.216 119.046);
--chart-5: oklch(0.887 0.277 138.991);
}