Thinking is a shadcn/ui theme built around a muted deep purple primary color (#0f0910) with muted deep purple accents (#10090e). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted deep purple primary (#0f0910) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #070208black | #f9f5faghostwhite |
| Card | #ffffffwhite | #000000black |
| Card foreground | #070208black | #f9f5faghostwhite |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #070208black | #f9f5faghostwhite |
| Primary | #0f0910black | #0f0910black |
| Primary foreground | #b58cc0darkgray | #b58cc0darkgray |
| Secondary | #0b0910black | #0b0910black |
| Secondary foreground | #9b8cc0darkgray | #9b8cc0darkgray |
| Muted | #eceaf0lavender | #110f15black |
| Muted foreground | #43404adarkslategray | #b8b5bfsilver |
| Accent | #10090eblack | #10090eblack |
| Accent foreground | #c08cb0rosybrown | #c08cb0rosybrown |
| Destructive | #6b150amaroon | #eb3b24orangered |
| Destructive foreground | #f8b8b0lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #0f0910black | #0f0910black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.56:1 | AAA |
| Text on card | 20.56:1 | AAA |
| Primary button | 7.00:1 | AAA |
| Secondary button | 6.50:1 | AA |
| Muted text | 8.51:1 | AAA |
| Accent | 7.13:1 | AAA |
| Destructive | 7.15:1 | AAA |
| Text on background | 19.46:1 | AAA |
| Text on card | 19.46:1 | AAA |
| Primary button | 7.00:1 | AAA |
| Secondary button | 6.50:1 | AA |
| Muted text | 9.43:1 | AAA |
| Accent | 7.13:1 | AAA |
| Destructive | 4.06:1 | AA Large |
Paste this into your globals.css to use Thinking in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.104 0.028 321.657);
--muted: oklch(0.941 0.008 299.898);
--muted-foreground: oklch(0.378 0.017 299.296);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.104 0.028 321.657);
--card: oklch(1 0 180);
--card-foreground: oklch(0.104 0.028 321.657);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.152 0.018 319.49);
--primary-foreground: oklch(0.696 0.087 319.463);
--secondary: oklch(0.147 0.016 298.257);
--secondary-foreground: oklch(0.672 0.077 298.06);
--accent: oklch(0.153 0.017 337.752);
--accent-foreground: oklch(0.701 0.079 337.871);
--destructive: oklch(0.348 0.121 31.026);
--destructive-foreground: oklch(0.839 0.075 27.296);
--ring: oklch(0.152 0.018 319.49);
--chart-1: oklch(0.152 0.018 319.49);
--chart-2: oklch(0.147 0.016 298.257);
--chart-3: oklch(0.153 0.017 337.752);
--chart-4: oklch(0.177 0.025 297.616);
--chart-5: oklch(0.151 0.02 319.512);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.974 0.008 319.447);
--muted: oklch(0.173 0.012 298.864);
--muted-foreground: oklch(0.779 0.014 299.739);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.974 0.008 319.447);
--card: oklch(0 0 0);
--card-foreground: oklch(0.974 0.008 319.447);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.152 0.018 319.49);
--primary-foreground: oklch(0.696 0.087 319.463);
--secondary: oklch(0.147 0.016 298.257);
--secondary-foreground: oklch(0.672 0.077 298.06);
--accent: oklch(0.153 0.017 337.752);
--accent-foreground: oklch(0.701 0.079 337.871);
--destructive: oklch(0.618 0.215 31.024);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.152 0.018 319.49);
--chart-1: oklch(0.152 0.018 319.49);
--chart-2: oklch(0.147 0.016 298.257);
--chart-3: oklch(0.153 0.017 337.752);
--chart-4: oklch(0.177 0.025 297.616);
--chart-5: oklch(0.151 0.02 319.512);
}