Bold is a shadcn/ui theme built around a deep pink primary color (#590d24) with deep red accents (#591c0d). The light mode uses a neutral background (#fdf7f9). Dark mode keeps the deep pink primary (#590d24) on a pink-tinted background (#0c0406).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf7f9snow | #0c0406black |
| Foreground | #13060ablack | #f9f6f7whitesmoke |
| Card | #fcf2f5lavenderblush | #100508black |
| Card foreground | #100508black | #fbf9fasnow |
| Popover | #fdf7f9snow | #0c0406black |
| Popover foreground | #13060ablack | #f9f6f7whitesmoke |
| Primary | #590d24maroon | #590d24maroon |
| Primary foreground | #f2a6bdlightpink | #f2a6bdlightpink |
| Secondary | #590d4aindigo | #590d4aindigo |
| Secondary foreground | #f2a6e3plum | #f2a6e3plum |
| Muted | #eeddeblavender | #22111fblack |
| Muted foreground | #454044darkslategray | #bfbabesilver |
| Accent | #591c0dmaroon | #591c0dmaroon |
| Accent foreground | #f2b5a6lightpink | #f2b5a6lightpink |
| Destructive | #d52710firebrick | #f04d38tomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #590d24maroon | #590d24maroon |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.71:1 | AAA |
| Text on card | 18.35:1 | AAA |
| Primary button | 7.27:1 | AAA |
| Secondary button | 7.18:1 | AAA |
| Muted text | 7.80:1 | AAA |
| Accent | 7.47:1 | AAA |
| Destructive | 5.07:1 | AA |
| Text on background | 18.92:1 | AAA |
| Text on card | 19.15:1 | AAA |
| Primary button | 7.27:1 | AAA |
| Secondary button | 7.18:1 | AAA |
| Muted text | 9.40:1 | AAA |
| Accent | 7.47:1 | AAA |
| Destructive | 3.60:1 | AA Large |
Paste this into your globals.css to use Bold in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.007 356.876);
--foreground: oklch(0.147 0.026 359.809);
--muted: oklch(0.915 0.026 332.427);
--muted-foreground: oklch(0.377 0.01 332.397);
--popover: oklch(0.981 0.007 356.876);
--popover-foreground: oklch(0.147 0.026 359.809);
--card: oklch(0.971 0.011 356.988);
--card-foreground: oklch(0.135 0.023 357.953);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.307 0.107 9.209);
--primary-foreground: oklch(0.805 0.093 359.833);
--secondary: oklch(0.324 0.126 337.867);
--secondary-foreground: oklch(0.817 0.117 333.996);
--accent: oklch(0.321 0.093 35.068);
--accent-foreground: oklch(0.826 0.074 34.474);
--destructive: oklch(0.564 0.211 30.951);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.307 0.107 9.209);
--chart-1: oklch(0.307 0.107 9.209);
--chart-2: oklch(0.324 0.126 337.867);
--chart-3: oklch(0.321 0.093 35.068);
--chart-4: oklch(0.356 0.14 338.006);
--chart-5: oklch(0.309 0.11 9.839);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.121 0.02 356.588);
--foreground: oklch(0.976 0.003 356.745);
--muted: oklch(0.208 0.038 334.495);
--muted-foreground: oklch(0.795 0.008 332.161);
--popover: oklch(0.121 0.02 356.588);
--popover-foreground: oklch(0.976 0.003 356.745);
--card: oklch(0.135 0.023 357.975);
--card-foreground: oklch(0.984 0.002 356.716);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.307 0.107 9.209);
--primary-foreground: oklch(0.805 0.093 359.833);
--secondary: oklch(0.324 0.126 337.867);
--secondary-foreground: oklch(0.817 0.117 333.996);
--accent: oklch(0.321 0.093 35.068);
--accent-foreground: oklch(0.826 0.074 34.474);
--destructive: oklch(0.646 0.203 30.717);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.307 0.107 9.209);
--chart-1: oklch(0.307 0.107 9.209);
--chart-2: oklch(0.324 0.126 337.867);
--chart-3: oklch(0.321 0.093 35.068);
--chart-4: oklch(0.356 0.14 338.006);
--chart-5: oklch(0.309 0.11 9.839);
}