New Creamy Corner is a shadcn/ui theme built around a pink primary color (#cd3271) with pink accents (#e594b5). The light mode uses a neutral background (#fdf7f9). Dark mode keeps the pink primary (#e080a7) on a blue-tinted background (#04050c).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf7f9snow | #04050cblack |
| Foreground | #080205black | #fcfcfdwhite |
| Card | #f9e6eelinen | #05070fblack |
| Card foreground | #080205black | #ffffffwhite |
| Popover | #f9e6eelinen | #05070fblack |
| Popover foreground | #080205black | #ffffffwhite |
| Primary | #cd3271mediumvioletred | #e080a7palevioletred |
| Primary foreground | #fdf7f9snow | #ffffffwhite |
| Secondary | #e594b5plum | #99e2dflightblue |
| Secondary foreground | #290a17black | #000000black |
| Muted | #f5d1d7pink | #3d151bblack |
| Muted foreground | #c35364indianred | #ffffffwhite |
| Accent | #e594b5plum | #9c3544brown |
| Accent foreground | #290a17black | #ffffffwhite |
| Destructive | #d01e1efirebrick | #d01e1efirebrick |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #edb5cclightpink | #1e1f24black |
| Input | #f5d6e3mistyrose | #1e1f24black |
| Ring | #e080a7palevioletred | #e080a7palevioletred |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.43:1 | AAA |
| Text on card | 17.21:1 | AAA |
| Primary button | 4.62:1 | AA |
| Secondary button | 8.02:1 | AAA |
| Muted text | 3.16:1 | AA Large |
| Accent | 8.02:1 | AAA |
| Destructive | 5.41:1 | AA |
| Text on background | 19.86:1 | AAA |
| Text on card | 20.15:1 | AAA |
| Primary button | 2.68:1 | Fail |
| Secondary button | 14.29:1 | AAA |
| Muted text | 15.89:1 | AAA |
| Accent | 6.98:1 | AA |
| Destructive | 5.40:1 | AA |
Paste this into your globals.css to use New Creamy Corner in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.007 354.79);
--foreground: oklch(0.105 0.022 344.94);
--muted: oklch(0.893 0.04 7.725);
--muted-foreground: oklch(0.589 0.144 13.428);
--popover: oklch(0.942 0.023 350.101);
--popover-foreground: oklch(0.105 0.022 344.94);
--card: oklch(0.942 0.023 350.101);
--card-foreground: oklch(0.105 0.022 344.94);
--border: oklch(0.831 0.071 352.295);
--input: oklch(0.906 0.038 350.669);
--primary: oklch(0.574 0.196 1.239);
--primary-foreground: oklch(0.981 0.007 354.79);
--secondary: oklch(0.758 0.105 353.877);
--secondary-foreground: oklch(0.203 0.054 356.972);
--accent: oklch(0.758 0.105 353.877);
--accent-foreground: oklch(0.203 0.054 356.972);
--destructive: oklch(0.549 0.209 27.712);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.715 0.126 354.955);
--chart-1: oklch(0.574 0.196 1.239);
--chart-2: oklch(0.758 0.105 353.877);
--chart-3: oklch(0.758 0.105 353.877);
--chart-4: oklch(0.784 0.092 353.323);
--chart-5: oklch(0.577 0.202 1.88);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.117 0.018 272.675);
--foreground: oklch(0.991 0.002 278.293);
--muted: oklch(0.26 0.063 13.594);
--muted-foreground: oklch(1 0 180);
--popover: oklch(0.129 0.021 273.13);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.129 0.021 273.13);
--card-foreground: oklch(1 0 180);
--border: oklch(0.241 0.01 277.7);
--input: oklch(0.241 0.01 277.7);
--primary: oklch(0.715 0.126 354.955);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.864 0.073 192.622);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.482 0.137 15.339);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.55 0.21 27.731);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.715 0.126 354.955);
--chart-1: oklch(0.715 0.126 354.955);
--chart-2: oklch(0.864 0.073 192.622);
--chart-3: oklch(0.482 0.137 15.339);
--chart-4: oklch(0.879 0.065 192.822);
--chart-5: oklch(0.714 0.132 355.198);
}