Green Glint Stoat for shadcn/ui

Green Glint Stoat is a shadcn/ui theme built around a light green primary color (#def4cd) with light green accents (#cdf4cf). The light mode uses a neutral background (#fcfefb). Dark mode keeps the light green primary (#def4cd) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fcfefbwhite
#000000black
Foreground
#070c04black
#fafbf9snow
Card
#fafcf8snow
#030303black
Card foreground
#050802black
#fcfdfcwhite
Popover
#fcfefbwhite
#000000black
Popover foreground
#070c04black
#fafbf9snow
Primary
#def4cdbeige
#def4cdbeige
Primary foreground
#132107black
#132107black
Secondary
#f1f4cdlightgoldenrodyellow
#f1f4cdlightgoldenrodyellow
Secondary foreground
#202107black
#202107black
Muted
#f2f3e7linen
#17180cblack
Muted foreground
#565742darkolivegreen
#bcbda8silver
Accent
#cdf4cfgainsboro
#cdf4cfgainsboro
Accent foreground
#072109black
#072109black
Destructive
#cb4106chocolate
#e44907orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#eaece9linen
#1c1e1ablack
Input
#eaece9linen
#1c1e1ablack
Ring
#def4cdbeige
#def4cdbeige

Contrast

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

Light mode
Text on background19.43:1AAA
Text on card19.52:1AAA
Primary button14.35:1AAA
Secondary button14.48:1AAA
Muted text6.60:1AA
Accent14.16:1AAA
Destructive4.88:1AA
Dark mode
Text on background20.23:1AAA
Text on card20.28:1AAA
Primary button14.35:1AAA
Secondary button14.48:1AAA
Muted text9.39:1AAA
Accent14.16:1AAA
Destructive4.00:1AA Large

CSS variables

Paste this into your globals.css to use Green Glint Stoat in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.003 131.113);
  --foreground: oklch(0.144 0.022 129.944);
  --muted: oklch(0.96 0.015 109.77);
  --muted-foreground: oklch(0.45 0.033 110.825);
  --popover: oklch(0.994 0.003 131.113);
  --popover-foreground: oklch(0.144 0.022 129.944);
  --card: oklch(0.988 0.006 131.142);
  --card-foreground: oklch(0.126 0.019 129.797);
  --border: oklch(0.941 0.005 131.129);
  --input: oklch(0.941 0.005 131.129);
  --primary: oklch(0.941 0.057 131.632);
  --primary-foreground: oklch(0.229 0.05 133.563);
  --secondary: oklch(0.955 0.051 110.456);
  --secondary-foreground: oklch(0.241 0.043 112.699);
  --accent: oklch(0.93 0.064 146.841);
  --accent-foreground: oklch(0.222 0.055 144.699);
  --destructive: oklch(0.568 0.183 38.074);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.941 0.057 131.632);
  --chart-1: oklch(0.941 0.057 131.632);
  --chart-2: oklch(0.955 0.051 110.456);
  --chart-3: oklch(0.93 0.064 146.841);
  --chart-4: oklch(0.966 0.038 110.21);
  --chart-5: oklch(0.942 0.059 131.657);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.987 0.004 131.118);
  --muted: oklch(0.202 0.021 111.375);
  --muted-foreground: oklch(0.792 0.03 110.163);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.987 0.004 131.118);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(0.993 0.002 131.101);
  --border: oklch(0.232 0.009 131.441);
  --input: oklch(0.232 0.009 131.441);
  --primary: oklch(0.941 0.057 131.632);
  --primary-foreground: oklch(0.229 0.05 133.563);
  --secondary: oklch(0.955 0.051 110.456);
  --secondary-foreground: oklch(0.241 0.043 112.699);
  --accent: oklch(0.93 0.064 146.841);
  --accent-foreground: oklch(0.222 0.055 144.699);
  --destructive: oklch(0.618 0.2 37.862);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.941 0.057 131.632);
  --chart-1: oklch(0.941 0.057 131.632);
  --chart-2: oklch(0.955 0.051 110.456);
  --chart-3: oklch(0.93 0.064 146.841);
  --chart-4: oklch(0.966 0.038 110.21);
  --chart-5: oklch(0.942 0.059 131.657);
}