Evondev Dracula Darker Contrast is a shadcn/ui theme built around a light yellow primary color (#f8f8f2) with muted deep indigo accents (#303354). The light mode uses an indigo-tinted background (#141524). Dark mode keeps the light yellow primary (#f8f8f2) on an indigo-tinted background (#141524).
| Token | Light | Dark |
|---|---|---|
| Background | #141524black | #141524black |
| Foreground | #f8f8f2whitesmoke | #f8f8f2whitesmoke |
| Card | #11121dblack | #11121dblack |
| Card foreground | #ffffffwhite | #ffffffwhite |
| Popover | #0f101ablack | #0f101ablack |
| Popover foreground | #ffffffwhite | #ffffffwhite |
| Primary | #f8f8f2whitesmoke | #f8f8f2whitesmoke |
| Primary foreground | #35351ddarkslategray | #35351ddarkslategray |
| Secondary | #4d4d33darkolivegreen | #4d4d33darkolivegreen |
| Secondary foreground | #e0e0d1gainsboro | #e0e0d1gainsboro |
| Muted | #22222bdarkslategray | #22222bdarkslategray |
| Muted foreground | #9b9cb0darkgray | #9b9cb0darkgray |
| Accent | #303354darkslategray | #303354darkslategray |
| Accent foreground | #d2d3e5gainsboro | #d2d3e5gainsboro |
| Destructive | #f04333tomato | #f04333tomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #222330darkslategray | #222330darkslategray |
| Input | #282939darkslategray | #282939darkslategray |
| Ring | #f8f8f2whitesmoke | #f8f8f2whitesmoke |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 16.88:1 | AAA |
| Text on card | 18.66:1 | AAA |
| Primary button | 11.72:1 | AAA |
| Secondary button | 6.54:1 | AA |
| Muted text | 5.83:1 | AA |
| Accent | 8.22:1 | AAA |
| Destructive | 3.79:1 | AA Large |
| Text on background | 16.88:1 | AAA |
| Text on card | 18.66:1 | AAA |
| Primary button | 11.72:1 | AAA |
| Secondary button | 6.54:1 | AA |
| Muted text | 5.83:1 | AA |
| Accent | 8.22:1 | AAA |
| Destructive | 3.79:1 | AA Large |
Paste this into your globals.css to use Evondev Dracula Darker Contrast in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.204 0.028 280.441);
--foreground: oklch(0.977 0.008 106.548);
--muted: oklch(0.256 0.016 281.976);
--muted-foreground: oklch(0.7 0.029 282.373);
--popover: oklch(0.176 0.021 280.806);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.185 0.024 280.67);
--card-foreground: oklch(1 0 180);
--border: oklch(0.26 0.024 281.377);
--input: oklch(0.288 0.028 281.289);
--primary: oklch(0.977 0.008 106.548);
--primary-foreground: oklch(0.322 0.04 108.432);
--secondary: oklch(0.411 0.04 108.031);
--secondary-foreground: oklch(0.904 0.02 106.802);
--accent: oklch(0.334 0.059 279.598);
--accent-foreground: oklch(0.871 0.025 282.612);
--destructive: oklch(0.635 0.212 29.448);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.977 0.008 106.548);
--chart-1: oklch(0.977 0.008 106.548);
--chart-2: oklch(0.411 0.04 108.031);
--chart-3: oklch(0.334 0.059 279.598);
--chart-4: oklch(0.444 0.044 108.055);
--chart-5: oklch(0.978 0.009 106.563);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.204 0.028 280.441);
--foreground: oklch(0.977 0.008 106.548);
--muted: oklch(0.256 0.016 281.976);
--muted-foreground: oklch(0.7 0.029 282.373);
--popover: oklch(0.176 0.021 280.806);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.185 0.024 280.67);
--card-foreground: oklch(1 0 180);
--border: oklch(0.26 0.024 281.377);
--input: oklch(0.288 0.028 281.289);
--primary: oklch(0.977 0.008 106.548);
--primary-foreground: oklch(0.322 0.04 108.432);
--secondary: oklch(0.411 0.04 108.031);
--secondary-foreground: oklch(0.904 0.02 106.802);
--accent: oklch(0.334 0.059 279.598);
--accent-foreground: oklch(0.871 0.025 282.612);
--destructive: oklch(0.635 0.212 29.448);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.977 0.008 106.548);
--chart-1: oklch(0.977 0.008 106.548);
--chart-2: oklch(0.411 0.04 108.031);
--chart-3: oklch(0.334 0.059 279.598);
--chart-4: oklch(0.444 0.044 108.055);
--chart-5: oklch(0.978 0.009 106.563);
}