Cactus Water Mule for shadcn/ui

Cactus Water Mule is a shadcn/ui theme built around a light green primary color (#cef8e2) with light teal accents (#cef8f7). The light mode uses a neutral background (#fbfefc). Dark mode keeps the light green primary (#cef8e2) on a neutral background (#010402).

Color palette

TokenLightDark
Background
#fbfefcwhite
#010402black
Foreground
#04100ablack
#ffffffwhite
Card
#f7fdfamintcream
#020805black
Card foreground
#030c08black
#ffffffwhite
Popover
#f7fdfamintcream
#020805black
Popover foreground
#030c08black
#ffffffwhite
Primary
#cef8e2gainsboro
#cef8e2gainsboro
Primary foreground
#062816black
#062816black
Secondary
#cff8cegainsboro
#cff8cegainsboro
Secondary foreground
#062806black
#062806black
Muted
#d4e3d4gainsboro
#1c2b1cblack
Muted foreground
#4d5c4ddarkslategray
#a4b2a3darkgray
Accent
#cef8f7lightcyan
#cef8f7lightcyan
Accent foreground
#062828black
#062828black
Destructive
#761b04maroon
#e23408orangered
Destructive foreground
#fcbfb0lightpink
#ffffffwhite
Border
#e7e9e8lavender
#1d201fblack
Input
#e7e9e8lavender
#1d201fblack
Ring
#cef8e2gainsboro
#cef8e2gainsboro

Contrast

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

Light mode
Text on background19.09:1AAA
Text on card19.23:1AAA
Primary button13.71:1AAA
Secondary button13.66:1AAA
Muted text5.32:1AA
Accent13.70:1AAA
Destructive6.84:1AA
Dark mode
Text on background20.58:1AAA
Text on card20.19:1AAA
Primary button13.71:1AAA
Secondary button13.66:1AAA
Muted text6.69:1AA
Accent13.70:1AAA
Destructive4.43:1AA Large

CSS variables

Paste this into your globals.css to use Cactus Water Mule in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.004 164.18);
  --foreground: oklch(0.159 0.023 162.22);
  --muted: oklch(0.9 0.026 144.899);
  --muted-foreground: oklch(0.456 0.03 144.619);
  --popover: oklch(0.989 0.008 164.072);
  --popover-foreground: oklch(0.142 0.02 164.048);
  --card: oklch(0.989 0.008 164.072);
  --card-foreground: oklch(0.142 0.02 164.048);
  --border: oklch(0.933 0.003 164.206);
  --input: oklch(0.933 0.003 164.206);
  --primary: oklch(0.944 0.052 162.772);
  --primary-foreground: oklch(0.247 0.052 156.61);
  --secondary: oklch(0.939 0.071 144.556);
  --secondary-foreground: oklch(0.244 0.071 142.744);
  --accent: oklch(0.949 0.043 195.199);
  --accent-foreground: oklch(0.253 0.038 193.391);
  --destructive: oklch(0.374 0.129 34.244);
  --destructive-foreground: oklch(0.857 0.074 34.458);
  --ring: oklch(0.944 0.052 162.772);
  --chart-1: oklch(0.944 0.052 162.772);
  --chart-2: oklch(0.939 0.071 144.556);
  --chart-3: oklch(0.949 0.043 195.199);
  --chart-4: oklch(0.955 0.051 144.716);
  --chart-5: oklch(0.945 0.054 162.711);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.098 0.014 164.4);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.271 0.034 144.177);
  --muted-foreground: oklch(0.749 0.027 144.844);
  --popover: oklch(0.124 0.017 164.4);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.124 0.017 164.4);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.24 0.005 163.692);
  --input: oklch(0.24 0.005 163.692);
  --primary: oklch(0.944 0.052 162.772);
  --primary-foreground: oklch(0.247 0.052 156.61);
  --secondary: oklch(0.939 0.071 144.556);
  --secondary-foreground: oklch(0.244 0.071 142.744);
  --accent: oklch(0.949 0.043 195.199);
  --accent-foreground: oklch(0.253 0.038 193.391);
  --destructive: oklch(0.597 0.215 33.247);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.944 0.052 162.772);
  --chart-1: oklch(0.944 0.052 162.772);
  --chart-2: oklch(0.939 0.071 144.556);
  --chart-3: oklch(0.949 0.043 195.199);
  --chart-4: oklch(0.955 0.051 144.716);
  --chart-5: oklch(0.945 0.054 162.711);
}