Deadly for shadcn/ui

Deadly is a shadcn/ui theme built around a blue primary color (#539dd5) with indigo accents (#535bd5). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the blue primary (#539dd5) on a blue-tinted background (#050b10).

Color palette

TokenLightDark
Background
#fbfdfewhite
#050b10black
Foreground
#000000black
#f5f8f9whitesmoke
Card
#fbfdfewhite
#050b10black
Card foreground
#000000black
#f5f8f9whitesmoke
Popover
#fbfdfewhite
#050b10black
Popover foreground
#000000black
#f5f8f9whitesmoke
Primary
#539dd5cornflowerblue
#539dd5cornflowerblue
Primary foreground
#000000black
#000000black
Secondary
#53d5cdmediumturquoise
#53d5cdmediumturquoise
Secondary foreground
#000000black
#000000black
Muted
#e1efeelavender
#101e1dblack
Muted foreground
#3a4545darkslategray
#bac5c4silver
Accent
#535bd5slateblue
#535bd5slateblue
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#9d3c0csaddlebrown
#ef6f2etomato
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#539dd5cornflowerblue
#539dd5cornflowerblue

Contrast

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

Light mode
Text on background20.53:1AAA
Text on card20.53:1AAA
Primary button7.12:1AAA
Secondary button11.78:1AAA
Muted text8.39:1AAA
Accent5.47:1AA
Destructive6.82:1AA
Dark mode
Text on background18.54:1AAA
Text on card18.54:1AAA
Primary button7.12:1AAA
Secondary button11.78:1AAA
Muted text9.70:1AAA
Accent5.47:1AA
Destructive6.97:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.992 0.003 240.323);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.941 0.015 192.102);
  --muted-foreground: oklch(0.382 0.015 191.607);
  --popover: oklch(0.992 0.003 240.323);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.992 0.003 240.323);
  --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.671 0.112 243.701);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.8 0.114 188.952);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.535 0.185 275.156);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.484 0.14 41.916);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.671 0.112 243.701);
  --chart-1: oklch(0.671 0.112 243.701);
  --chart-2: oklch(0.8 0.114 188.952);
  --chart-3: oklch(0.535 0.185 275.156);
  --chart-4: oklch(0.812 0.109 189.255);
  --chart-5: oklch(0.672 0.117 243.946);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.144 0.015 237.628);
  --foreground: oklch(0.977 0.003 240.332);
  --muted: oklch(0.221 0.019 190.552);
  --muted-foreground: oklch(0.814 0.013 192.102);
  --popover: oklch(0.144 0.015 237.628);
  --popover-foreground: oklch(0.977 0.003 240.332);
  --card: oklch(0.144 0.015 237.628);
  --card-foreground: oklch(0.977 0.003 240.332);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.671 0.112 243.701);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.8 0.114 188.952);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.535 0.185 275.156);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.686 0.175 44.013);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.671 0.112 243.701);
  --chart-1: oklch(0.671 0.112 243.701);
  --chart-2: oklch(0.8 0.114 188.952);
  --chart-3: oklch(0.535 0.185 275.156);
  --chart-4: oklch(0.812 0.109 189.255);
  --chart-5: oklch(0.672 0.117 243.946);
}