Deadly is a shadcn/ui theme built around a muted orange primary color (#b9aea6) with muted violet accents (#aea6b9). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted orange primary (#b9aea6) on an orange-tinted background (#0f0906).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0f0906black |
| Foreground | #080402black | #fdfcfcsnow |
| Card | #fcfcfcsnow | #120b07black |
| Card foreground | #040201black | #ffffffwhite |
| Popover | #ffffffwhite | #0f0906black |
| Popover foreground | #080402black | #fdfcfcsnow |
| Primary | #b9aea6darkgray | #b9aea6darkgray |
| Primary foreground | #1a1614black | #1a1614black |
| Secondary | #a6b9aedarkgray | #a6b9aedarkgray |
| Secondary foreground | #141a16black | #141a16black |
| Muted | #cbe6d6gainsboro | #193423darkslategray |
| Muted foreground | #5b6b62dimgray | #94a49adarkgray |
| Accent | #aea6b9darkgray | #aea6b9darkgray |
| Accent foreground | #16141ablack | #16141ablack |
| Destructive | #8e2c0bsaddlebrown | #f16d41tomato |
| Destructive foreground | #fbdbd0bisque | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #b9aea6darkgray | #b9aea6darkgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.41:1 | AAA |
| Text on card | 20.25:1 | AAA |
| Primary button | 8.26:1 | AAA |
| Secondary button | 8.59:1 | AAA |
| Muted text | 4.25:1 | AA Large |
| Accent | 7.82:1 | AAA |
| Destructive | 6.42:1 | AA |
| Text on background | 19.30:1 | AAA |
| Text on card | 19.45:1 | AAA |
| Primary button | 8.26:1 | AAA |
| Secondary button | 8.59:1 | AAA |
| Muted text | 5.18:1 | AA |
| Accent | 7.82:1 | AAA |
| Destructive | 7.00:1 | AAA |
Paste this into your globals.css to use Deadly in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.116 0.012 62.396);
--muted: oklch(0.901 0.036 158.547);
--muted-foreground: oklch(0.513 0.025 158.354);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.116 0.012 62.396);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.092 0.009 62.396);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.758 0.017 54.201);
--primary-foreground: oklch(0.205 0.007 54.054);
--secondary: oklch(0.769 0.027 158.675);
--secondary-foreground: oklch(0.209 0.011 158.284);
--accent: oklch(0.739 0.028 303.077);
--accent-foreground: oklch(0.197 0.011 302.786);
--destructive: oklch(0.438 0.139 36.759);
--destructive-foreground: oklch(0.914 0.04 39.303);
--ring: oklch(0.758 0.017 54.201);
--chart-1: oklch(0.758 0.017 54.201);
--chart-2: oklch(0.769 0.027 158.675);
--chart-3: oklch(0.739 0.028 303.077);
--chart-4: oklch(0.792 0.024 158.78);
--chart-5: oklch(0.758 0.021 54.126);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.147 0.013 58.245);
--foreground: oklch(0.992 0.001 54.499);
--muted: oklch(0.297 0.045 155.396);
--muted-foreground: oklch(0.702 0.023 158.724);
--popover: oklch(0.147 0.013 58.245);
--popover-foreground: oklch(0.992 0.001 54.499);
--card: oklch(0.16 0.016 54.965);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.758 0.017 54.201);
--primary-foreground: oklch(0.205 0.007 54.054);
--secondary: oklch(0.769 0.027 158.675);
--secondary-foreground: oklch(0.209 0.011 158.284);
--accent: oklch(0.739 0.028 303.077);
--accent-foreground: oklch(0.197 0.011 302.786);
--destructive: oklch(0.688 0.173 38.588);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.758 0.017 54.201);
--chart-1: oklch(0.758 0.017 54.201);
--chart-2: oklch(0.769 0.027 158.675);
--chart-3: oklch(0.739 0.028 303.077);
--chart-4: oklch(0.792 0.024 158.78);
--chart-5: oklch(0.758 0.021 54.126);
}