Snarky Mint Felidae for shadcn/ui

Snarky Mint Felidae is a shadcn/ui theme built around a green primary color (#a1dd7e) with muted light green accents (#ccd8c5). The light mode uses a neutral background (#ffffff). Dark mode keeps the green primary (#a1dd7e) on a neutral background (#020302).

Color palette

TokenLightDark
Background
#ffffffwhite
#020302black
Foreground
#081103black
#f9fcf8mintcream
Card
#ffffffwhite
#020302black
Card foreground
#081103black
#f9fcf8mintcream
Popover
#ffffffwhite
#020302black
Popover foreground
#081103black
#f9fcf8mintcream
Primary
#a1dd7elightgreen
#a1dd7elightgreen
Primary foreground
#112009black
#112009black
Secondary
#e7ebe5beige
#20261cblack
Secondary foreground
#4d5946darkolivegreen
#b7c4b0silver
Muted
#dfe6dbgainsboro
#1d2419black
Muted foreground
#595c57dimgray
#a5a8a3darkgray
Accent
#ccd8c5lightgrey
#34462adarkslategray
Accent foreground
#33402bdarkslategray
#ceddc6lightgrey
Destructive
#671e0amaroon
#ed623btomato
Destructive foreground
#f7bcablightpink
#000000black
Border
#f0f0efwhitesmoke
#242423black
Input
#f0f0efwhitesmoke
#242423black
Ring
#a1dd7elightgreen
#a1dd7elightgreen

Contrast

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

Light mode
Text on background19.23:1AAA
Text on card19.23:1AAA
Primary button10.63:1AAA
Secondary button6.14:1AA
Muted text5.32:1AA
Accent7.42:1AAA
Destructive7.23:1AAA
Dark mode
Text on background19.94:1AAA
Text on card19.94:1AAA
Primary button10.63:1AAA
Secondary button8.50:1AAA
Muted text6.61:1AA
Accent7.17:1AAA
Destructive6.38:1AA

CSS variables

Paste this into your globals.css to use Snarky Mint Felidae in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.164 0.033 132.974);
  --muted: oklch(0.916 0.017 133.719);
  --muted-foreground: oklch(0.47 0.009 133.733);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.164 0.033 132.974);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.164 0.033 132.974);
  --border: oklch(0.955 0.001 133.612);
  --input: oklch(0.955 0.001 133.612);
  --primary: oklch(0.834 0.139 134.891);
  --primary-foreground: oklch(0.224 0.047 135.379);
  --secondary: oklch(0.935 0.008 133.661);
  --secondary-foreground: oklch(0.446 0.034 134.105);
  --accent: oklch(0.867 0.028 133.81);
  --accent-foreground: oklch(0.353 0.038 134.349);
  --destructive: oklch(0.348 0.109 35.561);
  --destructive-foreground: oklch(0.844 0.073 36.014);
  --ring: oklch(0.834 0.139 134.891);
  --chart-1: oklch(0.834 0.139 134.891);
  --chart-2: oklch(0.935 0.008 133.661);
  --chart-3: oklch(0.867 0.028 133.81);
  --chart-4: oklch(0.957 0.005 133.641);
  --chart-5: oklch(0.839 0.146 134.964);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.096 0.009 132.707);
  --foreground: oklch(0.987 0.005 133.638);
  --muted: oklch(0.25 0.023 134.212);
  --muted-foreground: oklch(0.729 0.009 133.679);
  --popover: oklch(0.096 0.009 132.707);
  --popover-foreground: oklch(0.987 0.005 133.638);
  --card: oklch(0.096 0.009 132.707);
  --card-foreground: oklch(0.987 0.005 133.638);
  --border: oklch(0.261 0.003 133.676);
  --input: oklch(0.261 0.003 133.676);
  --primary: oklch(0.834 0.139 134.891);
  --primary-foreground: oklch(0.224 0.047 135.379);
  --secondary: oklch(0.259 0.02 134.122);
  --secondary-foreground: oklch(0.806 0.032 133.858);
  --accent: oklch(0.371 0.051 134.606);
  --accent-foreground: oklch(0.879 0.035 133.857);
  --destructive: oklch(0.665 0.181 36.197);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.834 0.139 134.891);
  --chart-1: oklch(0.834 0.139 134.891);
  --chart-2: oklch(0.259 0.02 134.122);
  --chart-3: oklch(0.371 0.051 134.606);
  --chart-4: oklch(0.293 0.024 134.153);
  --chart-5: oklch(0.839 0.146 134.964);
}