Thinking is a shadcn/ui theme built around a vivid green primary color (#1a8910) with vivid purple accents (#7f1089). The light mode uses a neutral background (#f7fdf7). Dark mode keeps the vivid green primary (#1a8910) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fdf7mintcream | #000000black |
| Foreground | #000000black | #fcfdfcwhite |
| Card | #f4fcf3honeydew | #030303black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #f7fdf7mintcream | #000000black |
| Popover foreground | #000000black | #fcfdfcwhite |
| Primary | #1a8910forestgreen | #1a8910forestgreen |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #7f1089purple | #7f1089purple |
| Secondary foreground | #f6d1falavender | #f6d1falavender |
| Muted | #f1e8f2lavender | #160d17black |
| Muted foreground | #4a394cdarkslategray | #c4b3c6silver |
| Accent | #7f1089purple | #7f1089purple |
| Accent foreground | #f6d1falavender | #f6d1falavender |
| Destructive | #8d260csaddlebrown | #e13d14orangered |
| Destructive foreground | #fbd9d0bisque | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #1a8910forestgreen | #1a8910forestgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.35:1 | AAA |
| Text on card | 20.03:1 | AAA |
| Primary button | 4.53:1 | AA |
| Secondary button | 6.60:1 | AA |
| Muted text | 8.88:1 | AAA |
| Accent | 6.60:1 | AA |
| Destructive | 6.61:1 | AA |
| Text on background | 20.59:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 4.53:1 | AA |
| Secondary button | 6.60:1 | AA |
| Muted text | 9.61:1 | AAA |
| Accent | 6.60:1 | AA |
| Destructive | 4.30:1 | AA Large |
Paste this into your globals.css to use Thinking in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.01 143.087);
--foreground: oklch(0 0 0);
--muted: oklch(0.942 0.016 323.215);
--muted-foreground: oklch(0.37 0.038 323.59);
--popover: oklch(0.988 0.01 143.087);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.982 0.015 143.063);
--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.549 0.177 142.006);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.431 0.191 324.155);
--secondary-foreground: oklch(0.905 0.067 323.465);
--accent: oklch(0.431 0.191 324.155);
--accent-foreground: oklch(0.905 0.067 323.465);
--destructive: oklch(0.429 0.142 34.365);
--destructive-foreground: oklch(0.911 0.04 34.321);
--ring: oklch(0.549 0.177 142.006);
--chart-1: oklch(0.549 0.177 142.006);
--chart-2: oklch(0.431 0.191 324.155);
--chart-3: oklch(0.431 0.191 324.155);
--chart-4: oklch(0.462 0.206 324.139);
--chart-5: oklch(0.555 0.181 142.033);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.993 0.002 143.127);
--muted: oklch(0.176 0.025 323.738);
--muted-foreground: oklch(0.788 0.032 323.319);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.993 0.002 143.127);
--card: oklch(0.092 0 180);
--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.549 0.177 142.006);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.431 0.191 324.155);
--secondary-foreground: oklch(0.905 0.067 323.465);
--accent: oklch(0.431 0.191 324.155);
--accent-foreground: oklch(0.905 0.067 323.465);
--destructive: oklch(0.602 0.207 34.001);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.549 0.177 142.006);
--chart-1: oklch(0.549 0.177 142.006);
--chart-2: oklch(0.431 0.191 324.155);
--chart-3: oklch(0.431 0.191 324.155);
--chart-4: oklch(0.462 0.206 324.139);
--chart-5: oklch(0.555 0.181 142.033);
}