Hunt for shadcn/ui

Hunt is a shadcn/ui theme built around a near-white primary color (#fcf9f7) with muted orange accents (#cabdb4). The light mode uses a neutral background (#ffffff). Dark mode keeps the near-white primary (#fcf9f7) on an orange-tinted background (#0b0704).

Color palette

TokenLightDark
Background
#ffffffwhite
#0b0704black
Foreground
#090401black
#fbfaf9snow
Card
#fcfcfcsnow
#0f0906black
Card foreground
#050201black
#fdfcfcsnow
Popover
#ffffffwhite
#0b0704black
Popover foreground
#090401black
#fbfaf9snow
Primary
#fcf9f7snow
#fcf9f7snow
Primary foreground
#442917darkslategray
#442917darkslategray
Secondary
#d0cbc8lightgrey
#2c2b2bdarkslategray
Secondary foreground
#37322fdarkslategray
#c5c4c4silver
Muted
#f2efedwhitesmoke
#120f0dblack
Muted foreground
#6e5e53dimgray
#ac9b91rosybrown
Accent
#cabdb4silver
#443f3bdarkslategray
Accent foreground
#2d2520darkslategray
#dbd8d6gainsboro
Destructive
#ca2002firebrick
#e82502orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#fcf9f7snow
#fcf9f7snow

Contrast

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

Light mode
Text on background20.39:1AAA
Text on card20.23:1AAA
Primary button12.76:1AAA
Secondary button7.87:1AAA
Muted text5.42:1AA
Accent8.20:1AAA
Destructive5.64:1AA
Dark mode
Text on background19.25:1AAA
Text on card19.29:1AAA
Primary button12.76:1AAA
Secondary button8.09:1AAA
Muted text7.14:1AAA
Accent7.33:1AAA
Destructive4.46:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.117 0.018 68.713);
  --muted: oklch(0.954 0.004 56.379);
  --muted-foreground: oklch(0.495 0.027 55.677);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.117 0.018 68.713);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.092 0.015 68.713);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.985 0.004 56.376);
  --primary-foreground: oklch(0.312 0.05 53.579);
  --secondary: oklch(0.846 0.007 56.318);
  --secondary-foreground: oklch(0.322 0.009 56.046);
  --accent: oklch(0.807 0.019 56.108);
  --accent-foreground: oklch(0.271 0.015 55.664);
  --destructive: oklch(0.538 0.205 31.534);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.985 0.004 56.376);
  --chart-1: oklch(0.985 0.004 56.376);
  --chart-2: oklch(0.846 0.007 56.318);
  --chart-3: oklch(0.807 0.019 56.108);
  --chart-4: oklch(0.869 0.006 56.339);
  --chart-5: oklch(0.985 0.004 56.372);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.133 0.012 62.984);
  --foreground: oklch(0.985 0.002 56.408);
  --muted: oklch(0.17 0.006 55.951);
  --muted-foreground: oklch(0.702 0.025 55.948);
  --popover: oklch(0.133 0.012 62.984);
  --popover-foreground: oklch(0.985 0.002 56.408);
  --card: oklch(0.147 0.014 60.2);
  --card-foreground: oklch(0.992 0.001 56.422);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.985 0.004 56.376);
  --primary-foreground: oklch(0.312 0.05 53.579);
  --secondary: oklch(0.291 0.001 56.388);
  --secondary-foreground: oklch(0.821 0.001 56.418);
  --accent: oklch(0.371 0.01 56.079);
  --accent-foreground: oklch(0.885 0.005 56.363);
  --destructive: oklch(0.597 0.229 31.378);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.985 0.004 56.376);
  --chart-1: oklch(0.985 0.004 56.376);
  --chart-2: oklch(0.291 0.001 56.388);
  --chart-3: oklch(0.371 0.01 56.079);
  --chart-4: oklch(0.321 0.001 56.386);
  --chart-5: oklch(0.985 0.004 56.372);
}