Mint Jelly Bug for shadcn/ui

Mint Jelly Bug is a shadcn/ui theme built around a teal primary color (#50cea6) with yellow accents (#cea650). The light mode uses a neutral background (#fbfefd). Dark mode keeps the teal primary (#50cea6) on a neutral background (#020303).

Color palette

TokenLightDark
Background
#fbfefdwhite
#020303black
Foreground
#000000black
#ffffffwhite
Card
#f7fdfbmintcream
#040706black
Card foreground
#000000black
#ffffffwhite
Popover
#fbfefdwhite
#020303black
Popover foreground
#000000black
#ffffffwhite
Primary
#50cea6mediumaquamarine
#50cea6mediumaquamarine
Primary foreground
#000000black
#000000black
Secondary
#a650cemediumorchid
#a650cemediumorchid
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#eae3edlavender
#19121cblack
Muted foreground
#665c6adimgray
#9e95a3darkgray
Accent
#cea650darkkhaki
#cea650darkkhaki
Accent foreground
#000000black
#000000black
Destructive
#650d0bmaroon
#ea4643tomato
Destructive foreground
#f6aeaclightpink
#ffffffwhite
Border
#e8edeclavender
#1f2825darkslategray
Input
#e8edeclavender
#1f2825darkslategray
Ring
#50cea6mediumaquamarine
#50cea6mediumaquamarine

Contrast

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

Light mode
Text on background20.67:1AAA
Text on card20.35:1AAA
Primary button10.68:1AAA
Secondary button4.51:1AA
Muted text5.05:1AA
Accent9.17:1AAA
Destructive7.16:1AAA
Dark mode
Text on background20.62:1AAA
Text on card20.26:1AAA
Primary button10.68:1AAA
Secondary button4.51:1AA
Muted text6.36:1AA
Accent9.17:1AAA
Destructive3.85:1AA Large

CSS variables

Paste this into your globals.css to use Mint Jelly Bug in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.003 175.524);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.924 0.015 315.357);
  --muted-foreground: oklch(0.49 0.025 315.215);
  --popover: oklch(0.994 0.003 175.524);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.988 0.006 175.431);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.942 0.006 175.427);
  --input: oklch(0.942 0.006 175.427);
  --primary: oklch(0.769 0.126 168.779);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.591 0.196 313.531);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.744 0.114 84.414);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.328 0.121 27.777);
  --destructive-foreground: oklch(0.818 0.085 20.167);
  --ring: oklch(0.769 0.126 168.779);
  --chart-1: oklch(0.769 0.126 168.779);
  --chart-2: oklch(0.591 0.196 313.531);
  --chart-3: oklch(0.744 0.114 84.414);
  --chart-4: oklch(0.616 0.184 313.835);
  --chart-5: oklch(0.777 0.131 168.425);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.096 0.007 175.742);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.195 0.022 314.936);
  --muted-foreground: oklch(0.681 0.023 315.286);
  --popover: oklch(0.096 0.007 175.742);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.121 0.009 175.742);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.268 0.014 173.982);
  --input: oklch(0.268 0.014 173.982);
  --primary: oklch(0.769 0.126 168.779);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.591 0.196 313.531);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.744 0.114 84.414);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.63 0.202 25.909);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.769 0.126 168.779);
  --chart-1: oklch(0.769 0.126 168.779);
  --chart-2: oklch(0.591 0.196 313.531);
  --chart-3: oklch(0.744 0.114 84.414);
  --chart-4: oklch(0.616 0.184 313.835);
  --chart-5: oklch(0.777 0.131 168.425);
}