Heavy is a shadcn/ui theme built around a teal primary color (#239571) with pink accents (#952347). The light mode uses a neutral background (#f8fcfb). Dark mode keeps the teal primary (#239571) on a teal-tinted background (#060f0c).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fcfbmintcream | #060f0cblack |
| Foreground | #03110dblack | #f5faf8mintcream |
| Card | #f8fcfbmintcream | #060f0cblack |
| Card foreground | #03110dblack | #f5faf8mintcream |
| Popover | #f8fcfbmintcream | #060f0cblack |
| Popover foreground | #03110dblack | #f5faf8mintcream |
| Primary | #239571seagreen | #239571seagreen |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #952347brown | #952347brown |
| Secondary foreground | #fbeef2lavenderblush | #fbeef2lavenderblush |
| Muted | #f3e8eblinen | #170c10black |
| Muted foreground | #4b3a3fdarkslategray | #c5b4basilver |
| Accent | #952347brown | #952347brown |
| Accent foreground | #fbeef2lavenderblush | #fbeef2lavenderblush |
| Destructive | #962003darkred | #fa4619orangered |
| Destructive foreground | #fed7cdbisque | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #239571seagreen | #239571seagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.60:1 | AAA |
| Text on card | 18.60:1 | AAA |
| Primary button | 3.75:1 | AA Large |
| Secondary button | 7.15:1 | AAA |
| Muted text | 8.86:1 | AAA |
| Accent | 7.15:1 | AAA |
| Destructive | 6.30:1 | AA |
| Text on background | 18.45:1 | AAA |
| Text on card | 18.45:1 | AAA |
| Primary button | 3.75:1 | AA Large |
| Secondary button | 7.15:1 | AAA |
| Muted text | 9.65:1 | AAA |
| Accent | 7.15:1 | AAA |
| Destructive | 3.51:1 | AA Large |
Paste this into your globals.css to use Heavy in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.004 175.486);
--foreground: oklch(0.162 0.023 172.712);
--muted: oklch(0.94 0.012 355.995);
--muted-foreground: oklch(0.368 0.026 357.558);
--popover: oklch(0.987 0.004 175.486);
--popover-foreground: oklch(0.162 0.023 172.712);
--card: oklch(0.987 0.004 175.486);
--card-foreground: oklch(0.162 0.023 172.712);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.598 0.113 166.554);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.451 0.15 6.982);
--secondary-foreground: oklch(0.962 0.015 356.05);
--accent: oklch(0.451 0.15 6.982);
--accent-foreground: oklch(0.962 0.015 356.05);
--destructive: oklch(0.441 0.157 33.683);
--destructive-foreground: oklch(0.909 0.046 34.336);
--ring: oklch(0.598 0.113 166.554);
--chart-1: oklch(0.598 0.113 166.554);
--chart-2: oklch(0.451 0.15 6.982);
--chart-3: oklch(0.451 0.15 6.982);
--chart-4: oklch(0.477 0.16 7.125);
--chart-5: oklch(0.605 0.117 166.142);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.156 0.016 173.623);
--foreground: oklch(0.98 0.005 175.455);
--muted: oklch(0.173 0.019 358.704);
--muted-foreground: oklch(0.786 0.021 356.375);
--popover: oklch(0.156 0.016 173.623);
--popover-foreground: oklch(0.98 0.005 175.455);
--card: oklch(0.156 0.016 173.623);
--card-foreground: oklch(0.98 0.005 175.455);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.598 0.113 166.554);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.451 0.15 6.982);
--secondary-foreground: oklch(0.962 0.015 356.05);
--accent: oklch(0.451 0.15 6.982);
--accent-foreground: oklch(0.962 0.015 356.05);
--destructive: oklch(0.654 0.223 34.102);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.598 0.113 166.554);
--chart-1: oklch(0.598 0.113 166.554);
--chart-2: oklch(0.451 0.15 6.982);
--chart-3: oklch(0.451 0.15 6.982);
--chart-4: oklch(0.477 0.16 7.125);
--chart-5: oklch(0.605 0.117 166.142);
}