Thick is a shadcn/ui theme built around a deep yellow primary color (#322710) with deep blue accents (#101b32). The light mode uses a neutral background (#fefdfb). Dark mode keeps the deep yellow primary (#322710) on a yellow-tinted background (#0f0c06).
| Token | Light | Dark |
|---|---|---|
| Background | #fefdfbsnow | #0f0c06black |
| Foreground | #110d03black | #f9f8f6whitesmoke |
| Card | #fdfbf7snow | #120f07black |
| Card foreground | #0d0a02black | #fbfaf9snow |
| Popover | #fdfbf7snow | #120f07black |
| Popover foreground | #0d0a02black | #fbfaf9snow |
| Primary | #322710black | #322710black |
| Primary foreground | #dec796burlywood | #dec796burlywood |
| Secondary | #101b32black | #101b32black |
| Secondary foreground | #96addelightsteelblue | #96addelightsteelblue |
| Muted | #eeeff2whitesmoke | #0d0f11black |
| Muted foreground | #595e69dimgray | #969ba6darkgray |
| Accent | #101b32black | #101b32black |
| Accent foreground | #96addelightsteelblue | #96addelightsteelblue |
| Destructive | #b02f07firebrick | #f65c2ctomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #322710black | #322710black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.07:1 | AAA |
| Text on card | 19.13:1 | AAA |
| Primary button | 8.82:1 | AAA |
| Secondary button | 7.62:1 | AAA |
| Muted text | 5.64:1 | AA |
| Accent | 7.62:1 | AAA |
| Destructive | 6.44:1 | AA |
| Text on background | 18.42:1 | AAA |
| Text on card | 18.37:1 | AAA |
| Primary button | 8.82:1 | AAA |
| Secondary button | 7.62:1 | AAA |
| Muted text | 6.90:1 | AA |
| Accent | 7.62:1 | AAA |
| Destructive | 6.47:1 | AA |
Paste this into your globals.css to use Thick in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 86.018);
--foreground: oklch(0.16 0.023 89.148);
--muted: oklch(0.952 0.004 265.987);
--muted-foreground: oklch(0.482 0.018 265.796);
--popover: oklch(0.988 0.006 86.029);
--popover-foreground: oklch(0.144 0.02 91.843);
--card: oklch(0.988 0.006 86.029);
--card-foreground: oklch(0.144 0.02 91.843);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.281 0.041 84.773);
--primary-foreground: oklch(0.838 0.069 85.946);
--secondary: oklch(0.225 0.049 264.098);
--secondary-foreground: oklch(0.748 0.075 265.275);
--accent: oklch(0.225 0.049 264.098);
--accent-foreground: oklch(0.748 0.075 265.275);
--destructive: oklch(0.503 0.172 35.044);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.281 0.041 84.773);
--chart-1: oklch(0.281 0.041 84.773);
--chart-2: oklch(0.225 0.049 264.098);
--chart-3: oklch(0.225 0.049 264.098);
--chart-4: oklch(0.253 0.058 263.959);
--chart-5: oklch(0.283 0.042 84.564);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.155 0.014 87.954);
--foreground: oklch(0.979 0.003 86.018);
--muted: oklch(0.166 0.007 265.784);
--muted-foreground: oklch(0.69 0.016 265.884);
--popover: oklch(0.169 0.016 86.511);
--popover-foreground: oklch(0.986 0.002 86.014);
--card: oklch(0.169 0.016 86.511);
--card-foreground: oklch(0.986 0.002 86.014);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.281 0.041 84.773);
--primary-foreground: oklch(0.838 0.069 85.946);
--secondary: oklch(0.225 0.049 264.098);
--secondary-foreground: oklch(0.748 0.075 265.275);
--accent: oklch(0.225 0.049 264.098);
--accent-foreground: oklch(0.748 0.075 265.275);
--destructive: oklch(0.671 0.199 36.752);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.281 0.041 84.773);
--chart-1: oklch(0.281 0.041 84.773);
--chart-2: oklch(0.225 0.049 264.098);
--chart-3: oklch(0.225 0.049 264.098);
--chart-4: oklch(0.253 0.058 263.959);
--chart-5: oklch(0.283 0.042 84.564);
}