Deathwatch is a shadcn/ui theme built around a light teal primary color (#d0f6e4) with muted light teal accents (#c9d4cf). The light mode uses a neutral background (#f7fdfa). Dark mode keeps the light teal primary (#d0f6e4) on a neutral background (#010403).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fdfamintcream | #010403black |
| Foreground | #020d08black | #f5faf7whitesmoke |
| Card | #f7fdfamintcream | #010403black |
| Card foreground | #020d08black | #f5faf7whitesmoke |
| Popover | #f7fdfamintcream | #010403black |
| Popover foreground | #020d08black | #f5faf7whitesmoke |
| Primary | #d0f6e4gainsboro | #d0f6e4gainsboro |
| Primary foreground | #072717black | #072717black |
| Secondary | #dbdcdbgainsboro | #2a3731darkslategray |
| Secondary foreground | #414442darkslategray | #c2d1calightgrey |
| Muted | #cde5d9gainsboro | #1a3227darkslategray |
| Muted foreground | #444b48darkslategray | #b4bbb8silver |
| Accent | #c9d4cflightgrey | #345545darkslategray |
| Accent foreground | #303b36darkslategray | #d6e6degainsboro |
| Destructive | #91120ddarkred | #ea211acrimson |
| Destructive foreground | #fbd6d5mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #d0f6e4gainsboro | #d0f6e4gainsboro |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.12:1 | AAA |
| Text on card | 19.12:1 | AAA |
| Primary button | 13.70:1 | AAA |
| Secondary button | 7.16:1 | AAA |
| Muted text | 6.73:1 | AA |
| Accent | 7.64:1 | AAA |
| Destructive | 6.85:1 | AA |
| Text on background | 19.52:1 | AAA |
| Text on card | 19.52:1 | AAA |
| Primary button | 13.70:1 | AAA |
| Secondary button | 7.84:1 | AAA |
| Muted text | 6.98:1 | AA |
| Accent | 6.37:1 | AA |
| Destructive | 4.44:1 | AA Large |
Paste this into your globals.css to use Deathwatch in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.007 165.833);
--foreground: oklch(0.144 0.023 165.582);
--muted: oklch(0.901 0.03 165.082);
--muted-foreground: oklch(0.405 0.011 165.28);
--popover: oklch(0.988 0.007 165.833);
--popover-foreground: oklch(0.144 0.023 165.582);
--card: oklch(0.988 0.007 165.833);
--card-foreground: oklch(0.144 0.023 165.582);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.941 0.047 164.62);
--primary-foreground: oklch(0.243 0.047 158.765);
--secondary: oklch(0.893 0.002 165.964);
--secondary-foreground: oklch(0.382 0.004 165.726);
--accent: oklch(0.86 0.014 165.591);
--accent-foreground: oklch(0.341 0.018 164.479);
--destructive: oklch(0.42 0.16 28.762);
--destructive-foreground: oklch(0.908 0.041 20.283);
--ring: oklch(0.941 0.047 164.62);
--chart-1: oklch(0.941 0.047 164.62);
--chart-2: oklch(0.893 0.002 165.964);
--chart-3: oklch(0.86 0.014 165.591);
--chart-4: oklch(0.916 0.001 165.976);
--chart-5: oklch(0.942 0.049 164.559);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.097 0.011 166.171);
--foreground: oklch(0.98 0.006 165.847);
--muted: oklch(0.295 0.038 161.887);
--muted-foreground: oklch(0.786 0.009 165.699);
--popover: oklch(0.097 0.011 166.171);
--popover-foreground: oklch(0.98 0.006 165.847);
--card: oklch(0.097 0.011 166.171);
--card-foreground: oklch(0.98 0.006 165.847);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.941 0.047 164.62);
--primary-foreground: oklch(0.243 0.047 158.765);
--secondary: oklch(0.323 0.021 164.1);
--secondary-foreground: oklch(0.847 0.019 165.404);
--accent: oklch(0.42 0.047 162.498);
--accent-foreground: oklch(0.91 0.02 165.422);
--destructive: oklch(0.599 0.231 28.86);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.941 0.047 164.62);
--chart-1: oklch(0.941 0.047 164.62);
--chart-2: oklch(0.323 0.021 164.1);
--chart-3: oklch(0.42 0.047 162.498);
--chart-4: oklch(0.355 0.024 164.04);
--chart-5: oklch(0.942 0.049 164.559);
}