Mound for shadcn/ui

Mound is a shadcn/ui theme built around a green primary color (#59a136) with pink accents (#a13659). The light mode uses a neutral background (#ffffff). Dark mode keeps the green primary (#59a136) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#0a1603black
#ffffffwhite
Card
#ffffffwhite
#000000black
Card foreground
#0a1603black
#ffffffwhite
Popover
#ffffffwhite
#000000black
Popover foreground
#0a1603black
#ffffffwhite
Primary
#59a136olivedrab
#59a136olivedrab
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#3659a1darkslateblue
#3659a1darkslateblue
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#e0e2e6gainsboro
#191b1fblack
Muted foreground
#393f4cdarkslategray
#b3bac6silver
Accent
#a13659brown
#a13659brown
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#920e0cdarkred
#ef3c39crimson
Destructive foreground
#fcd5d5mistyrose
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#59a136olivedrab
#59a136olivedrab

Contrast

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

Light mode
Text on background18.60:1AAA
Text on card18.60:1AAA
Primary button3.20:1AA Large
Secondary button6.76:1AA
Muted text8.14:1AAA
Accent6.61:1AA
Destructive6.80:1AA
Dark mode
Text on background21.00:1AAA
Text on card21.00:1AAA
Primary button3.20:1AA Large
Secondary button6.76:1AA
Muted text8.82:1AAA
Accent6.61:1AA
Destructive3.90:1AA Large

CSS variables

Paste this into your globals.css to use Mound in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.183 0.042 134.85);
  --muted: oklch(0.912 0.005 264.532);
  --muted-foreground: oklch(0.368 0.023 264.24);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.183 0.042 134.85);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.183 0.042 134.85);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.638 0.159 136.906);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.476 0.123 262.651);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.496 0.144 3.52);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.421 0.164 28.556);
  --destructive-foreground: oklch(0.906 0.043 19.127);
  --ring: oklch(0.638 0.159 136.906);
  --chart-1: oklch(0.638 0.159 136.906);
  --chart-2: oklch(0.476 0.123 262.651);
  --chart-3: oklch(0.496 0.144 3.52);
  --chart-4: oklch(0.499 0.13 262.636);
  --chart-5: oklch(0.646 0.166 137.064);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.222 0.008 264.404);
  --muted-foreground: oklch(0.787 0.019 264.46);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0 0 0);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.638 0.159 136.906);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.476 0.123 262.651);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.496 0.144 3.52);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.628 0.216 26.751);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.638 0.159 136.906);
  --chart-1: oklch(0.638 0.159 136.906);
  --chart-2: oklch(0.476 0.123 262.651);
  --chart-3: oklch(0.496 0.144 3.52);
  --chart-4: oklch(0.499 0.13 262.636);
  --chart-5: oklch(0.646 0.166 137.064);
}