Bake is a shadcn/ui theme built around a deep pink primary color (#5d1d3f) with deep blue accents (#1d3f5d). The light mode uses a neutral background (#fefbfd). Dark mode keeps the deep pink primary (#5d1d3f) on a neutral background (#040203).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfdsnow | #040203black |
| Foreground | #0d0208black | #fdfcfcsnow |
| Card | #fefbfdsnow | #040203black |
| Card foreground | #0d0208black | #fdfcfcsnow |
| Popover | #fefbfdsnow | #040203black |
| Popover foreground | #0d0208black | #fdfcfcsnow |
| Primary | #5d1d3fdarkslategray | #5d1d3fdarkslategray |
| Primary foreground | #ebc1d8thistle | #ebc1d8thistle |
| Secondary | #3f5d1ddarkolivegreen | #3f5d1ddarkolivegreen |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e9efe1beige | #171e10black |
| Muted foreground | #677359dimgray | #9aa68cdarkseagreen |
| Accent | #1d3f5ddarkslategray | #1d3f5ddarkslategray |
| Accent foreground | #c1d8ebpowderblue | #c1d8ebpowderblue |
| Destructive | #d25004chocolate | #f05b05orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #5d1d3fdarkslategray | #5d1d3fdarkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.84:1 | AAA |
| Text on card | 19.84:1 | AAA |
| Primary button | 7.65:1 | AAA |
| Secondary button | 7.50:1 | AAA |
| Muted text | 4.28:1 | AA Large |
| Accent | 7.40:1 | AAA |
| Destructive | 4.30:1 | AA Large |
| Text on background | 20.25:1 | AAA |
| Text on card | 20.25:1 | AAA |
| Primary button | 7.65:1 | AAA |
| Secondary button | 7.50:1 | AAA |
| Muted text | 6.66:1 | AA |
| Accent | 7.40:1 | AAA |
| Destructive | 3.38:1 | AA Large |
Paste this into your globals.css to use Bake in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.004 343.536);
--foreground: oklch(0.119 0.032 343.935);
--muted: oklch(0.944 0.02 127.376);
--muted-foreground: oklch(0.538 0.043 128.127);
--popover: oklch(0.991 0.004 343.536);
--popover-foreground: oklch(0.119 0.032 343.935);
--card: oklch(0.991 0.004 343.536);
--card-foreground: oklch(0.119 0.032 343.935);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.343 0.101 350.7);
--primary-foreground: oklch(0.854 0.056 345.028);
--secondary: oklch(0.44 0.097 130.775);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.358 0.065 247.213);
--accent-foreground: oklch(0.87 0.037 244.615);
--destructive: oklch(0.597 0.178 42.096);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.343 0.101 350.7);
--chart-1: oklch(0.343 0.101 350.7);
--chart-2: oklch(0.44 0.097 130.775);
--chart-3: oklch(0.358 0.065 247.213);
--chart-4: oklch(0.478 0.107 130.853);
--chart-5: oklch(0.344 0.106 351.138);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.087 0.011 343.384);
--foreground: oklch(0.992 0.002 343.485);
--muted: oklch(0.224 0.028 128.795);
--muted-foreground: oklch(0.709 0.04 127.824);
--popover: oklch(0.087 0.011 343.384);
--popover-foreground: oklch(0.992 0.002 343.485);
--card: oklch(0.087 0.011 343.384);
--card-foreground: oklch(0.992 0.002 343.485);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.343 0.101 350.7);
--primary-foreground: oklch(0.854 0.056 345.028);
--secondary: oklch(0.44 0.097 130.775);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.358 0.065 247.213);
--accent-foreground: oklch(0.87 0.037 244.615);
--destructive: oklch(0.659 0.198 41.787);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.343 0.101 350.7);
--chart-1: oklch(0.343 0.101 350.7);
--chart-2: oklch(0.44 0.097 130.775);
--chart-3: oklch(0.358 0.065 247.213);
--chart-4: oklch(0.478 0.107 130.853);
--chart-5: oklch(0.344 0.106 351.138);
}