Manhunt for shadcn/ui

Manhunt is a shadcn/ui theme built around a muted red primary color (#775054) with muted orange accents (#775f50). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted red primary (#775054) on a red-tinted background (#0c0304).

Color palette

TokenLightDark
Background
#ffffffwhite
#0c0304black
Foreground
#090202black
#faf5f5whitesmoke
Card
#fcfcfcsnow
#100405black
Card foreground
#040101black
#fcf8f8snow
Popover
#ffffffwhite
#0c0304black
Popover foreground
#090202black
#faf5f5whitesmoke
Primary
#775054dimgray
#775054dimgray
Primary foreground
#fdfcfcsnow
#fdfcfcsnow
Secondary
#775067dimgray
#775067dimgray
Secondary foreground
#fdfcfdwhite
#fdfcfdwhite
Muted
#e5dce1gainsboro
#231a20black
Muted foreground
#57424fdarkslategray
#bda8b5darkgray
Accent
#775f50dimgray
#775f50dimgray
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#c11a0bfirebrick
#d91e0dfirebrick
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#775054dimgray
#775054dimgray

Contrast

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

Light mode
Text on background20.56:1AAA
Text on card20.34:1AAA
Primary button6.72:1AA
Secondary button6.57:1AA
Muted text6.80:1AA
Accent5.90:1AA
Destructive6.14:1AA
Dark mode
Text on background18.85:1AAA
Text on card19.09:1AAA
Primary button6.72:1AA
Secondary button6.57:1AA
Muted text7.60:1AAA
Accent5.90:1AA
Destructive5.07:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.101 0.023 12.093);
  --muted: oklch(0.903 0.012 340.543);
  --muted-foreground: oklch(0.406 0.036 342.122);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.101 0.023 12.093);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.08 0.018 12.093);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.475 0.054 12.733);
  --primary-foreground: oklch(0.992 0.001 10.102);
  --secondary: oklch(0.481 0.063 343.017);
  --secondary-foreground: oklch(0.992 0.001 340.264);
  --accent: oklch(0.507 0.04 55.329);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.518 0.2 30.091);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.475 0.054 12.733);
  --chart-1: oklch(0.475 0.054 12.733);
  --chart-2: oklch(0.481 0.063 343.017);
  --chart-3: oklch(0.507 0.04 55.329);
  --chart-4: oklch(0.507 0.067 343.041);
  --chart-5: oklch(0.472 0.062 13.202);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.119 0.022 11.741);
  --foreground: oklch(0.973 0.006 10.22);
  --muted: oklch(0.231 0.018 341.877);
  --muted-foreground: oklch(0.753 0.03 341.126);
  --popover: oklch(0.119 0.022 11.741);
  --popover-foreground: oklch(0.973 0.006 10.22);
  --card: oklch(0.132 0.025 12.456);
  --card-foreground: oklch(0.982 0.004 10.171);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.475 0.054 12.733);
  --primary-foreground: oklch(0.992 0.001 10.102);
  --secondary: oklch(0.481 0.063 343.017);
  --secondary-foreground: oklch(0.992 0.001 340.264);
  --accent: oklch(0.507 0.04 55.329);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.565 0.219 30.085);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.475 0.054 12.733);
  --chart-1: oklch(0.475 0.054 12.733);
  --chart-2: oklch(0.481 0.063 343.017);
  --chart-3: oklch(0.507 0.04 55.329);
  --chart-4: oklch(0.507 0.067 343.041);
  --chart-5: oklch(0.472 0.062 13.202);
}