Manhunt for shadcn/ui

Manhunt is a shadcn/ui theme built around a blue primary color (#1c317d) with neutral gray accents (#e0e0e0). The light mode uses a neutral background (#f8f9fc). Dark mode keeps the blue primary (#1c317d) on a neutral background (#010204).

Color palette

TokenLightDark
Background
#f8f9fcghostwhite
#010204black
Foreground
#010204black
#fcfcfdwhite
Card
#f8f9fcghostwhite
#010204black
Card foreground
#010204black
#fcfcfdwhite
Popover
#f8f9fcghostwhite
#010204black
Popover foreground
#010204black
#fcfcfdwhite
Primary
#1c317dmidnightblue
#1c317dmidnightblue
Primary foreground
#d5dcf6lavender
#d5dcf6lavender
Secondary
#e0e0e0gainsboro
#16181dblack
Secondary foreground
#474747darkslategray
#a9adbcdarkgray
Muted
#efececlinen
#101113black
Muted foreground
#444040darkslategray
#bbbcbfsilver
Accent
#e0e0e0gainsboro
#16181dblack
Accent foreground
#474747darkslategray
#a9adbcdarkgray
Destructive
#5d1809maroon
#eb4c28chocolate
Destructive foreground
#f6b1a2lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#1c317dmidnightblue
#1c317dmidnightblue

Contrast

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

Light mode
Text on background19.65:1AAA
Text on card19.65:1AAA
Primary button8.61:1AAA
Secondary button7.06:1AAA
Muted text8.68:1AAA
Accent7.06:1AAA
Destructive7.30:1AAA
Dark mode
Text on background20.25:1AAA
Text on card20.25:1AAA
Primary button8.61:1AAA
Secondary button7.95:1AAA
Muted text9.93:1AAA
Accent7.95:1AAA
Destructive3.74:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.981 0.005 273.809);
  --foreground: oklch(0.08 0.014 265.65);
  --muted: oklch(0.944 0.003 17.212);
  --muted-foreground: oklch(0.377 0.005 17.398);
  --popover: oklch(0.981 0.005 273.809);
  --popover-foreground: oklch(0.08 0.014 265.65);
  --card: oklch(0.981 0.005 273.809);
  --card-foreground: oklch(0.08 0.014 265.65);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.348 0.131 267.315);
  --primary-foreground: oklch(0.898 0.035 273.383);
  --secondary: oklch(0.908 0 180);
  --secondary-foreground: oklch(0.399 0 180);
  --accent: oklch(0.908 0 180);
  --accent-foreground: oklch(0.399 0 180);
  --destructive: oklch(0.323 0.103 33.935);
  --destructive-foreground: oklch(0.822 0.084 33.05);
  --ring: oklch(0.348 0.131 267.315);
  --chart-1: oklch(0.348 0.131 267.315);
  --chart-2: oklch(0.908 0 180);
  --chart-3: oklch(0.908 0 180);
  --chart-4: oklch(0.931 0 180);
  --chart-5: oklch(0.346 0.136 266.961);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.083 0.011 268.02);
  --foreground: oklch(0.991 0.002 273.845);
  --muted: oklch(0.178 0.005 273.552);
  --muted-foreground: oklch(0.794 0.004 273.801);
  --popover: oklch(0.083 0.011 268.02);
  --popover-foreground: oklch(0.991 0.002 273.845);
  --card: oklch(0.083 0.011 268.02);
  --card-foreground: oklch(0.991 0.002 273.845);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.348 0.131 267.315);
  --primary-foreground: oklch(0.898 0.035 273.383);
  --secondary: oklch(0.209 0.01 273.286);
  --secondary-foreground: oklch(0.75 0.021 273.53);
  --accent: oklch(0.209 0.01 273.286);
  --accent-foreground: oklch(0.75 0.021 273.53);
  --destructive: oklch(0.635 0.201 33.949);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.348 0.131 267.315);
  --chart-1: oklch(0.348 0.131 267.315);
  --chart-2: oklch(0.209 0.01 273.286);
  --chart-3: oklch(0.209 0.01 273.286);
  --chart-4: oklch(0.24 0.012 273.226);
  --chart-5: oklch(0.346 0.136 266.961);
}