Thorough is a shadcn/ui theme built around a near-white primary color (#fcf7fd) with near-white accents (#f7fdf7). The light mode uses a neutral background (#fdfbfd). Dark mode keeps the near-white primary (#fcf7fd) on a purple-tinted background (#0e050f).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfbfdsnow | #0e050fblack |
| Foreground | #000000black | #ffffffwhite |
| Card | #fdfbfdsnow | #0e050fblack |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fdfbfdsnow | #0e050fblack |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #fcf7fdghostwhite | #fcf7fdghostwhite |
| Primary foreground | #90239fdarkmagenta | #90239fdarkmagenta |
| Secondary | #f7fdf7mintcream | #f7fdf7mintcream |
| Secondary foreground | #174b11darkgreen | #174b11darkgreen |
| Muted | #e0eddegainsboro | #142112black |
| Muted foreground | #5d6b5bdimgray | #95a494darkseagreen |
| Accent | #f7fdf7mintcream | #f7fdf7mintcream |
| Accent foreground | #174b11darkgreen | #174b11darkgreen |
| Destructive | #811403maroon | #f92f10orangered |
| Destructive foreground | #fdc2b9lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #fcf7fdghostwhite | #fcf7fdghostwhite |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.46:1 | AAA |
| Text on card | 20.46:1 | AAA |
| Primary button | 6.77:1 | AA |
| Secondary button | 9.93:1 | AAA |
| Muted text | 4.65:1 | AA |
| Accent | 9.93:1 | AAA |
| Destructive | 6.66:1 | AA |
| Text on background | 20.02:1 | AAA |
| Text on card | 20.02:1 | AAA |
| Primary button | 6.77:1 | AA |
| Secondary button | 9.93:1 | AAA |
| Muted text | 6.40:1 | AA |
| Accent | 9.93:1 | AAA |
| Destructive | 3.85:1 | AA Large |
Paste this into your globals.css to use Thorough in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.003 322.124);
--foreground: oklch(0 0 0);
--muted: oklch(0.932 0.023 142.027);
--muted-foreground: oklch(0.512 0.03 141.91);
--popover: oklch(0.991 0.003 322.124);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.991 0.003 322.124);
--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.981 0.011 322.149);
--primary-foreground: oklch(0.485 0.2 322.692);
--secondary: oklch(0.988 0.01 142.076);
--secondary-foreground: oklch(0.366 0.104 141.436);
--accent: oklch(0.988 0.01 142.076);
--accent-foreground: oklch(0.366 0.104 141.436);
--destructive: oklch(0.39 0.145 31.677);
--destructive-foreground: oklch(0.866 0.069 28.553);
--ring: oklch(0.981 0.011 322.149);
--chart-1: oklch(0.981 0.011 322.149);
--chart-2: oklch(0.988 0.01 142.076);
--chart-3: oklch(0.988 0.01 142.076);
--chart-4: oklch(1.006 0.005 322.131);
--chart-5: oklch(0.981 0.011 322.151);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.138 0.027 323.039);
--foreground: oklch(1 0 180);
--muted: oklch(0.23 0.032 141.636);
--muted-foreground: oklch(0.701 0.028 141.976);
--popover: oklch(0.138 0.027 323.039);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.138 0.027 323.039);
--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.981 0.011 322.149);
--primary-foreground: oklch(0.485 0.2 322.692);
--secondary: oklch(0.988 0.01 142.076);
--secondary-foreground: oklch(0.366 0.104 141.436);
--accent: oklch(0.988 0.01 142.076);
--accent-foreground: oklch(0.366 0.104 141.436);
--destructive: oklch(0.634 0.237 31.33);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.981 0.011 322.149);
--chart-1: oklch(0.981 0.011 322.149);
--chart-2: oklch(0.988 0.01 142.076);
--chart-3: oklch(0.988 0.01 142.076);
--chart-4: oklch(1.006 0.005 322.131);
--chart-5: oklch(0.981 0.011 322.151);
}