Fall for shadcn/ui

Fall is a shadcn/ui theme built around a vivid green primary color (#7fed35) with vivid violet accents (#a435ed). The light mode uses a neutral background (#fcfdfb). Dark mode keeps the vivid green primary (#7fed35) on a green-tinted background (#070a05).

Color palette

TokenLightDark
Background
#fcfdfbsnow
#070a05black
Foreground
#091004black
#f7faf4whitesmoke
Card
#fcfdfbsnow
#070a05black
Card foreground
#091004black
#f7faf4whitesmoke
Popover
#fcfdfbsnow
#070a05black
Popover foreground
#091004black
#f7faf4whitesmoke
Primary
#7fed35yellowgreen
#7fed35yellowgreen
Primary foreground
#245007darkgreen
#245007darkgreen
Secondary
#a435edblueviolet
#a435edblueviolet
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#e7ddeelavender
#1b1122black
Muted foreground
#695874dimgray
#9c8ba7darkgray
Accent
#a435edblueviolet
#a435edblueviolet
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#79340csaddlebrown
#da5e16chocolate
Destructive foreground
#f9d3bepeachpuff
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#7fed35yellowgreen
#7fed35yellowgreen

Contrast

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

Light mode
Text on background18.98:1AAA
Text on card18.98:1AAA
Primary button6.34:1AA
Secondary button4.86:1AA
Muted text4.92:1AA
Accent4.86:1AA
Destructive6.55:1AA
Dark mode
Text on background18.88:1AAA
Text on card18.88:1AAA
Primary button6.34:1AA
Secondary button4.86:1AA
Muted text5.78:1AA
Accent4.86:1AA
Destructive3.76:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.003 132.379);
  --foreground: oklch(0.162 0.029 132.005);
  --muted: oklch(0.911 0.024 312.16);
  --muted-foreground: oklch(0.487 0.049 311.603);
  --popover: oklch(0.994 0.003 132.379);
  --popover-foreground: oklch(0.162 0.029 132.005);
  --card: oklch(0.994 0.003 132.379);
  --card-foreground: oklch(0.162 0.029 132.005);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.849 0.233 136.126);
  --primary-foreground: oklch(0.384 0.11 136.522);
  --secondary: oklch(0.582 0.257 307.104);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.582 0.257 307.104);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.413 0.108 45.685);
  --destructive-foreground: oklch(0.894 0.051 51.856);
  --ring: oklch(0.849 0.233 136.126);
  --chart-1: oklch(0.849 0.233 136.126);
  --chart-2: oklch(0.582 0.257 307.104);
  --chart-3: oklch(0.582 0.257 307.104);
  --chart-4: oklch(0.604 0.246 307.978);
  --chart-5: oklch(0.856 0.239 136.282);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.139 0.014 131.475);
  --foreground: oklch(0.982 0.009 132.427);
  --muted: oklch(0.2 0.035 311.025);
  --muted-foreground: oklch(0.661 0.046 311.843);
  --popover: oklch(0.139 0.014 131.475);
  --popover-foreground: oklch(0.982 0.009 132.427);
  --card: oklch(0.139 0.014 131.475);
  --card-foreground: oklch(0.982 0.009 132.427);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.849 0.233 136.126);
  --primary-foreground: oklch(0.384 0.11 136.522);
  --secondary: oklch(0.582 0.257 307.104);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.582 0.257 307.104);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.629 0.173 44.525);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.849 0.233 136.126);
  --chart-1: oklch(0.849 0.233 136.126);
  --chart-2: oklch(0.582 0.257 307.104);
  --chart-3: oklch(0.582 0.257 307.104);
  --chart-4: oklch(0.604 0.246 307.978);
  --chart-5: oklch(0.856 0.239 136.282);
}