Evondev Dracula High Contrast is a shadcn/ui theme built around a light yellow primary color (#f8f8f2) with deep indigo accents (#343660). The light mode uses an indigo-tinted background (#191a2e). Dark mode keeps the light yellow primary (#f8f8f2) on an indigo-tinted background (#191a2e).
| Token | Light | Dark |
|---|---|---|
| Background | #191a2eblack | #191a2eblack |
| Foreground | #f8f8f2whitesmoke | #f8f8f2whitesmoke |
| Card | #151628black | #151628black |
| Card foreground | #ffffffwhite | #ffffffwhite |
| Popover | #141424black | #141424black |
| Popover foreground | #ffffffwhite | #ffffffwhite |
| Primary | #f8f8f2whitesmoke | #f8f8f2whitesmoke |
| Primary foreground | #35351ddarkslategray | #35351ddarkslategray |
| Secondary | #4d4d33darkolivegreen | #4d4d33darkolivegreen |
| Secondary foreground | #e0e0d1gainsboro | #e0e0d1gainsboro |
| Muted | #282933darkslategray | #282933darkslategray |
| Muted foreground | #a4a5b7darkgray | #a4a5b7darkgray |
| Accent | #343660darkslategray | #343660darkslategray |
| Accent foreground | #dbdbebgainsboro | #dbdbebgainsboro |
| Destructive | #e13019orangered | #e13019orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #27283adarkslategray | #27283adarkslategray |
| Input | #2d2e43darkslategray | #2d2e43darkslategray |
| Ring | #f8f8f2whitesmoke | #f8f8f2whitesmoke |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 16.02:1 | AAA |
| Text on card | 17.78:1 | AAA |
| Primary button | 11.72:1 | AAA |
| Secondary button | 6.54:1 | AA |
| Muted text | 5.93:1 | AA |
| Accent | 8.33:1 | AAA |
| Destructive | 4.52:1 | AA |
| Text on background | 16.02:1 | AAA |
| Text on card | 17.78:1 | AAA |
| Primary button | 11.72:1 | AAA |
| Secondary button | 6.54:1 | AA |
| Muted text | 5.93:1 | AA |
| Accent | 8.33:1 | AAA |
| Destructive | 4.52:1 | AA |
Paste this into your globals.css to use Evondev Dracula High Contrast in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.228 0.039 280.492);
--foreground: oklch(0.977 0.008 106.548);
--muted: oklch(0.285 0.019 282.737);
--muted-foreground: oklch(0.726 0.027 283.312);
--popover: oklch(0.201 0.032 280.811);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.21 0.034 280.694);
--card-foreground: oklch(1 0 180);
--border: oklch(0.283 0.034 281.677);
--input: oklch(0.31 0.038 281.587);
--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.352 0.073 279.682);
--accent-foreground: oklch(0.897 0.022 283.542);
--destructive: oklch(0.592 0.215 31.031);
--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.352 0.073 279.682);
--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.228 0.039 280.492);
--foreground: oklch(0.977 0.008 106.548);
--muted: oklch(0.285 0.019 282.737);
--muted-foreground: oklch(0.726 0.027 283.312);
--popover: oklch(0.201 0.032 280.811);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.21 0.034 280.694);
--card-foreground: oklch(1 0 180);
--border: oklch(0.283 0.034 281.677);
--input: oklch(0.31 0.038 281.587);
--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.352 0.073 279.682);
--accent-foreground: oklch(0.897 0.022 283.542);
--destructive: oklch(0.592 0.215 31.031);
--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.352 0.073 279.682);
--chart-4: oklch(0.444 0.044 108.055);
--chart-5: oklch(0.978 0.009 106.563);
}