Toque is a shadcn/ui theme built around a vivid deep indigo primary color (#080a72) with vivid deep violet accents (#3b0872). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid deep indigo primary (#080a72) on an indigo-tinted background (#06060e).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #06060eblack |
| Foreground | #000000black | #f9f9fbghostwhite |
| Card | #fcfcfcsnow | #080812black |
| Card foreground | #000000black | #fcfcfdwhite |
| Popover | #fcfcfcsnow | #080812black |
| Popover foreground | #000000black | #fcfcfdwhite |
| Primary | #080a72navy | #080a72navy |
| Primary foreground | #b3b4falightsteelblue | #b3b4falightsteelblue |
| Secondary | #083f72midnightblue | #083f72midnightblue |
| Secondary foreground | #b3d7falightblue | #b3d7falightblue |
| Muted | #edf0f2whitesmoke | #0d0f12black |
| Muted foreground | #3e4247darkslategray | #b8bdc1silver |
| Accent | #3b0872indigo | #3b0872indigo |
| Accent foreground | #d5b3faplum | #d5b3faplum |
| Destructive | #ae3704firebrick | #e54906orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #080a72navy | #080a72navy |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 8.34:1 | AAA |
| Secondary button | 7.13:1 | AAA |
| Muted text | 8.83:1 | AAA |
| Accent | 7.94:1 | AAA |
| Destructive | 6.25:1 | AA |
| Text on background | 19.17:1 | AAA |
| Text on card | 19.46:1 | AAA |
| Primary button | 8.34:1 | AAA |
| Secondary button | 7.13:1 | AAA |
| Muted text | 10.11:1 | AAA |
| Accent | 7.94:1 | AAA |
| Destructive | 3.98:1 | AA Large |
Paste this into your globals.css to use Toque in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0 0 0);
--muted: oklch(0.953 0.004 246.02);
--muted-foreground: oklch(0.378 0.01 246.267);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0 0 0);
--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.263 0.164 266.936);
--primary-foreground: oklch(0.794 0.099 283.164);
--secondary: oklch(0.365 0.103 252.297);
--secondary-foreground: oklch(0.865 0.062 246.787);
--accent: oklch(0.307 0.157 296.969);
--accent-foreground: oklch(0.82 0.104 306.291);
--destructive: oklch(0.508 0.163 38.288);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.263 0.164 266.936);
--chart-1: oklch(0.263 0.164 266.936);
--chart-2: oklch(0.365 0.103 252.297);
--chart-3: oklch(0.307 0.157 296.969);
--chart-4: oklch(0.395 0.113 252.537);
--chart-5: oklch(0.264 0.168 266.281);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.129 0.019 282.458);
--foreground: oklch(0.982 0.003 285.569);
--muted: oklch(0.168 0.007 246.428);
--muted-foreground: oklch(0.795 0.008 246.087);
--popover: oklch(0.139 0.022 282.264);
--popover-foreground: oklch(0.991 0.001 285.593);
--card: oklch(0.139 0.022 282.264);
--card-foreground: oklch(0.991 0.001 285.593);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.263 0.164 266.936);
--primary-foreground: oklch(0.794 0.099 283.164);
--secondary: oklch(0.365 0.103 252.297);
--secondary-foreground: oklch(0.865 0.062 246.787);
--accent: oklch(0.307 0.157 296.969);
--accent-foreground: oklch(0.82 0.104 306.291);
--destructive: oklch(0.62 0.202 37.717);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.263 0.164 266.936);
--chart-1: oklch(0.263 0.164 266.936);
--chart-2: oklch(0.365 0.103 252.297);
--chart-3: oklch(0.307 0.157 296.969);
--chart-4: oklch(0.395 0.113 252.537);
--chart-5: oklch(0.264 0.168 266.281);
}