Argent Hornet for shadcn/ui

Argent Hornet is a shadcn/ui theme built around a neutral gray primary color (#89898b) with neutral gray accents (#8a898b). The light mode uses a neutral background (#f8f8fc). Dark mode keeps the neutral gray primary (#89898b) on an indigo-tinted background (#07070d).

Color palette

TokenLightDark
Background
#f8f8fcghostwhite
#07070dblack
Foreground
#010105black
#f6f6f9whitesmoke
Card
#f5f5fawhitesmoke
#090911black
Card foreground
#000000black
#f9f9fbghostwhite
Popover
#f8f8fcghostwhite
#07070dblack
Popover foreground
#010105black
#f6f6f9whitesmoke
Primary
#89898bgray
#89898bgray
Primary foreground
#000000black
#000000black
Secondary
#898a8bgray
#898a8bgray
Secondary foreground
#000000black
#000000black
Muted
#dce1e5gainsboro
#1a1f23black
Muted foreground
#56595ddimgray
#a2a6a9darkgray
Accent
#8a898bgray
#8a898bgray
Accent foreground
#000000black
#000000black
Destructive
#6b0606maroon
#f42f2fcrimson
Destructive foreground
#faa8a8lightpink
#ffffffwhite
Border
#e3e3e8gainsboro
#22222adarkslategray
Input
#e3e3e8gainsboro
#22222adarkslategray
Ring
#89898bgray
#89898bgray

Contrast

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

Light mode
Text on background19.69:1AAA
Text on card19.29:1AAA
Primary button5.98:1AA
Secondary button6.04:1AA
Muted text5.32:1AA
Accent5.99:1AA
Destructive6.81:1AA
Dark mode
Text on background18.61:1AAA
Text on card18.87:1AAA
Primary button5.98:1AA
Secondary button6.04:1AA
Muted text6.78:1AA
Accent5.99:1AA
Destructive3.97:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.981 0.005 285.534);
  --foreground: oklch(0.066 0.025 275.668);
  --muted: oklch(0.906 0.008 246.074);
  --muted-foreground: oklch(0.463 0.007 246.147);
  --popover: oklch(0.981 0.005 285.534);
  --popover-foreground: oklch(0.066 0.025 275.668);
  --card: oklch(0.971 0.007 285.491);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.917 0.007 285.471);
  --input: oklch(0.917 0.007 285.471);
  --primary: oklch(0.629 0.003 285.52);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.632 0.002 246.007);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.63 0.004 307.72);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.335 0.132 28.337);
  --destructive-foreground: oklch(0.811 0.098 19.413);
  --ring: oklch(0.629 0.003 285.52);
  --chart-1: oklch(0.629 0.003 285.52);
  --chart-2: oklch(0.632 0.002 246.007);
  --chart-3: oklch(0.63 0.004 307.72);
  --chart-4: oklch(0.657 0.002 246.003);
  --chart-5: oklch(0.62 0.014 285.214);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.133 0.014 283.379);
  --foreground: oklch(0.974 0.003 285.555);
  --muted: oklch(0.235 0.012 246.538);
  --muted-foreground: oklch(0.723 0.007 246.071);
  --popover: oklch(0.133 0.014 283.379);
  --popover-foreground: oklch(0.974 0.003 285.555);
  --card: oklch(0.144 0.017 283.249);
  --card-foreground: oklch(0.983 0.002 285.576);
  --border: oklch(0.256 0.015 284.485);
  --input: oklch(0.256 0.015 284.485);
  --primary: oklch(0.629 0.003 285.52);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.632 0.002 246.007);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.63 0.004 307.72);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.626 0.23 27.093);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.629 0.003 285.52);
  --chart-1: oklch(0.629 0.003 285.52);
  --chart-2: oklch(0.632 0.002 246.007);
  --chart-3: oklch(0.63 0.004 307.72);
  --chart-4: oklch(0.657 0.002 246.003);
  --chart-5: oklch(0.62 0.014 285.214);
}