Cruel Rose Souvenir is a shadcn/ui theme built around a muted purple primary color (#c08cbe) with muted purple accents (#c8acc7). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted purple primary (#c08cbe) on a purple-tinted background (#0b040b).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0b040bblack |
| Foreground | #000000black | #ffffffwhite |
| Card | #ffffffwhite | #0b040bblack |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #ffffffwhite | #0b040bblack |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #c08cbedarkgray | #c08cbedarkgray |
| Primary foreground | #100910black | #100910black |
| Secondary | #d2c6d2thistle | #161316black |
| Secondary foreground | #392d39darkslategray | #b5a6b4darkgray |
| Muted | #e8dee7gainsboro | #211721black |
| Muted foreground | #6f526edimgray | #ad90acdarkgray |
| Accent | #c8acc7silver | #2c212cdarkslategray |
| Accent foreground | #281b27black | #c9b6c8silver |
| Destructive | #ad0101darkred | #fe0101red |
| Destructive foreground | #ffe1e1mistyrose | #ffffffwhite |
| Border | #e9e7e9lavender | #1d1b1dblack |
| Input | #e9e7e9lavender | #1d1b1dblack |
| Ring | #c08cbedarkgray | #c08cbedarkgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 7.22:1 | AAA |
| Secondary button | 7.91:1 | AAA |
| Muted text | 5.16:1 | AA |
| Accent | 7.99:1 | AAA |
| Destructive | 6.17:1 | AA |
| Text on background | 20.23:1 | AAA |
| Text on card | 20.23:1 | AAA |
| Primary button | 7.22:1 | AAA |
| Secondary button | 7.98:1 | AAA |
| Muted text | 6.08:1 | AA |
| Accent | 8.12:1 | AAA |
| Destructive | 4.03:1 | AA Large |
Paste this into your globals.css to use Cruel Rose Souvenir in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0 0 0);
--muted: oklch(0.911 0.016 326.693);
--muted-foreground: oklch(0.481 0.057 327.513);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0 0 0);
--card: oklch(1 0 180);
--card-foreground: oklch(0 0 0);
--border: oklch(0.931 0.002 326.562);
--input: oklch(0.931 0.002 326.562);
--primary: oklch(0.706 0.092 327.603);
--primary-foreground: oklch(0.154 0.019 327.562);
--secondary: oklch(0.84 0.021 326.756);
--secondary-foreground: oklch(0.315 0.027 327.248);
--accent: oklch(0.778 0.048 327.062);
--accent-foreground: oklch(0.242 0.031 327.579);
--destructive: oklch(0.469 0.192 29.182);
--destructive-foreground: oklch(0.933 0.034 17.768);
--ring: oklch(0.706 0.092 327.603);
--chart-1: oklch(0.706 0.092 327.603);
--chart-2: oklch(0.84 0.021 326.756);
--chart-3: oklch(0.778 0.048 327.062);
--chart-4: oklch(0.864 0.018 326.717);
--chart-5: oklch(0.705 0.101 327.705);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.126 0.022 327.71);
--foreground: oklch(1 0 180);
--muted: oklch(0.222 0.023 327.387);
--muted-foreground: oklch(0.687 0.052 327.178);
--popover: oklch(0.126 0.022 327.71);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.126 0.022 327.71);
--card-foreground: oklch(1 0 180);
--border: oklch(0.226 0.004 326.694);
--input: oklch(0.226 0.004 326.694);
--primary: oklch(0.706 0.092 327.603);
--primary-foreground: oklch(0.154 0.019 327.562);
--secondary: oklch(0.191 0.009 326.947);
--secondary-foreground: oklch(0.742 0.026 326.84);
--accent: oklch(0.264 0.026 327.362);
--accent-foreground: oklch(0.797 0.033 326.896);
--destructive: oklch(0.626 0.256 29.202);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.706 0.092 327.603);
--chart-1: oklch(0.706 0.092 327.603);
--chart-2: oklch(0.191 0.009 326.947);
--chart-3: oklch(0.264 0.026 327.362);
--chart-4: oklch(0.224 0.012 326.997);
--chart-5: oklch(0.705 0.101 327.705);
}