Dangerous Spill the Beans is a shadcn/ui theme built around a red primary color (#99311a) with muted red accents (#c3a8a2). The light mode uses a neutral background (#ffffff). Dark mode keeps the red primary (#99311a) on a neutral background (#070403).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #070403black |
| Foreground | #0c0504black | #ffffffwhite |
| Card | #fcfcfcsnow | #0a0605black |
| Card foreground | #080302black | #ffffffwhite |
| Popover | #ffffffwhite | #070403black |
| Popover foreground | #0c0504black | #ffffffwhite |
| Primary | #99311abrown | #99311abrown |
| Primary foreground | #fbede9linen | #fbede9linen |
| Secondary | #d2c8c6lightgrey | #2e2e2ddarkslategray |
| Secondary foreground | #392f2ddarkslategray | #c7c7c6silver |
| Muted | #efeceblinen | #141110black |
| Muted foreground | #4e3f3cdarkslategray | #c3b4b1silver |
| Accent | #c3a8a2darkgray | #473f3edarkslategray |
| Accent foreground | #1f1614black | #dedad9gainsboro |
| Destructive | #881807darkred | #f55138tomato |
| Destructive foreground | #fcccc5pink | #ffffffwhite |
| Border | #f4f1f1whitesmoke | #2a2422darkslategray |
| Input | #f4f1f1whitesmoke | #2a2422darkslategray |
| Ring | #99311abrown | #99311abrown |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.20:1 | AAA |
| Text on card | 20.06:1 | AAA |
| Primary button | 6.56:1 | AA |
| Secondary button | 7.92:1 | AAA |
| Muted text | 8.50:1 | AAA |
| Accent | 7.99:1 | AAA |
| Destructive | 6.69:1 | AA |
| Text on background | 20.43:1 | AAA |
| Text on card | 20.16:1 | AAA |
| Primary button | 6.56:1 | AA |
| Secondary button | 8.05:1 | AAA |
| Muted text | 9.40:1 | AAA |
| Accent | 7.36:1 | AAA |
| Destructive | 3.43:1 | AA Large |
Paste this into your globals.css to use Dangerous Spill the Beans in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.127 0.015 38.213);
--muted: oklch(0.945 0.004 32.661);
--muted-foreground: oklch(0.383 0.021 32.782);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.127 0.015 38.213);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.11 0.013 38.355);
--border: oklch(0.961 0.003 32.661);
--input: oklch(0.961 0.003 32.661);
--primary: oklch(0.464 0.143 34.043);
--primary-foreground: oklch(0.955 0.017 32.67);
--secondary: oklch(0.841 0.012 32.666);
--secondary-foreground: oklch(0.316 0.015 32.751);
--accent: oklch(0.754 0.032 32.731);
--accent-foreground: oklch(0.211 0.015 32.854);
--destructive: oklch(0.406 0.148 31.547);
--destructive-foreground: oklch(0.885 0.055 28.382);
--ring: oklch(0.464 0.143 34.043);
--chart-1: oklch(0.464 0.143 34.043);
--chart-2: oklch(0.841 0.012 32.666);
--chart-3: oklch(0.754 0.032 32.731);
--chart-4: oklch(0.865 0.01 32.663);
--chart-5: oklch(0.467 0.148 33.957);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.112 0.009 36.334);
--foreground: oklch(1 0 180);
--muted: oklch(0.179 0.006 32.697);
--muted-foreground: oklch(0.783 0.017 32.678);
--popover: oklch(0.112 0.009 36.334);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.128 0.01 36.328);
--card-foreground: oklch(1 0 180);
--border: oklch(0.266 0.011 32.726);
--input: oklch(0.266 0.011 32.726);
--primary: oklch(0.464 0.143 34.043);
--primary-foreground: oklch(0.955 0.017 32.67);
--secondary: oklch(0.3 0.001 32.661);
--secondary-foreground: oklch(0.829 0.001 32.661);
--accent: oklch(0.376 0.011 32.692);
--accent-foreground: oklch(0.89 0.005 32.661);
--destructive: oklch(0.658 0.203 31.515);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.464 0.143 34.043);
--chart-1: oklch(0.464 0.143 34.043);
--chart-2: oklch(0.3 0.001 32.661);
--chart-3: oklch(0.376 0.011 32.692);
--chart-4: oklch(0.331 0.001 32.661);
--chart-5: oklch(0.467 0.148 33.957);
}