escook Dark is a shadcn/ui theme built around a vivid red primary color (#ff0000) with neutral gray accents (#4c4c4d). The light mode uses a neutral background (#262627). Dark mode keeps the vivid red primary (#ff0000) on a neutral background (#262627).
| Token | Light | Dark |
|---|---|---|
| Background | #262627darkslategray | #262627darkslategray |
| Foreground | #bfbfc0silver | #bfbfc0silver |
| Card | #212121black | #212121black |
| Card foreground | #cbcbcdlightgrey | #cbcbcdlightgrey |
| Popover | #1e1e1fblack | #1e1e1fblack |
| Popover foreground | #d8d8d9gainsboro | #d8d8d9gainsboro |
| Primary | #ff0000red | #ff0000red |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #d2acactan | #d2acactan |
| Secondary foreground | #321b1bblack | #321b1bblack |
| Muted | #2b2b36darkslategray | #2b2b36darkslategray |
| Muted foreground | #a6a6b9darkgray | #a6a6b9darkgray |
| Accent | #4c4c4ddarkslategray | #4c4c4ddarkslategray |
| Accent foreground | #e5e5e6gainsboro | #e5e5e6gainsboro |
| Destructive | #f01c00red | #f01c00red |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #333333darkslategray | #333333darkslategray |
| Input | #3b3b3bdarkslategray | #3b3b3bdarkslategray |
| Ring | #ff0000red | #ff0000red |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 8.24:1 | AAA |
| Text on card | 9.95:1 | AAA |
| Primary button | 3.99:1 | AA Large |
| Secondary button | 7.84:1 | AAA |
| Muted text | 5.86:1 | AA |
| Accent | 6.83:1 | AA |
| Destructive | 4.32:1 | AA Large |
| Text on background | 8.24:1 | AAA |
| Text on card | 9.95:1 | AAA |
| Primary button | 3.99:1 | AA Large |
| Secondary button | 7.84:1 | AAA |
| Muted text | 5.86:1 | AA |
| Accent | 6.83:1 | AA |
| Destructive | 4.32:1 | AA Large |
Paste this into your globals.css to use escook Dark in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.268 0.001 286.305);
--foreground: oklch(0.804 0.002 286.36);
--muted: oklch(0.293 0.021 285.027);
--muted-foreground: oklch(0.733 0.027 285.71);
--popover: oklch(0.237 0.001 286.311);
--popover-foreground: oklch(0.884 0.001 286.378);
--card: oklch(0.247 0.001 286.309);
--card-foreground: oklch(0.844 0.001 286.37);
--border: oklch(0.321 0 180);
--input: oklch(0.351 0 167.471);
--primary: oklch(0.628 0.258 29.234);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.779 0.045 18.157);
--secondary-foreground: oklch(0.252 0.037 19.95);
--accent: oklch(0.416 0.003 286.29);
--accent-foreground: oklch(0.923 0.001 286.386);
--destructive: oklch(0.606 0.239 30.58);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.628 0.258 29.234);
--chart-1: oklch(0.628 0.258 29.234);
--chart-2: oklch(0.779 0.045 18.157);
--chart-3: oklch(0.416 0.003 286.29);
--chart-4: oklch(0.806 0.039 17.989);
--chart-5: oklch(0.634 0.261 29.327);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.268 0.001 286.305);
--foreground: oklch(0.804 0.002 286.36);
--muted: oklch(0.293 0.021 285.027);
--muted-foreground: oklch(0.733 0.027 285.71);
--popover: oklch(0.237 0.001 286.311);
--popover-foreground: oklch(0.884 0.001 286.378);
--card: oklch(0.247 0.001 286.309);
--card-foreground: oklch(0.844 0.001 286.37);
--border: oklch(0.321 0 180);
--input: oklch(0.351 0 167.471);
--primary: oklch(0.628 0.258 29.234);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.779 0.045 18.157);
--secondary-foreground: oklch(0.252 0.037 19.95);
--accent: oklch(0.416 0.003 286.29);
--accent-foreground: oklch(0.923 0.001 286.386);
--destructive: oklch(0.606 0.239 30.58);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.628 0.258 29.234);
--chart-1: oklch(0.628 0.258 29.234);
--chart-2: oklch(0.779 0.045 18.157);
--chart-3: oklch(0.416 0.003 286.29);
--chart-4: oklch(0.806 0.039 17.989);
--chart-5: oklch(0.634 0.261 29.327);
}