Honeybee for shadcn/ui

Honeybee is a shadcn/ui theme built around an indigo primary color (#868de9) with yellow accents (#e9e286). The light mode uses a neutral background (#fbfbfe). Dark mode keeps the indigo primary (#868de9) on a neutral background (#020204).

Color palette

TokenLightDark
Background
#fbfbfeghostwhite
#020204black
Foreground
#010209black
#fcfcfdwhite
Card
#f7f7fdghostwhite
#030307black
Card foreground
#010105black
#ffffffwhite
Popover
#fbfbfeghostwhite
#020204black
Popover foreground
#010209black
#fcfcfdwhite
Primary
#868de9mediumpurple
#868de9mediumpurple
Primary foreground
#090c34black
#090c34black
Secondary
#e9e286khaki
#e9e286khaki
Secondary foreground
#343109black
#343109black
Muted
#eeedddbeige
#222111black
Muted foreground
#545240darkolivegreen
#bfbdabsilver
Accent
#e9e286khaki
#e9e286khaki
Accent foreground
#343109black
#343109black
Destructive
#ca4f12chocolate
#e15814chocolate
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#868de9mediumpurple
#868de9mediumpurple

Contrast

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

Light mode
Text on background20.06:1AAA
Text on card19.55:1AAA
Primary button6.28:1AA
Secondary button9.88:1AAA
Muted text6.69:1AA
Accent9.88:1AAA
Destructive4.53:1AA
Dark mode
Text on background20.25:1AAA
Text on card20.54:1AAA
Primary button6.28:1AA
Secondary button9.88:1AAA
Muted text8.56:1AAA
Accent9.88:1AAA
Destructive3.73:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.989 0.004 283.043);
  --foreground: oklch(0.088 0.028 272.921);
  --muted: oklch(0.943 0.021 103.481);
  --muted-foreground: oklch(0.435 0.028 104.119);
  --popover: oklch(0.989 0.004 283.043);
  --popover-foreground: oklch(0.088 0.028 272.921);
  --card: oklch(0.978 0.007 282.976);
  --card-foreground: oklch(0.069 0.023 272.921);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.677 0.135 279.035);
  --primary-foreground: oklch(0.185 0.076 273.141);
  --secondary: oklch(0.899 0.114 104.89);
  --secondary-foreground: oklch(0.307 0.056 105.23);
  --accent: oklch(0.899 0.114 104.89);
  --accent-foreground: oklch(0.307 0.056 105.23);
  --destructive: oklch(0.584 0.169 41.773);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.677 0.135 279.035);
  --chart-1: oklch(0.677 0.135 279.035);
  --chart-2: oklch(0.899 0.114 104.89);
  --chart-3: oklch(0.899 0.114 104.89);
  --chart-4: oklch(0.909 0.103 104.746);
  --chart-5: oklch(0.673 0.141 278.796);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.082 0.01 279.872);
  --foreground: oklch(0.991 0.002 283.071);
  --muted: oklch(0.244 0.028 104.768);
  --muted-foreground: oklch(0.796 0.025 103.613);
  --popover: oklch(0.082 0.01 279.872);
  --popover-foreground: oklch(0.991 0.002 283.071);
  --card: oklch(0.104 0.013 279.872);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.677 0.135 279.035);
  --primary-foreground: oklch(0.185 0.076 273.141);
  --secondary: oklch(0.899 0.114 104.89);
  --secondary-foreground: oklch(0.307 0.056 105.23);
  --accent: oklch(0.899 0.114 104.89);
  --accent-foreground: oklch(0.307 0.056 105.23);
  --destructive: oklch(0.633 0.185 41.603);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.677 0.135 279.035);
  --chart-1: oklch(0.677 0.135 279.035);
  --chart-2: oklch(0.899 0.114 104.89);
  --chart-3: oklch(0.899 0.114 104.89);
  --chart-4: oklch(0.909 0.103 104.746);
  --chart-5: oklch(0.673 0.141 278.796);
}