Smell the Mint Bonobo for shadcn/ui

Smell the Mint Bonobo is a shadcn/ui theme built around a vivid light green primary color (#c6fbd4) with vivid light purple accents (#fbc6ed). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid light green primary (#c6fbd4) on a green-tinted background (#050f08).

Color palette

TokenLightDark
Background
#ffffffwhite
#050f08black
Foreground
#020e05black
#f9fbf9mintcream
Card
#fcfcfcsnow
#07130ablack
Card foreground
#010903black
#fcfdfcwhite
Popover
#ffffffwhite
#050f08black
Popover foreground
#020e05black
#f9fbf9mintcream
Primary
#c6fbd4paleturquoise
#c6fbd4paleturquoise
Primary foreground
#03260cblack
#03260cblack
Secondary
#fbc6edmistyrose
#fbc6edmistyrose
Secondary foreground
#850a64purple
#850a64purple
Muted
#f1eef0whitesmoke
#110e10black
Muted foreground
#51434ddarkslategray
#bcaeb9silver
Accent
#fbc6edmistyrose
#fbc6edmistyrose
Accent foreground
#850a64purple
#850a64purple
Destructive
#770d09maroon
#ef2c25crimson
Destructive foreground
#fabab8lightpink
#ffffffwhite
Border
#e7e9e7lavender
#1d201eblack
Input
#e7e9e7lavender
#1d201eblack
Ring
#c6fbd4paleturquoise
#c6fbd4paleturquoise

Contrast

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

Light mode
Text on background19.67:1AAA
Text on card19.72:1AAA
Primary button14.08:1AAA
Secondary button6.47:1AA
Muted text8.07:1AAA
Accent6.47:1AA
Destructive6.95:1AA
Dark mode
Text on background18.72:1AAA
Text on card18.64:1AAA
Primary button14.08:1AAA
Secondary button6.47:1AA
Muted text9.05:1AAA
Accent6.47:1AA
Destructive4.17:1AA Large

CSS variables

Paste this into your globals.css to use Smell the Mint Bonobo in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.145 0.031 153.291);
  --muted: oklch(0.952 0.005 334.617);
  --muted-foreground: oklch(0.4 0.027 335.646);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.145 0.031 153.291);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.126 0.027 153.688);
  --border: oklch(0.933 0.004 154.452);
  --input: oklch(0.933 0.004 154.452);
  --primary: oklch(0.941 0.075 153.03);
  --primary-foreground: oklch(0.236 0.062 148.763);
  --secondary: oklch(0.885 0.078 335.989);
  --secondary-foreground: oklch(0.417 0.172 342.994);
  --accent: oklch(0.885 0.078 335.989);
  --accent-foreground: oklch(0.417 0.172 342.994);
  --destructive: oklch(0.364 0.139 28.771);
  --destructive-foreground: oklch(0.847 0.074 20.993);
  --ring: oklch(0.941 0.075 153.03);
  --chart-1: oklch(0.941 0.075 153.03);
  --chart-2: oklch(0.885 0.078 335.989);
  --chart-3: oklch(0.885 0.078 335.989);
  --chart-4: oklch(0.913 0.058 335.595);
  --chart-5: oklch(0.942 0.077 152.978);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.155 0.022 153.198);
  --foreground: oklch(0.986 0.003 154.475);
  --muted: oklch(0.167 0.008 335.294);
  --muted-foreground: oklch(0.765 0.023 335.035);
  --popover: oklch(0.155 0.022 153.198);
  --popover-foreground: oklch(0.986 0.003 154.475);
  --card: oklch(0.171 0.026 152.166);
  --card-foreground: oklch(0.993 0.001 154.502);
  --border: oklch(0.241 0.007 153.971);
  --input: oklch(0.241 0.007 153.971);
  --primary: oklch(0.941 0.075 153.03);
  --primary-foreground: oklch(0.236 0.062 148.763);
  --secondary: oklch(0.885 0.078 335.989);
  --secondary-foreground: oklch(0.417 0.172 342.994);
  --accent: oklch(0.885 0.078 335.989);
  --accent-foreground: oklch(0.417 0.172 342.994);
  --destructive: oklch(0.614 0.228 28.448);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.941 0.075 153.03);
  --chart-1: oklch(0.941 0.075 153.03);
  --chart-2: oklch(0.885 0.078 335.989);
  --chart-3: oklch(0.885 0.078 335.989);
  --chart-4: oklch(0.913 0.058 335.595);
  --chart-5: oklch(0.942 0.077 152.978);
}