Webstorm IntelliJ Darcula Theme is a shadcn/ui theme built around a neutral gray primary color (#bababa) with neutral gray accents (#525252). The light mode uses a neutral background (#2b2b2b). Dark mode keeps the neutral gray primary (#bababa) on a neutral background (#2b2b2b).
| Token | Light | Dark |
|---|---|---|
| Background | #2b2b2bdarkslategray | #2b2b2bdarkslategray |
| Foreground | #a9b7c6silver | #a9b7c6silver |
| Card | #262626darkslategray | #262626darkslategray |
| Card foreground | #b9c4d0lightsteelblue | #b9c4d0lightsteelblue |
| Popover | #242424darkslategray | #242424darkslategray |
| Popover foreground | #c8d1dalightgrey | #c8d1dalightgrey |
| Primary | #bababasilver | #bababasilver |
| Primary foreground | #212121black | #212121black |
| Secondary | #404040darkslategray | #404040darkslategray |
| Secondary foreground | #d9d9d9gainsboro | #d9d9d9gainsboro |
| Muted | #3c2f2fdarkslategray | #3c2f2fdarkslategray |
| Muted foreground | #beacacdarkgray | #beacacdarkgray |
| Accent | #525252darkslategray | #525252darkslategray |
| Accent foreground | #ebebeblinen | #ebebeblinen |
| Destructive | #ed4e35tomato | #ed4e35tomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #383838darkslategray | #383838darkslategray |
| Input | #404040darkslategray | #404040darkslategray |
| Ring | #bababasilver | #bababasilver |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 6.89:1 | AA |
| Text on card | 8.52:1 | AAA |
| Primary button | 8.31:1 | AAA |
| Secondary button | 7.37:1 | AAA |
| Muted text | 5.89:1 | AA |
| Accent | 6.59:1 | AA |
| Destructive | 3.65:1 | AA Large |
| Text on background | 6.89:1 | AA |
| Text on card | 8.52:1 | AAA |
| Primary button | 8.31:1 | AAA |
| Secondary button | 7.37:1 | AAA |
| Muted text | 5.89:1 | AA |
| Accent | 6.59:1 | AA |
| Destructive | 3.65:1 | AA Large |
Paste this into your globals.css to use Webstorm IntelliJ Darcula Theme in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.29 0 180);
--foreground: oklch(0.774 0.026 249.951);
--muted: oklch(0.32 0.019 18.181);
--muted-foreground: oklch(0.76 0.021 17.613);
--popover: oklch(0.259 0 167.471);
--popover-foreground: oklch(0.856 0.016 249.825);
--card: oklch(0.27 0 180);
--card-foreground: oklch(0.815 0.021 249.884);
--border: oklch(0.341 0 158.199);
--input: oklch(0.371 0 168.69);
--primary: oklch(0.789 0 171.254);
--primary-foreground: oklch(0.248 0 173.29);
--secondary: oklch(0.371 0 168.69);
--secondary-foreground: oklch(0.885 0 180);
--accent: oklch(0.437 0 180);
--accent-foreground: oklch(0.939 0 180);
--destructive: oklch(0.642 0.2 31.534);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.789 0 171.254);
--chart-1: oklch(0.789 0 171.254);
--chart-2: oklch(0.371 0 168.69);
--chart-3: oklch(0.437 0 180);
--chart-4: oklch(0.399 0 180);
--chart-5: oklch(0.786 0.005 17.256);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.29 0 180);
--foreground: oklch(0.774 0.026 249.951);
--muted: oklch(0.32 0.019 18.181);
--muted-foreground: oklch(0.76 0.021 17.613);
--popover: oklch(0.259 0 167.471);
--popover-foreground: oklch(0.856 0.016 249.825);
--card: oklch(0.27 0 180);
--card-foreground: oklch(0.815 0.021 249.884);
--border: oklch(0.341 0 158.199);
--input: oklch(0.371 0 168.69);
--primary: oklch(0.789 0 171.254);
--primary-foreground: oklch(0.248 0 173.29);
--secondary: oklch(0.371 0 168.69);
--secondary-foreground: oklch(0.885 0 180);
--accent: oklch(0.437 0 180);
--accent-foreground: oklch(0.939 0 180);
--destructive: oklch(0.642 0.2 31.534);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.789 0 171.254);
--chart-1: oklch(0.789 0 171.254);
--chart-2: oklch(0.371 0 168.69);
--chart-3: oklch(0.437 0 180);
--chart-4: oklch(0.399 0 180);
--chart-5: oklch(0.786 0.005 17.256);
}