Eva Dark Bold is a shadcn/ui theme built around a blue primary color (#98a5cd) with muted blue accents (#49515f). The light mode uses a blue-tinted background (#282c34). Dark mode keeps the blue primary (#98a5cd) on a blue-tinted background (#282c34).
| Token | Light | Dark |
|---|---|---|
| Background | #282c34darkslategray | #282c34darkslategray |
| Foreground | #9da5b4darkgray | #9da5b4darkgray |
| Card | #23272edarkslategray | #23272edarkslategray |
| Card foreground | #abb2bfdarkgray | #abb2bfdarkgray |
| Popover | #21252bdarkslategray | #21252bdarkslategray |
| Popover foreground | #bac0casilver | #bac0casilver |
| Primary | #98a5cddarkgray | #98a5cddarkgray |
| Primary foreground | #111522black | #111522black |
| Secondary | #303850darkslategray | #303850darkslategray |
| Secondary foreground | #cfd4e2lightgrey | #cfd4e2lightgrey |
| Muted | #31363fdarkslategray | #31363fdarkslategray |
| Muted foreground | #afb5c0silver | #afb5c0silver |
| Accent | #49515fdarkslategray | #49515fdarkslategray |
| Accent foreground | #ebeceflavender | #ebeceflavender |
| Destructive | #ea382ecrimson | #ea382ecrimson |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #393a3cdarkslategray | #393a3cdarkslategray |
| Input | #404244darkslategray | #404244darkslategray |
| Ring | #98a5cddarkgray | #98a5cddarkgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 5.65:1 | AA |
| Text on card | 7.01:1 | AAA |
| Primary button | 7.45:1 | AAA |
| Secondary button | 7.86:1 | AAA |
| Muted text | 5.89:1 | AA |
| Accent | 6.80:1 | AA |
| Destructive | 4.11:1 | AA Large |
| Text on background | 5.65:1 | AA |
| Text on card | 7.01:1 | AAA |
| Primary button | 7.45:1 | AAA |
| Secondary button | 7.86:1 | AAA |
| Muted text | 5.89:1 | AA |
| Accent | 6.80:1 | AA |
| Destructive | 4.11:1 | AA Large |
Paste this into your globals.css to use Eva Dark Bold in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.292 0.016 264.298);
--foreground: oklch(0.721 0.023 261.475);
--muted: oklch(0.332 0.017 264.31);
--muted-foreground: oklch(0.771 0.017 264.466);
--popover: oklch(0.262 0.013 264.313);
--popover-foreground: oklch(0.805 0.016 261.498);
--card: oklch(0.272 0.014 264.308);
--card-foreground: oklch(0.763 0.019 261.489);
--border: oklch(0.348 0.004 264.509);
--input: oklch(0.377 0.005 264.508);
--primary: oklch(0.726 0.06 270.45);
--primary-foreground: oklch(0.198 0.028 269.618);
--secondary: oklch(0.343 0.043 269.832);
--secondary-foreground: oklch(0.87 0.02 271.178);
--accent: oklch(0.432 0.026 264.255);
--accent-foreground: oklch(0.944 0.004 264.536);
--destructive: oklch(0.616 0.216 28.417);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.726 0.06 270.45);
--chart-1: oklch(0.726 0.06 270.45);
--chart-2: oklch(0.343 0.043 269.832);
--chart-3: oklch(0.432 0.026 264.255);
--chart-4: oklch(0.37 0.048 269.792);
--chart-5: oklch(0.723 0.066 270.346);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.292 0.016 264.298);
--foreground: oklch(0.721 0.023 261.475);
--muted: oklch(0.332 0.017 264.31);
--muted-foreground: oklch(0.771 0.017 264.466);
--popover: oklch(0.262 0.013 264.313);
--popover-foreground: oklch(0.805 0.016 261.498);
--card: oklch(0.272 0.014 264.308);
--card-foreground: oklch(0.763 0.019 261.489);
--border: oklch(0.348 0.004 264.509);
--input: oklch(0.377 0.005 264.508);
--primary: oklch(0.726 0.06 270.45);
--primary-foreground: oklch(0.198 0.028 269.618);
--secondary: oklch(0.343 0.043 269.832);
--secondary-foreground: oklch(0.87 0.02 271.178);
--accent: oklch(0.432 0.026 264.255);
--accent-foreground: oklch(0.944 0.004 264.536);
--destructive: oklch(0.616 0.216 28.417);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.726 0.06 270.45);
--chart-1: oklch(0.726 0.06 270.45);
--chart-2: oklch(0.343 0.043 269.832);
--chart-3: oklch(0.432 0.026 264.255);
--chart-4: oklch(0.37 0.048 269.792);
--chart-5: oklch(0.723 0.066 270.346);
}