Dead is a shadcn/ui theme built around a vivid light red primary color (#f499ad) with vivid light blue accents (#99adf4). The light mode uses a neutral background (#fefbfc). Dark mode keeps the vivid light red primary (#f499ad) on a red-tinted background (#0c0305).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfcsnow | #0c0305black |
| Foreground | #040102black | #fcf8f9snow |
| Card | #fdf7f8snow | #100407black |
| Card foreground | #000000black | #fdfcfcsnow |
| Popover | #fdf7f8snow | #100407black |
| Popover foreground | #000000black | #fdfcfcsnow |
| Primary | #f499adlightpink | #f499adlightpink |
| Primary foreground | #530919maroon | #530919maroon |
| Secondary | #adf499palegreen | #adf499palegreen |
| Secondary foreground | #195309darkgreen | #195309darkgreen |
| Muted | #d2e5cdlightgrey | #20321adarkslategray |
| Muted foreground | #444743darkslategray | #b9bcb8silver |
| Accent | #99adf4lightskyblue | #99adf4lightskyblue |
| Accent foreground | #091953midnightblue | #091953midnightblue |
| Destructive | #6a1f01maroon | #fd6e35tomato |
| Destructive foreground | #feba9flightpink | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f499adlightpink | #f499adlightpink |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.18:1 | AAA |
| Text on card | 19.80:1 | AAA |
| Primary button | 7.07:1 | AAA |
| Secondary button | 7.10:1 | AAA |
| Muted text | 7.08:1 | AAA |
| Accent | 7.57:1 | AAA |
| Destructive | 7.04:1 | AAA |
| Text on background | 19.32:1 | AAA |
| Text on card | 19.65:1 | AAA |
| Primary button | 7.07:1 | AAA |
| Secondary button | 7.10:1 | AAA |
| Muted text | 7.14:1 | AAA |
| Accent | 7.57:1 | AAA |
| Destructive | 7.44:1 | AAA |
Paste this into your globals.css to use Dead in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.004 2.165);
--foreground: oklch(0.082 0.016 2.221);
--muted: oklch(0.9 0.038 138.908);
--muted-foreground: oklch(0.393 0.008 138.899);
--popover: oklch(0.981 0.007 2.266);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.981 0.007 2.266);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.782 0.111 5.887);
--primary-foreground: oklch(0.289 0.104 15.732);
--secondary: oklch(0.9 0.14 139.039);
--secondary-foreground: oklch(0.39 0.119 140.211);
--accent: oklch(0.76 0.105 271.859);
--accent-foreground: oklch(0.247 0.108 266.124);
--destructive: oklch(0.355 0.113 38.76);
--destructive-foreground: oklch(0.845 0.087 42.498);
--ring: oklch(0.782 0.111 5.887);
--chart-1: oklch(0.782 0.111 5.887);
--chart-2: oklch(0.9 0.14 139.039);
--chart-3: oklch(0.76 0.105 271.859);
--chart-4: oklch(0.912 0.121 138.996);
--chart-5: oklch(0.781 0.115 6.045);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.119 0.023 2.463);
--foreground: oklch(0.983 0.004 2.168);
--muted: oklch(0.294 0.048 139.058);
--muted-foreground: oklch(0.792 0.007 138.894);
--popover: oklch(0.133 0.027 3.687);
--popover-foreground: oklch(0.991 0.002 2.117);
--card: oklch(0.133 0.027 3.687);
--card-foreground: oklch(0.991 0.002 2.117);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.782 0.111 5.887);
--primary-foreground: oklch(0.289 0.104 15.732);
--secondary: oklch(0.9 0.14 139.039);
--secondary-foreground: oklch(0.39 0.119 140.211);
--accent: oklch(0.76 0.105 271.859);
--accent-foreground: oklch(0.247 0.108 266.124);
--destructive: oklch(0.705 0.188 40.393);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.782 0.111 5.887);
--chart-1: oklch(0.782 0.111 5.887);
--chart-2: oklch(0.9 0.14 139.039);
--chart-3: oklch(0.76 0.105 271.859);
--chart-4: oklch(0.912 0.121 138.996);
--chart-5: oklch(0.781 0.115 6.045);
}