Droëwors Harrier for shadcn/ui

Droëwors Harrier is a shadcn/ui theme built around a muted deep red primary color (#4f3637) with muted light red accents (#cec5c6). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted deep red primary (#4f3637) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#0c0304black
#ffffffwhite
Card
#fcfcfcsnow
#030303black
Card foreground
#080202black
#ffffffwhite
Popover
#fcfcfcsnow
#030303black
Popover foreground
#080202black
#ffffffwhite
Primary
#4f3637darkslategray
#4f3637darkslategray
Primary foreground
#e2d5d5gainsboro
#e2d5d5gainsboro
Secondary
#e4e2e2gainsboro
#151414black
Secondary foreground
#4b4849darkslategray
#aeadaddarkgray
Muted
#ebd5d6gainsboro
#2a1415black
Muted foreground
#5f5858dimgray
#a7a0a0darkgray
Accent
#cec5c6silver
#2c2626darkslategray
Accent foreground
#342d2ddarkslategray
#c7bdbdsilver
Destructive
#670e04maroon
#f6250eorangered
Destructive foreground
#fcaba1lightpink
#ffffffwhite
Border
#e6e5e5gainsboro
#252323black
Input
#e6e5e5gainsboro
#252323black
Ring
#4f3637darkslategray
#4f3637darkslategray

Contrast

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

Light mode
Text on background20.38:1AAA
Text on card20.14:1AAA
Primary button7.70:1AAA
Secondary button7.02:1AAA
Muted text4.98:1AA
Accent7.97:1AAA
Destructive6.98:1AA
Dark mode
Text on background21.00:1AAA
Text on card20.67:1AAA
Primary button7.70:1AAA
Secondary button8.20:1AAA
Muted text6.78:1AA
Accent8.13:1AAA
Destructive4.03:1AA Large

CSS variables

Paste this into your globals.css to use Droëwors Harrier in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.119 0.021 16.161);
  --muted: oklch(0.893 0.025 14.157);
  --muted-foreground: oklch(0.468 0.01 14.015);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.104 0.019 16.076);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.104 0.019 16.076);
  --border: oklch(0.922 0.002 13.643);
  --input: oklch(0.922 0.002 13.643);
  --primary: oklch(0.361 0.036 15.713);
  --primary-foreground: oklch(0.883 0.015 13.946);
  --secondary: oklch(0.915 0.001 13.634);
  --secondary-foreground: oklch(0.406 0.004 13.801);
  --accent: oklch(0.831 0.01 13.837);
  --accent-foreground: oklch(0.304 0.011 14.358);
  --destructive: oklch(0.333 0.124 30.947);
  --destructive-foreground: oklch(0.816 0.097 26.393);
  --ring: oklch(0.361 0.036 15.713);
  --chart-1: oklch(0.361 0.036 15.713);
  --chart-2: oklch(0.915 0.001 13.634);
  --chart-3: oklch(0.831 0.01 13.837);
  --chart-4: oklch(0.938 0.001 13.626);
  --chart-5: oklch(0.359 0.042 16.111);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.221 0.036 17.248);
  --muted-foreground: oklch(0.711 0.009 13.847);
  --popover: oklch(0.092 0 180);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.257 0.003 13.856);
  --input: oklch(0.257 0.003 13.856);
  --primary: oklch(0.361 0.036 15.713);
  --primary-foreground: oklch(0.883 0.015 13.946);
  --secondary: oklch(0.193 0.001 13.675);
  --secondary-foreground: oklch(0.748 0.002 13.657);
  --accent: oklch(0.274 0.01 14.326);
  --accent-foreground: oklch(0.806 0.011 13.88);
  --destructive: oklch(0.623 0.24 30.428);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.361 0.036 15.713);
  --chart-1: oklch(0.361 0.036 15.713);
  --chart-2: oklch(0.193 0.001 13.675);
  --chart-3: oklch(0.274 0.01 14.326);
  --chart-4: oklch(0.226 0.001 13.683);
  --chart-5: oklch(0.359 0.042 16.111);
}