Deadly for shadcn/ui

Deadly is a shadcn/ui theme built around an orange primary color (#dca98e) with violet accents (#a98edc). The light mode uses a neutral background (#fdf9f7). Dark mode keeps the orange primary (#dca98e) on a neutral background (#040202).

Color palette

TokenLightDark
Background
#fdf9f7snow
#040202black
Foreground
#100804black
#faf7f5whitesmoke
Card
#fdf9f7snow
#040202black
Card foreground
#100804black
#faf7f5whitesmoke
Popover
#fdf9f7snow
#040202black
Popover foreground
#100804black
#faf7f5whitesmoke
Primary
#dca98etan
#dca98etan
Primary foreground
#2b180dblack
#2b180dblack
Secondary
#8edca9lightgreen
#8edca9lightgreen
Secondary foreground
#0d2b18black
#0d2b18black
Muted
#d6ebddgainsboro
#14291bblack
Muted foreground
#4c6154darkslategray
#9eb3a5darkgray
Accent
#a98edcmediumpurple
#a98edcmediumpurple
Accent foreground
#180d2bblack
#180d2bblack
Destructive
#622409maroon
#ec6a32tomato
Destructive foreground
#f7bea6lightpink
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#dca98etan
#dca98etan

Contrast

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

Light mode
Text on background18.95:1AAA
Text on card18.95:1AAA
Primary button8.18:1AAA
Secondary button9.43:1AAA
Muted text5.33:1AA
Accent6.70:1AA
Destructive7.25:1AAA
Dark mode
Text on background19.39:1AAA
Text on card19.39:1AAA
Primary button8.18:1AAA
Secondary button9.43:1AAA
Muted text6.92:1AA
Accent6.70:1AA
Destructive6.65:1AA

CSS variables

Paste this into your globals.css to use Deadly in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.985 0.005 50.592);
  --foreground: oklch(0.146 0.019 56.347);
  --muted: oklch(0.92 0.029 157.319);
  --muted-foreground: oklch(0.472 0.033 156.403);
  --popover: oklch(0.985 0.005 50.592);
  --popover-foreground: oklch(0.146 0.019 56.347);
  --card: oklch(0.985 0.005 50.592);
  --card-foreground: oklch(0.146 0.019 56.347);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.776 0.071 49.581);
  --primary-foreground: oklch(0.231 0.036 48.58);
  --secondary: oklch(0.831 0.106 154.907);
  --secondary-foreground: oklch(0.26 0.051 152.64);
  --accent: oklch(0.701 0.116 299.52);
  --accent-foreground: oklch(0.193 0.058 296.745);
  --destructive: oklch(0.348 0.097 40.851);
  --destructive-foreground: oklch(0.848 0.073 44.302);
  --ring: oklch(0.776 0.071 49.581);
  --chart-1: oklch(0.776 0.071 49.581);
  --chart-2: oklch(0.831 0.106 154.907);
  --chart-3: oklch(0.701 0.116 299.52);
  --chart-4: oklch(0.847 0.095 155.328);
  --chart-5: oklch(0.776 0.075 49.519);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.091 0.007 56.162);
  --foreground: oklch(0.977 0.004 50.6);
  --muted: oklch(0.259 0.037 154.418);
  --muted-foreground: oklch(0.746 0.03 157.113);
  --popover: oklch(0.091 0.007 56.162);
  --popover-foreground: oklch(0.977 0.004 50.6);
  --card: oklch(0.091 0.007 56.162);
  --card-foreground: oklch(0.977 0.004 50.6);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.776 0.071 49.581);
  --primary-foreground: oklch(0.231 0.036 48.58);
  --secondary: oklch(0.831 0.106 154.907);
  --secondary-foreground: oklch(0.26 0.051 152.64);
  --accent: oklch(0.701 0.116 299.52);
  --accent-foreground: oklch(0.193 0.058 296.745);
  --destructive: oklch(0.674 0.175 41.686);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.776 0.071 49.581);
  --chart-1: oklch(0.776 0.071 49.581);
  --chart-2: oklch(0.831 0.106 154.907);
  --chart-3: oklch(0.701 0.116 299.52);
  --chart-4: oklch(0.847 0.095 155.328);
  --chart-5: oklch(0.776 0.075 49.519);
}