Feijoa Halibut for shadcn/ui

Feijoa Halibut is a shadcn/ui theme built around a green primary color (#aadb8a) with neutral gray accents (#d9d9d8). The light mode uses a neutral background (#fafbf8). Dark mode keeps the green primary (#aadb8a) on a neutral background (#020302).

Color palette

TokenLightDark
Background
#fafbf8snow
#020302black
Foreground
#0b1505black
#ffffffwhite
Card
#fafbf8snow
#020302black
Card foreground
#0b1505black
#ffffffwhite
Popover
#fafbf8snow
#020302black
Popover foreground
#0b1505black
#ffffffwhite
Primary
#aadb8alightgreen
#aadb8alightgreen
Primary foreground
#17270cblack
#17270cblack
Secondary
#d9d9d8gainsboro
#191d16black
Secondary foreground
#40403fdarkslategray
#b0bda8darkgray
Muted
#d7e1d1gainsboro
#252e1edarkslategray
Muted foreground
#424440darkslategray
#bcbfbbsilver
Accent
#d9d9d8gainsboro
#191d16black
Accent foreground
#40403fdarkslategray
#b0bda8darkgray
Destructive
#c22000firebrick
#ff512etomato
Destructive foreground
#ffffffwhite
#000000black
Border
#edefeblinen
#1b1f19black
Input
#edefeblinen
#1b1f19black
Ring
#aadb8alightgreen
#aadb8alightgreen

Contrast

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

Light mode
Text on background18.03:1AAA
Text on card18.03:1AAA
Primary button9.92:1AAA
Secondary button7.35:1AAA
Muted text7.29:1AAA
Accent7.35:1AAA
Destructive6.00:1AA
Dark mode
Text on background20.62:1AAA
Text on card20.62:1AAA
Primary button9.92:1AAA
Secondary button8.70:1AAA
Muted text7.58:1AAA
Accent8.70:1AAA
Destructive6.46:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.987 0.004 132.392);
  --foreground: oklch(0.18 0.035 133.081);
  --muted: oklch(0.897 0.024 132.561);
  --muted-foreground: oklch(0.384 0.007 132.503);
  --popover: oklch(0.987 0.004 132.392);
  --popover-foreground: oklch(0.18 0.035 133.081);
  --card: oklch(0.987 0.004 132.392);
  --card-foreground: oklch(0.18 0.035 133.081);
  --border: oklch(0.95 0.006 132.408);
  --input: oklch(0.95 0.006 132.408);
  --primary: oklch(0.838 0.119 133.594);
  --primary-foreground: oklch(0.251 0.051 134.433);
  --secondary: oklch(0.885 0.001 132.368);
  --secondary-foreground: oklch(0.372 0.002 132.406);
  --accent: oklch(0.885 0.001 132.368);
  --accent-foreground: oklch(0.372 0.002 132.406);
  --destructive: oklch(0.523 0.198 32.008);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.838 0.119 133.594);
  --chart-1: oklch(0.838 0.119 133.594);
  --chart-2: oklch(0.885 0.001 132.368);
  --chart-3: oklch(0.885 0.001 132.368);
  --chart-4: oklch(0.908 0.001 132.366);
  --chart-5: oklch(0.843 0.125 133.667);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.096 0.009 131.526);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.288 0.031 133.252);
  --muted-foreground: oklch(0.801 0.006 132.416);
  --popover: oklch(0.096 0.009 131.526);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.096 0.009 131.526);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.234 0.014 132.822);
  --input: oklch(0.234 0.014 132.822);
  --primary: oklch(0.838 0.119 133.594);
  --primary-foreground: oklch(0.251 0.051 134.433);
  --secondary: oklch(0.224 0.015 132.882);
  --secondary-foreground: oklch(0.783 0.033 132.681);
  --accent: oklch(0.224 0.015 132.882);
  --accent-foreground: oklch(0.783 0.033 132.681);
  --destructive: oklch(0.673 0.216 33.151);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.838 0.119 133.594);
  --chart-1: oklch(0.838 0.119 133.594);
  --chart-2: oklch(0.224 0.015 132.882);
  --chart-3: oklch(0.224 0.015 132.882);
  --chart-4: oklch(0.259 0.019 132.929);
  --chart-5: oklch(0.843 0.125 133.667);
}