Husky is a shadcn/ui theme built around an orange primary color (#d35c31) with muted light orange accents (#e0d9d6). The light mode uses a neutral background (#ffffff). Dark mode keeps the orange primary (#d35c31) on a neutral background (#070403).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #070403black |
| Foreground | #0c0503black | #faf6f5whitesmoke |
| Card | #ffffffwhite | #070403black |
| Card foreground | #0c0503black | #faf6f5whitesmoke |
| Popover | #ffffffwhite | #070403black |
| Popover foreground | #0c0503black | #faf6f5whitesmoke |
| Primary | #d35c31chocolate | #d35c31chocolate |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #e0d9d6gainsboro | #2d2725darkslategray |
| Secondary foreground | #4c3e39darkslategray | #c8bfbcsilver |
| Muted | #e5dbd7gainsboro | #281e1ablack |
| Muted foreground | #534d4bdarkslategray | #b4aeacdarkgray |
| Accent | #e0d9d6gainsboro | #2d2725darkslategray |
| Accent foreground | #4c3e39darkslategray | #c8bfbcsilver |
| Destructive | #b72610firebrick | #ee563ftomato |
| Destructive foreground | #fffbfasnow | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #d35c31chocolate | #d35c31chocolate |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.21:1 | AAA |
| Text on card | 20.21:1 | AAA |
| Primary button | 3.91:1 | AA Large |
| Secondary button | 7.33:1 | AAA |
| Muted text | 6.08:1 | AA |
| Accent | 7.33:1 | AAA |
| Destructive | 6.19:1 | AA |
| Text on background | 19.01:1 | AAA |
| Text on card | 19.01:1 | AAA |
| Primary button | 3.91:1 | AA Large |
| Secondary button | 8.15:1 | AAA |
| Muted text | 7.43:1 | AAA |
| Accent | 8.15:1 | AAA |
| Destructive | 6.04:1 | AA |
Paste this into your globals.css to use Husky in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.129 0.017 49.524);
--muted: oklch(0.897 0.012 41.201);
--muted-foreground: oklch(0.426 0.008 41.161);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.129 0.017 49.524);
--card: oklch(1 0 180);
--card-foreground: oklch(0.129 0.017 49.524);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.619 0.161 39.523);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.89 0.009 41.228);
--secondary-foreground: oklch(0.377 0.021 40.985);
--accent: oklch(0.89 0.009 41.228);
--accent-foreground: oklch(0.377 0.021 40.985);
--destructive: oklch(0.508 0.184 31.547);
--destructive-foreground: oklch(0.99 0.004 27.953);
--ring: oklch(0.619 0.161 39.523);
--chart-1: oklch(0.619 0.161 39.523);
--chart-2: oklch(0.89 0.009 41.228);
--chart-3: oklch(0.89 0.009 41.228);
--chart-4: oklch(0.914 0.007 41.245);
--chart-5: oklch(0.621 0.168 39.293);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.114 0.008 45.497);
--foreground: oklch(0.976 0.005 41.265);
--muted: oklch(0.246 0.018 40.93);
--muted-foreground: oklch(0.755 0.007 41.23);
--popover: oklch(0.114 0.008 45.497);
--popover-foreground: oklch(0.976 0.005 41.265);
--card: oklch(0.114 0.008 45.497);
--card-foreground: oklch(0.976 0.005 41.265);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.619 0.161 39.523);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.278 0.01 41.074);
--secondary-foreground: oklch(0.811 0.011 41.201);
--accent: oklch(0.278 0.01 41.074);
--accent-foreground: oklch(0.811 0.011 41.201);
--destructive: oklch(0.654 0.192 31.362);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.619 0.161 39.523);
--chart-1: oklch(0.619 0.161 39.523);
--chart-2: oklch(0.278 0.01 41.074);
--chart-3: oklch(0.278 0.01 41.074);
--chart-4: oklch(0.309 0.011 41.066);
--chart-5: oklch(0.621 0.168 39.293);
}