Thick is a shadcn/ui theme built around a near-black primary color (#040102) with neutral gray accents (#c8c0c0). The light mode uses a neutral background (#ffffff). Dark mode keeps the near-black primary (#040102) on a neutral background (#040102).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #040102black |
| Foreground | #110407black | #f9f6f6whitesmoke |
| Card | #ffffffwhite | #040102black |
| Card foreground | #110407black | #f9f6f6whitesmoke |
| Popover | #ffffffwhite | #040102black |
| Popover foreground | #110407black | #f9f6f6whitesmoke |
| Primary | #040102black | #040102black |
| Primary foreground | #eab3c0lightpink | #eab3c0lightpink |
| Secondary | #d9d9d9gainsboro | #171717black |
| Secondary foreground | #404040darkslategray | #b1afb0darkgray |
| Muted | #f6efefwhitesmoke | #10090bblack |
| Muted foreground | #483d3ddarkslategray | #c2b7basilver |
| Accent | #c8c0c0silver | #2a2324darkslategray |
| Accent foreground | #2e2828darkslategray | #c5babcsilver |
| Destructive | #932d10saddlebrown | #e8552cchocolate |
| Destructive foreground | #fbe1damistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #040102black | #040102black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.10:1 | AAA |
| Text on card | 20.10:1 | AAA |
| Primary button | 11.58:1 | AAA |
| Secondary button | 7.32:1 | AAA |
| Muted text | 9.17:1 | AAA |
| Accent | 8.13:1 | AAA |
| Destructive | 6.45:1 | AA |
| Text on background | 19.33:1 | AAA |
| Text on card | 19.33:1 | AAA |
| Primary button | 11.58:1 | AAA |
| Secondary button | 8.23:1 | AAA |
| Muted text | 10.10:1 | AAA |
| Accent | 8.17:1 | AAA |
| Destructive | 3.66:1 | AA Large |
Paste this into your globals.css to use Thick in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.132 0.028 2.58);
--muted: oklch(0.957 0.008 17.296);
--muted-foreground: oklch(0.371 0.015 17.839);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.132 0.028 2.58);
--card: oklch(1 0 180);
--card-foreground: oklch(0.132 0.028 2.58);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.083 0.015 0.981);
--primary-foreground: oklch(0.82 0.066 3.137);
--secondary: oklch(0.885 0 180);
--secondary-foreground: oklch(0.371 0 168.69);
--accent: oklch(0.815 0.009 17.346);
--accent-foreground: oklch(0.285 0.009 17.693);
--destructive: oklch(0.448 0.142 35.412);
--destructive-foreground: oklch(0.93 0.03 35.946);
--ring: oklch(0.083 0.015 0.981);
--chart-1: oklch(0.083 0.015 0.981);
--chart-2: oklch(0.885 0 180);
--chart-3: oklch(0.815 0.009 17.346);
--chart-4: oklch(0.908 0 180);
--chart-5: oklch(0.083 0.016 0.982);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.083 0.015 0.98);
--foreground: oklch(0.975 0.004 1.068);
--muted: oklch(0.151 0.014 3.212);
--muted-foreground: oklch(0.79 0.012 1.399);
--popover: oklch(0.083 0.015 0.98);
--popover-foreground: oklch(0.975 0.004 1.068);
--card: oklch(0.083 0.015 0.98);
--card-foreground: oklch(0.975 0.004 1.068);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.083 0.015 0.981);
--primary-foreground: oklch(0.82 0.066 3.137);
--secondary: oklch(0.204 0.001 1.064);
--secondary-foreground: oklch(0.756 0.002 1.03);
--accent: oklch(0.264 0.011 2.079);
--accent-foreground: oklch(0.798 0.013 1.429);
--destructive: oklch(0.64 0.19 35.868);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.083 0.015 0.981);
--chart-1: oklch(0.083 0.015 0.981);
--chart-2: oklch(0.204 0.001 1.064);
--chart-3: oklch(0.264 0.011 2.079);
--chart-4: oklch(0.237 0.001 1.075);
--chart-5: oklch(0.083 0.016 0.982);
}