Dangerous is a shadcn/ui theme built around a vivid orange primary color (#ec943c) with vivid yellow accents (#ecec3c). The light mode uses a neutral background (#fdfaf6). Dark mode keeps the vivid orange primary (#ec943c) on a neutral background (#070503).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfaf6snow | #070503black |
| Foreground | #050301black | #faf7f5whitesmoke |
| Card | #fdf7f2floralwhite | #0b0804black |
| Card foreground | #000000black | #fcfaf8snow |
| Popover | #fdf7f2floralwhite | #0b0804black |
| Popover foreground | #000000black | #fcfaf8snow |
| Primary | #ec943cperu | #ec943cperu |
| Primary foreground | #000000black | #000000black |
| Secondary | #ec3c3ccrimson | #ec3c3ccrimson |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #f3e7e7linen | #180c0cblack |
| Muted foreground | #423d3ddarkslategray | #c2bdbdsilver |
| Accent | #ecec3cyellow | #ecec3cyellow |
| Accent foreground | #545408darkolivegreen | #545408darkolivegreen |
| Destructive | #690902maroon | #ec1304red |
| Destructive foreground | #fea6a0lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #ec943cperu | #ec943cperu |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.79:1 | AAA |
| Text on card | 19.79:1 | AAA |
| Primary button | 8.85:1 | AAA |
| Secondary button | 3.98:1 | AA Large |
| Muted text | 8.85:1 | AAA |
| Accent | 6.26:1 | AA |
| Destructive | 6.79:1 | AA |
| Text on background | 19.06:1 | AAA |
| Text on card | 19.22:1 | AAA |
| Primary button | 8.85:1 | AAA |
| Secondary button | 3.98:1 | AA Large |
| Muted text | 10.32:1 | AAA |
| Accent | 6.26:1 | AA |
| Destructive | 4.50:1 | AA |
Paste this into your globals.css to use Dangerous in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.006 67.756);
--foreground: oklch(0.095 0.015 78.835);
--muted: oklch(0.938 0.013 17.392);
--muted-foreground: oklch(0.366 0.007 17.48);
--popover: oklch(0.98 0.009 67.722);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.98 0.009 67.722);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.742 0.145 61.761);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.623 0.212 25.894);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.914 0.183 109.532);
--accent-foreground: oklch(0.43 0.09 109.642);
--destructive: oklch(0.334 0.129 30.455);
--destructive-foreground: oklch(0.81 0.105 24.11);
--ring: oklch(0.742 0.145 61.761);
--chart-1: oklch(0.742 0.145 61.761);
--chart-2: oklch(0.623 0.212 25.894);
--chart-3: oklch(0.914 0.183 109.532);
--chart-4: oklch(0.64 0.2 24.79);
--chart-5: oklch(0.746 0.149 61.347);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.118 0.01 73.76);
--foreground: oklch(0.978 0.005 67.77);
--muted: oklch(0.171 0.021 19.493);
--muted-foreground: oklch(0.802 0.006 17.276);
--popover: oklch(0.135 0.011 73.621);
--popover-foreground: oklch(0.986 0.003 67.788);
--card: oklch(0.135 0.011 73.621);
--card-foreground: oklch(0.986 0.003 67.788);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.742 0.145 61.761);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.623 0.212 25.894);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.914 0.183 109.532);
--accent-foreground: oklch(0.43 0.09 109.642);
--destructive: oklch(0.597 0.239 29.783);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.742 0.145 61.761);
--chart-1: oklch(0.742 0.145 61.761);
--chart-2: oklch(0.623 0.212 25.894);
--chart-3: oklch(0.914 0.183 109.532);
--chart-4: oklch(0.64 0.2 24.79);
--chart-5: oklch(0.746 0.149 61.347);
}