Dangerous is a shadcn/ui theme built around a vivid green primary color (#119c50) with vivid teal accents (#119c95). The light mode uses a neutral background (#fbfefc). Dark mode keeps the vivid green primary (#119c50) on a neutral background (#030705).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefcwhite | #030705black |
| Foreground | #010402black | #f5faf7whitesmoke |
| Card | #f7fdfamintcream | #050a07black |
| Card foreground | #000000black | #f8fcfamintcream |
| Popover | #f7fdfamintcream | #050a07black |
| Popover foreground | #000000black | #f8fcfamintcream |
| Primary | #119c50seagreen | #119c50seagreen |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #189c11forestgreen | #189c11forestgreen |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #eff1eewhitesmoke | #0e110eblack |
| Muted foreground | #5e645edimgray | #9ba19bdarkgray |
| Accent | #119c95darkcyan | #119c95darkcyan |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #a0140dfirebrick | #ee392fcrimson |
| Destructive foreground | #fde4e3mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #119c50seagreen | #119c50seagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.27:1 | AAA |
| Text on card | 20.35:1 | AAA |
| Primary button | 3.55:1 | AA Large |
| Secondary button | 3.61:1 | AA Large |
| Muted text | 5.33:1 | AA |
| Accent | 3.37:1 | AA Large |
| Destructive | 6.65:1 | AA |
| Text on background | 19.19:1 | AAA |
| Text on card | 19.23:1 | AAA |
| Primary button | 3.55:1 | AA Large |
| Secondary button | 3.61:1 | AA Large |
| Muted text | 7.22:1 | AAA |
| Accent | 3.37:1 | AA Large |
| Destructive | 3.98:1 | AA Large |
Paste this into your globals.css to use Dangerous in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.004 162.526);
--foreground: oklch(0.1 0.018 162.654);
--muted: oklch(0.955 0.004 144.105);
--muted-foreground: oklch(0.496 0.011 143.995);
--popover: oklch(0.988 0.007 162.432);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.988 0.007 162.432);
--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.608 0.157 151.692);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.603 0.197 142.293);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.626 0.106 189.152);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.453 0.174 29.271);
--destructive-foreground: oklch(0.939 0.027 21.274);
--ring: oklch(0.608 0.157 151.692);
--chart-1: oklch(0.608 0.157 151.692);
--chart-2: oklch(0.603 0.197 142.293);
--chart-3: oklch(0.626 0.106 189.152);
--chart-4: oklch(0.642 0.21 142.295);
--chart-5: oklch(0.615 0.161 151.358);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.121 0.011 162.637);
--foreground: oklch(0.981 0.007 162.435);
--muted: oklch(0.172 0.006 143.915);
--muted-foreground: oklch(0.703 0.01 144.043);
--popover: oklch(0.138 0.013 162.622);
--popover-foreground: oklch(0.987 0.005 162.498);
--card: oklch(0.138 0.013 162.622);
--card-foreground: oklch(0.987 0.005 162.498);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.608 0.157 151.692);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.603 0.197 142.293);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.626 0.106 189.152);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.624 0.218 28.4);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.608 0.157 151.692);
--chart-1: oklch(0.608 0.157 151.692);
--chart-2: oklch(0.603 0.197 142.293);
--chart-3: oklch(0.626 0.106 189.152);
--chart-4: oklch(0.642 0.21 142.295);
--chart-5: oklch(0.615 0.161 151.358);
}