Thorough is a shadcn/ui theme built around an indigo primary color (#7665ae) with green accents (#9dae65). The light mode uses a neutral background (#fcfbfe). Dark mode keeps the indigo primary (#7665ae) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfbfewhite | #000000black |
| Foreground | #070311black | #f9f9fbghostwhite |
| Card | #f8f6fdghostwhite | #030303black |
| Card foreground | #05030dblack | #fcfcfdwhite |
| Popover | #fcfbfewhite | #000000black |
| Popover foreground | #070311black | #f9f9fbghostwhite |
| Primary | #7665aeslateblue | #7665aeslateblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #9dae65darkkhaki | #9dae65darkkhaki |
| Secondary foreground | #000000black | #000000black |
| Muted | #eff1e9linen | #14160eblack |
| Muted foreground | #5b5d56dimgray | #a8a9a2darkgray |
| Accent | #9dae65darkkhaki | #9dae65darkkhaki |
| Accent foreground | #000000black | #000000black |
| Destructive | #9a1509darkred | #f44d3etomato |
| Destructive foreground | #fddbd8mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #7665aeslateblue | #7665aeslateblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.72:1 | AAA |
| Text on card | 19.16:1 | AAA |
| Primary button | 4.92:1 | AA |
| Secondary button | 8.68:1 | AAA |
| Muted text | 5.85:1 | AA |
| Accent | 8.68:1 | AAA |
| Destructive | 6.54:1 | AA |
| Text on background | 19.97:1 | AAA |
| Text on card | 20.16:1 | AAA |
| Primary button | 4.92:1 | AA |
| Secondary button | 8.68:1 | AAA |
| Muted text | 7.72:1 | AAA |
| Accent | 8.68:1 | AAA |
| Destructive | 3.51:1 | AA Large |
Paste this into your globals.css to use Thorough in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.005 296.995);
--foreground: oklch(0.12 0.034 294.898);
--muted: oklch(0.954 0.01 117.269);
--muted-foreground: oklch(0.474 0.011 117.512);
--popover: oklch(0.989 0.005 296.995);
--popover-foreground: oklch(0.12 0.034 294.898);
--card: oklch(0.978 0.009 296.908);
--card-foreground: oklch(0.108 0.03 296.067);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.556 0.111 293.159);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.721 0.099 119.683);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.721 0.099 119.683);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.441 0.168 30.095);
--destructive-foreground: oklch(0.92 0.037 24.021);
--ring: oklch(0.556 0.111 293.159);
--chart-1: oklch(0.556 0.111 293.159);
--chart-2: oklch(0.721 0.099 119.683);
--chart-3: oklch(0.721 0.099 119.683);
--chart-4: oklch(0.739 0.093 119.433);
--chart-5: oklch(0.549 0.122 292.669);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.983 0.003 297.032);
--muted: oklch(0.194 0.015 118.462);
--muted-foreground: oklch(0.732 0.01 117.331);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.983 0.003 297.032);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.991 0.001 297.056);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.556 0.111 293.159);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.721 0.099 119.683);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.721 0.099 119.683);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.653 0.205 29.052);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.556 0.111 293.159);
--chart-1: oklch(0.556 0.111 293.159);
--chart-2: oklch(0.721 0.099 119.683);
--chart-3: oklch(0.721 0.099 119.683);
--chart-4: oklch(0.739 0.093 119.433);
--chart-5: oklch(0.549 0.122 292.669);
}