Walking for shadcn/ui

Walking is a shadcn/ui theme built around a vivid deep green primary color (#298807) with vivid deep pink accents (#880729). The light mode uses a neutral background (#fcfdfc). Dark mode keeps the vivid deep green primary (#298807) on a green-tinted background (#081005).

Color palette

TokenLightDark
Background
#fcfdfcwhite
#081005black
Foreground
#071103black
#fcfdfcwhite
Card
#fcfdfcwhite
#081005black
Card foreground
#071103black
#fcfdfcwhite
Popover
#fcfdfcwhite
#081005black
Popover foreground
#071103black
#fcfdfcwhite
Primary
#298807forestgreen
#298807forestgreen
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#072988midnightblue
#072988midnightblue
Secondary foreground
#c5d4fcpowderblue
#c5d4fcpowderblue
Muted
#ccd3e6lightgrey
#192033darkslategray
Muted foreground
#555962dimgray
#9da0aadarkgray
Accent
#880729darkred
#880729darkred
Accent foreground
#fcc5d4pink
#fcc5d4pink
Destructive
#882a02saddlebrown
#fc6e31tomato
Destructive foreground
#fed1bepeachpuff
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#298807forestgreen
#298807forestgreen

Contrast

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

Light mode
Text on background18.91:1AAA
Text on card18.91:1AAA
Primary button4.56:1AA
Secondary button8.42:1AAA
Muted text4.67:1AA
Accent6.68:1AA
Destructive6.34:1AA
Dark mode
Text on background19.01:1AAA
Text on card19.01:1AAA
Primary button4.56:1AA
Secondary button8.42:1AAA
Muted text6.19:1AA
Accent6.68:1AA
Destructive7.40:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.993 0.002 137.195);
  --foreground: oklch(0.162 0.034 136.017);
  --muted: oklch(0.866 0.027 269.834);
  --muted-foreground: oklch(0.464 0.016 269.809);
  --popover: oklch(0.993 0.002 137.195);
  --popover-foreground: oklch(0.162 0.034 136.017);
  --card: oklch(0.993 0.002 137.195);
  --card-foreground: oklch(0.162 0.034 136.017);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.549 0.174 140.039);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.336 0.161 263.915);
  --secondary-foreground: oklch(0.871 0.058 269.446);
  --accent: oklch(0.401 0.156 16.095);
  --accent-foreground: oklch(0.876 0.065 0.832);
  --destructive: oklch(0.424 0.135 38.827);
  --destructive-foreground: oklch(0.894 0.057 44.448);
  --ring: oklch(0.549 0.174 140.039);
  --chart-1: oklch(0.549 0.174 140.039);
  --chart-2: oklch(0.336 0.161 263.915);
  --chart-3: oklch(0.401 0.156 16.095);
  --chart-4: oklch(0.36 0.174 263.902);
  --chart-5: oklch(0.555 0.177 140.151);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.158 0.026 136.268);
  --foreground: oklch(0.993 0.001 137.192);
  --muted: oklch(0.247 0.038 268.301);
  --muted-foreground: oklch(0.707 0.014 269.946);
  --popover: oklch(0.158 0.026 136.268);
  --popover-foreground: oklch(0.993 0.001 137.192);
  --card: oklch(0.158 0.026 136.268);
  --card-foreground: oklch(0.993 0.001 137.192);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.549 0.174 140.039);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.336 0.161 263.915);
  --secondary-foreground: oklch(0.871 0.058 269.446);
  --accent: oklch(0.401 0.156 16.095);
  --accent-foreground: oklch(0.876 0.065 0.832);
  --destructive: oklch(0.703 0.188 41.401);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.549 0.174 140.039);
  --chart-1: oklch(0.549 0.174 140.039);
  --chart-2: oklch(0.336 0.161 263.915);
  --chart-3: oklch(0.401 0.156 16.095);
  --chart-4: oklch(0.36 0.174 263.902);
  --chart-5: oklch(0.555 0.177 140.151);
}