Thorough is a shadcn/ui theme built around a muted light green primary color (#f0f5f1) with muted light teal accents (#f0f5f3). The light mode uses a neutral background (#fbfefc). Dark mode keeps the muted light green primary (#f0f5f1) on a neutral background (#020803).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefcwhite | #020803black |
| Foreground | #000000black | #f8fcf9mintcream |
| Card | #f8fcf8mintcream | #030c05black |
| Card foreground | #000000black | #fcfdfcwhite |
| Popover | #f8fcf8mintcream | #030c05black |
| Popover foreground | #000000black | #fcfdfcwhite |
| Primary | #f0f5f1whitesmoke | #f0f5f1whitesmoke |
| Primary foreground | #1f2d22darkslategray | #1f2d22darkslategray |
| Secondary | #f1f5f0whitesmoke | #f1f5f0whitesmoke |
| Secondary foreground | #242d1fdarkslategray | #242d1fdarkslategray |
| Muted | #eff1efwhitesmoke | #0f100eblack |
| Muted foreground | #545454dimgray | #abababdarkgray |
| Accent | #f0f5f3whitesmoke | #f0f5f3whitesmoke |
| Accent foreground | #1f2d29darkslategray | #1f2d29darkslategray |
| Destructive | #d82703firebrick | #f12b04orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f0f5f1whitesmoke | #f0f5f1whitesmoke |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.63:1 | AAA |
| Text on card | 20.27:1 | AAA |
| Primary button | 13.02:1 | AAA |
| Secondary button | 12.93:1 | AAA |
| Muted text | 6.66:1 | AA |
| Accent | 12.96:1 | AAA |
| Destructive | 4.99:1 | AA |
| Text on background | 19.51:1 | AAA |
| Text on card | 19.43:1 | AAA |
| Primary button | 13.02:1 | AAA |
| Secondary button | 12.93:1 | AAA |
| Muted text | 8.29:1 | AAA |
| Accent | 12.96:1 | AAA |
| Destructive | 4.12:1 | AA Large |
Paste this into your globals.css to use Thorough in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 150.775);
--foreground: oklch(0 0 0);
--muted: oklch(0.956 0.003 134.844);
--muted-foreground: oklch(0.446 0 180);
--popover: oklch(0.987 0.007 150.728);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.987 0.007 150.728);
--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.964 0.007 150.721);
--primary-foreground: oklch(0.281 0.028 149.352);
--secondary: oklch(0.965 0.007 134.862);
--secondary-foreground: oklch(0.284 0.028 135.353);
--accent: oklch(0.965 0.005 174.428);
--accent-foreground: oklch(0.283 0.02 172.269);
--destructive: oklch(0.568 0.214 31.947);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.964 0.007 150.721);
--chart-1: oklch(0.964 0.007 150.721);
--chart-2: oklch(0.965 0.007 134.862);
--chart-3: oklch(0.965 0.005 174.428);
--chart-4: oklch(0.986 0.003 134.841);
--chart-5: oklch(0.965 0.008 150.705);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.123 0.022 149.773);
--foreground: oklch(0.987 0.005 150.75);
--muted: oklch(0.172 0.005 134.97);
--muted-foreground: oklch(0.741 0 171.254);
--popover: oklch(0.141 0.025 149.673);
--popover-foreground: oklch(0.993 0.003 150.786);
--card: oklch(0.141 0.025 149.673);
--card-foreground: oklch(0.993 0.003 150.786);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.964 0.007 150.721);
--primary-foreground: oklch(0.281 0.028 149.352);
--secondary: oklch(0.965 0.007 134.862);
--secondary-foreground: oklch(0.284 0.028 135.353);
--accent: oklch(0.965 0.005 174.428);
--accent-foreground: oklch(0.283 0.02 172.269);
--destructive: oklch(0.617 0.233 31.827);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.964 0.007 150.721);
--chart-1: oklch(0.964 0.007 150.721);
--chart-2: oklch(0.965 0.007 134.862);
--chart-3: oklch(0.965 0.005 174.428);
--chart-4: oklch(0.986 0.003 134.841);
--chart-5: oklch(0.965 0.008 150.705);
}