Weekend Gardener Slug for shadcn/ui

Weekend Gardener Slug is a shadcn/ui theme built around a light green primary color (#a5e9ad) with light red accents (#e9ada5). The light mode uses a neutral background (#ffffff). Dark mode keeps the light green primary (#a5e9ad) on a neutral background (#020803).

Color palette

TokenLightDark
Background
#ffffffwhite
#020803black
Foreground
#031105black
#ffffffwhite
Card
#fcfcfcsnow
#030c04black
Card foreground
#020d04black
#ffffffwhite
Popover
#ffffffwhite
#020803black
Popover foreground
#031105black
#ffffffwhite
Primary
#a5e9adpalegreen
#a5e9adpalegreen
Primary foreground
#124a18darkgreen
#124a18darkgreen
Secondary
#ada5e9lightsteelblue
#ada5e9lightsteelblue
Secondary foreground
#18124amidnightblue
#18124amidnightblue
Muted
#efeef6whitesmoke
#0a0911black
Muted foreground
#444446darkslategray
#bab9bbsilver
Accent
#e9ada5burlywood
#e9ada5burlywood
Accent foreground
#4a1812maroon
#4a1812maroon
Destructive
#a82400firebrick
#e63200orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e8eee8linen
#1c261dblack
Input
#e8eee8linen
#1c261dblack
Ring
#a5e9adpalegreen
#a5e9adpalegreen

Contrast

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

Light mode
Text on background19.33:1AAA
Text on card19.35:1AAA
Primary button7.36:1AAA
Secondary button7.60:1AAA
Muted text8.44:1AAA
Accent7.66:1AAA
Destructive7.16:1AAA
Dark mode
Text on background20.22:1AAA
Text on card19.84:1AAA
Primary button7.36:1AAA
Secondary button7.60:1AAA
Muted text10.16:1AAA
Accent7.66:1AAA
Destructive4.37:1AA Large

CSS variables

Paste this into your globals.css to use Weekend Gardener Slug in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.16 0.036 147.167);
  --muted: oklch(0.952 0.011 291.556);
  --muted-foreground: oklch(0.388 0.002 291.668);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.16 0.036 147.167);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.142 0.031 147.546);
  --border: oklch(0.942 0.01 149.012);
  --input: oklch(0.942 0.01 149.012);
  --primary: oklch(0.873 0.108 147.553);
  --primary-foreground: oklch(0.36 0.098 144.976);
  --secondary: oklch(0.753 0.098 289.173);
  --secondary-foreground: oklch(0.233 0.099 280.766);
  --accent: oklch(0.801 0.072 27.305);
  --accent-foreground: oklch(0.288 0.077 30.04);
  --destructive: oklch(0.478 0.172 33.955);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.873 0.108 147.553);
  --chart-1: oklch(0.873 0.108 147.553);
  --chart-2: oklch(0.753 0.098 289.173);
  --chart-3: oklch(0.801 0.072 27.305);
  --chart-4: oklch(0.787 0.084 289.678);
  --chart-5: oklch(0.876 0.113 147.477);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.122 0.021 147.959);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.143 0.018 289.512);
  --muted-foreground: oklch(0.788 0.002 291.733);
  --popover: oklch(0.122 0.021 147.959);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.14 0.025 147.905);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.256 0.022 148.092);
  --input: oklch(0.256 0.022 148.092);
  --primary: oklch(0.873 0.108 147.553);
  --primary-foreground: oklch(0.36 0.098 144.976);
  --secondary: oklch(0.753 0.098 289.173);
  --secondary-foreground: oklch(0.233 0.099 280.766);
  --accent: oklch(0.801 0.072 27.305);
  --accent-foreground: oklch(0.288 0.077 30.04);
  --destructive: oklch(0.6 0.22 33.345);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.873 0.108 147.553);
  --chart-1: oklch(0.873 0.108 147.553);
  --chart-2: oklch(0.753 0.098 289.173);
  --chart-3: oklch(0.801 0.072 27.305);
  --chart-4: oklch(0.787 0.084 289.678);
  --chart-5: oklch(0.876 0.113 147.477);
}