Deadly for shadcn/ui

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).

Color palette

TokenLightDark
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

Contrast

WCAG 2 contrast ratios between each background and its foreground color.

Light mode
Text on background20.41:1AAA
Text on card20.25:1AAA
Primary button8.26:1AAA
Secondary button8.59:1AAA
Muted text4.25:1AA Large
Accent7.82:1AAA
Destructive6.42:1AA
Dark mode
Text on background19.30:1AAA
Text on card19.45:1AAA
Primary button8.26:1AAA
Secondary button8.59:1AAA
Muted text5.18:1AA
Accent7.82:1AAA
Destructive7.00:1AAA

CSS variables

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);
}