Evondev Dracula Minimal Contrast is a shadcn/ui theme built around a light yellow primary color (#f8f8f2) with muted indigo accents (#393b65). The light mode uses an indigo-tinted background (#1d1f34). Dark mode keeps the light yellow primary (#f8f8f2) on an indigo-tinted background (#1d1f34).
| Token | Light | Dark |
|---|---|---|
| Background | #1d1f34darkslategray | #1d1f34darkslategray |
| Foreground | #f8f8f2whitesmoke | #f8f8f2whitesmoke |
| Card | #1a1b2eblack | #1a1b2eblack |
| Card foreground | #ffffffwhite | #ffffffwhite |
| Popover | #18192ablack | #18192ablack |
| Popover foreground | #ffffffwhite | #ffffffwhite |
| Primary | #f8f8f2whitesmoke | #f8f8f2whitesmoke |
| Primary foreground | #35351ddarkslategray | #35351ddarkslategray |
| Secondary | #4d4d33darkolivegreen | #4d4d33darkolivegreen |
| Secondary foreground | #e0e0d1gainsboro | #e0e0d1gainsboro |
| Muted | #2d2d39darkslategray | #2d2d39darkslategray |
| Muted foreground | #a9aabcdarkgray | #a9aabcdarkgray |
| Accent | #393b65darkslategray | #393b65darkslategray |
| Accent foreground | #e2e2eelavender | #e2e2eelavender |
| Destructive | #ea4739tomato | #ea4739tomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #2c2d3fdarkslategray | #2c2d3fdarkslategray |
| Input | #323348darkslategray | #323348darkslategray |
| Ring | #f8f8f2whitesmoke | #f8f8f2whitesmoke |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 15.22:1 | AAA |
| Text on card | 16.98:1 | AAA |
| Primary button | 11.72:1 | AAA |
| Secondary button | 6.54:1 | AA |
| Muted text | 5.89:1 | AA |
| Accent | 8.21:1 | AAA |
| Destructive | 3.83:1 | AA Large |
| Text on background | 15.22:1 | AAA |
| Text on card | 16.98:1 | AAA |
| Primary button | 11.72:1 | AAA |
| Secondary button | 6.54:1 | AA |
| Muted text | 5.89:1 | AA |
| Accent | 8.21:1 | AAA |
| Destructive | 3.83:1 | AA Large |
Paste this into your globals.css to use Evondev Dracula Minimal Contrast in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.247 0.041 280.639);
--foreground: oklch(0.977 0.008 106.548);
--muted: oklch(0.303 0.021 282.703);
--muted-foreground: oklch(0.744 0.025 283.374);
--popover: oklch(0.221 0.034 280.877);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.23 0.037 280.79);
--card-foreground: oklch(1 0 180);
--border: oklch(0.304 0.033 281.901);
--input: oklch(0.33 0.037 281.833);
--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.371 0.072 280.007);
--accent-foreground: oklch(0.917 0.017 283.655);
--destructive: oklch(0.631 0.202 29.174);
--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.371 0.072 280.007);
--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.247 0.041 280.639);
--foreground: oklch(0.977 0.008 106.548);
--muted: oklch(0.303 0.021 282.703);
--muted-foreground: oklch(0.744 0.025 283.374);
--popover: oklch(0.221 0.034 280.877);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.23 0.037 280.79);
--card-foreground: oklch(1 0 180);
--border: oklch(0.304 0.033 281.901);
--input: oklch(0.33 0.037 281.833);
--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.371 0.072 280.007);
--accent-foreground: oklch(0.917 0.017 283.655);
--destructive: oklch(0.631 0.202 29.174);
--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.371 0.072 280.007);
--chart-4: oklch(0.444 0.044 108.055);
--chart-5: oklch(0.978 0.009 106.563);
}