Thickness is a shadcn/ui theme built around a muted orange primary color (#b09382) with muted blue accents (#829fb0). The light mode uses a neutral background (#fdf9f7). Dark mode keeps the muted orange primary (#b09382) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf9f7snow | #000000black |
| Foreground | #0c0704black | #fcf9f8snow |
| Card | #fcf6f3floralwhite | #030303black |
| Card foreground | #080402black | #fdfcfcsnow |
| Popover | #fcf6f3floralwhite | #030303black |
| Popover foreground | #080402black | #fdfcfcsnow |
| Primary | #b09382rosybrown | #b09382rosybrown |
| Primary foreground | #000000black | #000000black |
| Secondary | #829fb0lightslategray | #829fb0lightslategray |
| Secondary foreground | #000000black | #000000black |
| Muted | #cedce3gainsboro | #1c2931darkslategray |
| Muted foreground | #50626ddimgray | #92a4afdarkgray |
| Accent | #829fb0lightslategray | #829fb0lightslategray |
| Accent foreground | #000000black | #000000black |
| Destructive | #6f1d01maroon | #fd4508orangered |
| Destructive foreground | #febba4lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #b09382rosybrown | #b09382rosybrown |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.16:1 | AAA |
| Text on card | 19.08:1 | AAA |
| Primary button | 7.33:1 | AAA |
| Secondary button | 7.54:1 | AAA |
| Muted text | 4.51:1 | AA |
| Accent | 7.54:1 | AAA |
| Destructive | 6.95:1 | AA |
| Text on background | 20.04:1 | AAA |
| Text on card | 20.19:1 | AAA |
| Primary button | 7.33:1 | AAA |
| Secondary button | 7.54:1 | AAA |
| Muted text | 5.77:1 | AA |
| Accent | 7.54:1 | AAA |
| Destructive | 3.49:1 | AA Large |
Paste this into your globals.css to use Thickness in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.985 0.005 52.508);
--foreground: oklch(0.132 0.013 59.762);
--muted: oklch(0.885 0.018 232.879);
--muted-foreground: oklch(0.486 0.027 233.503);
--popover: oklch(0.977 0.008 52.471);
--popover-foreground: oklch(0.115 0.012 60.093);
--card: oklch(0.977 0.008 52.471);
--card-foreground: oklch(0.115 0.012 60.093);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.685 0.044 51.771);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.687 0.042 233.585);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.687 0.042 233.585);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.362 0.121 36.748);
--destructive-foreground: oklch(0.848 0.085 39.216);
--ring: oklch(0.685 0.044 51.771);
--chart-1: oklch(0.685 0.044 51.771);
--chart-2: oklch(0.687 0.042 233.585);
--chart-3: oklch(0.687 0.042 233.585);
--chart-4: oklch(0.711 0.038 233.452);
--chart-5: oklch(0.686 0.049 51.666);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.985 0.003 52.541);
--muted: oklch(0.273 0.024 234.167);
--muted-foreground: oklch(0.709 0.025 233.121);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(0.992 0.001 52.561);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.992 0.001 52.561);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.685 0.044 51.771);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.687 0.042 233.585);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.687 0.042 233.585);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.656 0.227 35.093);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.685 0.044 51.771);
--chart-1: oklch(0.685 0.044 51.771);
--chart-2: oklch(0.687 0.042 233.585);
--chart-3: oklch(0.687 0.042 233.585);
--chart-4: oklch(0.711 0.038 233.452);
--chart-5: oklch(0.686 0.049 51.666);
}