Sales Hunter 1 for shadcn/ui

Sales Hunter 1 is a shadcn/ui theme built around a green primary color (#27ae60) with green accents (#1e8449). The light mode uses a cyan-tinted background (#ecf0f1). Dark mode keeps the green primary (#28af60) on a green-tinted background (#040b07).

Color palette

TokenLightDark
Background
#ecf0f1whitesmoke
#040b07black
Foreground
#34495edarkslategray
#f6f8f7whitesmoke
Card
#ffffffwhite
#050f09black
Card foreground
#34495edarkslategray
#f9fbfamintcream
Popover
#ffffffwhite
#040b07black
Popover foreground
#34495edarkslategray
#f6f8f7whitesmoke
Primary
#27ae60mediumseagreen
#28af60mediumseagreen
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#8d8d8dgray
#2f3732darkslategray
Secondary foreground
#ffffffwhite
#c8d0cblightgrey
Muted
#bdc3c7silver
#0e2015black
Muted foreground
#34495edarkslategray
#a6b9aedarkgray
Accent
#1e8449seagreen
#2f3732darkslategray
Accent foreground
#ffffffwhite
#c8d0cblightgrey
Destructive
#e74c3ctomato
#f85a3atomato
Destructive foreground
#ffffffwhite
#000000black
Border
#bdc3c7silver
#1e1f1eblack
Input
#ecf0f1whitesmoke
#1e1f1eblack
Ring
#27ae60mediumseagreen
#28af60mediumseagreen

Contrast

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

Light mode
Text on background8.09:1AAA
Text on card9.28:1AAA
Primary button2.87:1Fail
Secondary button3.31:1AA Large
Muted text5.21:1AA
Accent4.71:1AA
Destructive3.82:1AA Large
Dark mode
Text on background18.61:1AAA
Text on card18.70:1AAA
Primary button2.85:1Fail
Secondary button7.77:1AAA
Muted text8.22:1AAA
Accent7.77:1AAA
Destructive6.50:1AA

CSS variables

Paste this into your globals.css to use Sales Hunter 1 in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.952 0.004 214.329);
  --foreground: oklch(0.397 0.044 249);
  --muted: oklch(0.814 0.009 236.59);
  --muted-foreground: oklch(0.397 0.044 249);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.397 0.044 249);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.397 0.044 249);
  --border: oklch(0.814 0.009 236.59);
  --input: oklch(0.952 0.004 214.329);
  --primary: oklch(0.663 0.16 152.369);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.643 0 158.199);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.542 0.129 152.674);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.631 0.194 29.438);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.663 0.16 152.369);
  --chart-1: oklch(0.663 0.16 152.369);
  --chart-2: oklch(0.643 0 158.199);
  --chart-3: oklch(0.542 0.129 152.674);
  --chart-4: oklch(0.669 0 168.69);
  --chart-5: oklch(0.671 0.166 152.002);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.14 0.017 160.807);
  --foreground: oklch(0.978 0.002 160.955);
  --muted: oklch(0.224 0.032 156.924);
  --muted-foreground: oklch(0.769 0.026 160.192);
  --popover: oklch(0.14 0.017 160.807);
  --popover-foreground: oklch(0.978 0.002 160.955);
  --card: oklch(0.156 0.021 159.431);
  --card-foreground: oklch(0.986 0.002 160.975);
  --border: oklch(0.239 0.002 160.788);
  --input: oklch(0.239 0.002 160.788);
  --primary: oklch(0.664 0.161 152.203);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.328 0.014 159.981);
  --secondary-foreground: oklch(0.85 0.011 160.706);
  --accent: oklch(0.328 0.014 159.981);
  --accent-foreground: oklch(0.85 0.011 160.706);
  --destructive: oklch(0.673 0.199 33.21);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.664 0.161 152.203);
  --chart-1: oklch(0.664 0.161 152.203);
  --chart-2: oklch(0.328 0.014 159.981);
  --chart-3: oklch(0.328 0.014 159.981);
  --chart-4: oklch(0.358 0.016 159.951);
  --chart-5: oklch(0.672 0.166 151.837);
}