Underground Yearning Desire is a shadcn/ui theme built around a vivid pink primary color (#c9085c) with vivid red accents (#c91508). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid pink primary (#c9085c) on a neutral background (#070305).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #070305black |
| Foreground | #120309black | #fcf8fasnow |
| Card | #fcfcfcsnow | #0a0507black |
| Card foreground | #0d0207black | #fdfbfcsnow |
| Popover | #fcfcfcsnow | #0a0507black |
| Popover foreground | #0d0207black | #fdfbfcsnow |
| Primary | #c9085ccrimson | #c9085ccrimson |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #c908bcmediumvioletred | #c908bcmediumvioletred |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #f1e5f0lavender | #1a0e1ablack |
| Muted foreground | #564855darkslategray | #b7a9b6darkgray |
| Accent | #c91508firebrick | #c91508firebrick |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #99240abrown | #f2502ctomato |
| Destructive foreground | #fddfd9mistyrose | #ffffffwhite |
| Border | #ede8ealinen | #2b2126darkslategray |
| Input | #ede8ealinen | #2b2126darkslategray |
| Ring | #c9085ccrimson | #c9085ccrimson |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.14:1 | AAA |
| Text on card | 19.97:1 | AAA |
| Primary button | 5.72:1 | AA |
| Secondary button | 4.95:1 | AA |
| Muted text | 6.98:1 | AA |
| Accent | 5.85:1 | AA |
| Destructive | 6.38:1 | AA |
| Text on background | 19.45:1 | AAA |
| Text on card | 19.63:1 | AAA |
| Primary button | 5.72:1 | AA |
| Secondary button | 4.95:1 | AA |
| Muted text | 8.32:1 | AAA |
| Accent | 5.85:1 | AA |
| Destructive | 3.52:1 | AA Large |
Paste this into your globals.css to use Underground Yearning Desire in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.132 0.036 350.81);
--muted: oklch(0.933 0.019 327.749);
--muted-foreground: oklch(0.421 0.028 328.189);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.118 0.032 348.893);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.118 0.032 348.893);
--border: oklch(0.936 0.006 348.925);
--input: oklch(0.936 0.006 348.925);
--primary: oklch(0.539 0.213 5.77);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.58 0.259 331.894);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.531 0.209 29.764);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.451 0.157 33.32);
--destructive-foreground: oklch(0.927 0.034 32.712);
--ring: oklch(0.539 0.213 5.77);
--chart-1: oklch(0.539 0.213 5.77);
--chart-2: oklch(0.58 0.259 331.894);
--chart-3: oklch(0.531 0.209 29.764);
--chart-4: oklch(0.611 0.273 331.911);
--chart-5: oklch(0.544 0.216 6.402);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.11 0.012 348.531);
--foreground: oklch(0.982 0.005 348.865);
--muted: oklch(0.188 0.029 328.945);
--muted-foreground: oklch(0.75 0.025 327.864);
--popover: oklch(0.126 0.014 348.539);
--popover-foreground: oklch(0.991 0.002 348.799);
--card: oklch(0.126 0.014 348.539);
--card-foreground: oklch(0.991 0.002 348.799);
--border: oklch(0.262 0.017 350.448);
--input: oklch(0.262 0.017 350.448);
--primary: oklch(0.539 0.213 5.77);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.58 0.259 331.894);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.531 0.209 29.764);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.651 0.204 33.993);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.539 0.213 5.77);
--chart-1: oklch(0.539 0.213 5.77);
--chart-2: oklch(0.58 0.259 331.894);
--chart-3: oklch(0.531 0.209 29.764);
--chart-4: oklch(0.611 0.273 331.911);
--chart-5: oklch(0.544 0.216 6.402);
}