Greasy Light Mint for shadcn/ui

Greasy Light Mint is a shadcn/ui theme built around a vivid light green primary color (#aef9ae) with vivid light purple accents (#f9aef9). The light mode uses a neutral background (#f7fdf7). Dark mode keeps the vivid light green primary (#aef9ae) on a green-tinted background (#070d07).

Color palette

TokenLightDark
Background
#f7fdf7mintcream
#070d07black
Foreground
#020802black
#f5faf5whitesmoke
Card
#f3fcf3honeydew
#091109black
Card foreground
#010401black
#f8fbf8mintcream
Popover
#f3fcf3honeydew
#091109black
Popover foreground
#010401black
#f8fbf8mintcream
Primary
#aef9aepalegreen
#aef9aepalegreen
Primary foreground
#010e01black
#010e01black
Secondary
#f9aef9plum
#f9aef9plum
Secondary foreground
#6e086epurple
#6e086epurple
Muted
#eeddeelavender
#221122black
Muted foreground
#483c48darkslategray
#c3b7c3silver
Accent
#f9aef9plum
#f9aef9plum
Accent foreground
#6e086epurple
#6e086epurple
Destructive
#ca2816firebrick
#e83f2ccrimson
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e0e6e0gainsboro
#1b221bblack
Input
#e0e6e0gainsboro
#1b221bblack
Ring
#aef9aepalegreen
#aef9aepalegreen

Contrast

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

Light mode
Text on background19.56:1AAA
Text on card19.60:1AAA
Primary button15.97:1AAA
Secondary button6.48:1AA
Muted text8.05:1AAA
Accent6.48:1AA
Destructive5.48:1AA
Dark mode
Text on background18.54:1AAA
Text on card18.42:1AAA
Primary button15.97:1AAA
Secondary button6.48:1AA
Muted text9.28:1AAA
Accent6.48:1AA
Destructive4.07:1AA Large

CSS variables

Paste this into your globals.css to use Greasy Light Mint in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.987 0.009 145.504);
  --foreground: oklch(0.123 0.027 143.68);
  --muted: oklch(0.916 0.028 325.803);
  --muted-foreground: oklch(0.374 0.026 326.074);
  --popover: oklch(0.981 0.014 145.466);
  --popover-foreground: oklch(0.097 0.022 143.68);
  --card: oklch(0.981 0.014 145.466);
  --card-foreground: oklch(0.097 0.022 143.68);
  --border: oklch(0.919 0.012 145.481);
  --input: oklch(0.919 0.012 145.481);
  --primary: oklch(0.915 0.126 144.462);
  --primary-foreground: oklch(0.145 0.043 142.923);
  --secondary: oklch(0.846 0.13 326.651);
  --secondary-foreground: oklch(0.38 0.168 328.28);
  --accent: oklch(0.846 0.13 326.651);
  --accent-foreground: oklch(0.38 0.168 328.28);
  --destructive: oklch(0.545 0.199 30.51);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.915 0.126 144.462);
  --chart-1: oklch(0.915 0.126 144.462);
  --chart-2: oklch(0.846 0.13 326.651);
  --chart-3: oklch(0.846 0.13 326.651);
  --chart-4: oklch(0.872 0.107 326.447);
  --chart-5: oklch(0.917 0.13 144.426);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.151 0.017 144.649);
  --foreground: oklch(0.979 0.007 145.518);
  --muted: oklch(0.21 0.04 326.873);
  --muted-foreground: oklch(0.792 0.021 325.776);
  --popover: oklch(0.165 0.02 144.579);
  --popover-foreground: oklch(0.986 0.005 145.538);
  --card: oklch(0.165 0.02 144.579);
  --card-foreground: oklch(0.986 0.005 145.538);
  --border: oklch(0.243 0.017 145.016);
  --input: oklch(0.243 0.017 145.016);
  --primary: oklch(0.915 0.126 144.462);
  --primary-foreground: oklch(0.145 0.043 142.923);
  --secondary: oklch(0.846 0.13 326.651);
  --secondary-foreground: oklch(0.38 0.168 328.28);
  --accent: oklch(0.846 0.13 326.651);
  --accent-foreground: oklch(0.38 0.168 328.28);
  --destructive: oklch(0.617 0.208 30.254);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.915 0.126 144.462);
  --chart-1: oklch(0.915 0.126 144.462);
  --chart-2: oklch(0.846 0.13 326.651);
  --chart-3: oklch(0.846 0.13 326.651);
  --chart-4: oklch(0.872 0.107 326.447);
  --chart-5: oklch(0.917 0.13 144.426);
}