Heavy is a shadcn/ui theme built around a vivid pink primary color (#ed54ad) with muted light pink accents (#d0c2cb). The light mode uses a neutral background (#fbf8fa). Dark mode keeps the vivid pink primary (#ed54ad) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fbf8fasnow | #000000black |
| Foreground | #0f050bblack | #fbf8fasnow |
| Card | #fbf8fasnow | #000000black |
| Card foreground | #0f050bblack | #fbf8fasnow |
| Popover | #fbf8fasnow | #000000black |
| Popover foreground | #0f050bblack | #fbf8fasnow |
| Primary | #ed54adhotpink | #ed54adhotpink |
| Primary foreground | #0e0109black | #0e0109black |
| Secondary | #dddadcgainsboro | #33242ddarkslategray |
| Secondary foreground | #454043darkslategray | #cebac6silver |
| Muted | #f1eef0whitesmoke | #110e10black |
| Muted foreground | #634f5bdimgray | #b09ca7darkgray |
| Accent | #d0c2cbthistle | #573348darkslategray |
| Accent foreground | #372a31darkslategray | #e6d5dfgainsboro |
| Destructive | #ab2b12firebrick | #e94e2ftomato |
| Destructive foreground | #fef3f1seashell | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #ed54adhotpink | #ed54adhotpink |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.07:1 | AAA |
| Text on card | 19.07:1 | AAA |
| Primary button | 6.31:1 | AA |
| Secondary button | 7.30:1 | AAA |
| Muted text | 6.52:1 | AA |
| Accent | 8.00:1 | AAA |
| Destructive | 6.25:1 | AA |
| Text on background | 19.90:1 | AAA |
| Text on card | 19.90:1 | AAA |
| Primary button | 6.31:1 | AA |
| Secondary button | 8.02:1 | AAA |
| Muted text | 7.46:1 | AAA |
| Accent | 7.59:1 | AAA |
| Destructive | 3.74:1 | AA Large |
Paste this into your globals.css to use Heavy in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.983 0.004 341.108);
--foreground: oklch(0.137 0.024 342.96);
--muted: oklch(0.953 0.003 341.092);
--muted-foreground: oklch(0.453 0.031 342.56);
--popover: oklch(0.983 0.004 341.108);
--popover-foreground: oklch(0.137 0.024 342.96);
--card: oklch(0.983 0.004 341.108);
--card-foreground: oklch(0.137 0.024 342.96);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.677 0.207 348.046);
--primary-foreground: oklch(0.118 0.038 341.972);
--secondary: oklch(0.891 0.004 341.113);
--secondary-foreground: oklch(0.377 0.009 341.553);
--accent: oklch(0.829 0.019 341.541);
--accent-foreground: oklch(0.303 0.022 342.653);
--destructive: oklch(0.49 0.168 32.914);
--destructive-foreground: oklch(0.972 0.011 31.067);
--ring: oklch(0.677 0.207 348.046);
--chart-1: oklch(0.677 0.207 348.046);
--chart-2: oklch(0.891 0.004 341.113);
--chart-3: oklch(0.829 0.019 341.541);
--chart-4: oklch(0.914 0.003 341.089);
--chart-5: oklch(0.678 0.213 348.311);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.983 0.004 341.101);
--muted: oklch(0.168 0.005 341.695);
--muted-foreground: oklch(0.713 0.028 341.905);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.983 0.004 341.101);
--card: oklch(0 0 0);
--card-foreground: oklch(0.983 0.004 341.101);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.677 0.207 348.046);
--primary-foreground: oklch(0.118 0.038 341.972);
--secondary: oklch(0.281 0.027 343.098);
--secondary-foreground: oklch(0.81 0.028 341.787);
--accent: oklch(0.372 0.06 344.499);
--accent-foreground: oklch(0.891 0.023 341.61);
--destructive: oklch(0.635 0.196 33.201);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.677 0.207 348.046);
--chart-1: oklch(0.677 0.207 348.046);
--chart-2: oklch(0.281 0.027 343.098);
--chart-3: oklch(0.372 0.06 344.499);
--chart-4: oklch(0.31 0.031 343.177);
--chart-5: oklch(0.678 0.213 348.311);
}