False for shadcn/ui

False is a shadcn/ui theme built around a muted green primary color (#aeb9ac) with muted light green accents (#d5ddd4). The light mode uses a neutral background (#fcfdfc). Dark mode keeps the muted green primary (#aeb9ac) on a neutral background (#020401).

Color palette

TokenLightDark
Background
#fcfdfcwhite
#020401black
Foreground
#060f05black
#f9fbf9mintcream
Card
#fcfdfcwhite
#020401black
Card foreground
#060f05black
#f9fbf9mintcream
Popover
#fcfdfcwhite
#020401black
Popover foreground
#060f05black
#f9fbf9mintcream
Primary
#aeb9acdarkgray
#aeb9acdarkgray
Primary foreground
#181c17black
#181c17black
Secondary
#d5ddd4lightgrey
#131712black
Secondary foreground
#3a4738darkslategray
#a7b6a4darkgray
Muted
#e9f3e7beige
#0e180cblack
Muted foreground
#485946darkslategray
#a9b9a6darkgray
Accent
#d5ddd4lightgrey
#131712black
Accent foreground
#3a4738darkslategray
#a7b6a4darkgray
Destructive
#720904maroon
#f8352aorangered
Destructive foreground
#fcafablightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#aeb9acdarkgray
#aeb9acdarkgray

Contrast

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

Light mode
Text on background19.12:1AAA
Text on card19.12:1AAA
Primary button8.46:1AAA
Secondary button7.09:1AAA
Muted text6.59:1AA
Accent7.09:1AAA
Destructive6.76:1AA
Dark mode
Text on background19.80:1AAA
Text on card19.80:1AAA
Primary button8.46:1AAA
Secondary button8.53:1AAA
Muted text8.84:1AAA
Accent8.53:1AAA
Destructive3.78:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.993 0.003 141.585);
  --foreground: oklch(0.157 0.027 140.303);
  --muted: oklch(0.953 0.018 141.538);
  --muted-foreground: oklch(0.442 0.037 141.36);
  --popover: oklch(0.993 0.003 141.585);
  --popover-foreground: oklch(0.157 0.027 140.303);
  --card: oklch(0.993 0.003 141.585);
  --card-foreground: oklch(0.157 0.027 140.303);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.773 0.021 141.517);
  --primary-foreground: oklch(0.219 0.009 141.47);
  --secondary: oklch(0.89 0.015 141.545);
  --secondary-foreground: oklch(0.383 0.031 141.367);
  --accent: oklch(0.89 0.015 141.545);
  --accent-foreground: oklch(0.383 0.031 141.367);
  --destructive: oklch(0.352 0.137 29.744);
  --destructive-foreground: oklch(0.827 0.092 22.584);
  --ring: oklch(0.773 0.021 141.517);
  --chart-1: oklch(0.773 0.021 141.517);
  --chart-2: oklch(0.89 0.015 141.545);
  --chart-3: oklch(0.89 0.015 141.545);
  --chart-4: oklch(0.912 0.012 141.555);
  --chart-5: oklch(0.776 0.029 141.489);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.098 0.017 139.923);
  --foreground: oklch(0.986 0.004 141.582);
  --muted: oklch(0.193 0.027 141.218);
  --muted-foreground: oklch(0.769 0.032 141.474);
  --popover: oklch(0.098 0.017 139.923);
  --popover-foreground: oklch(0.986 0.004 141.582);
  --card: oklch(0.098 0.017 139.923);
  --card-foreground: oklch(0.986 0.004 141.582);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.773 0.021 141.517);
  --primary-foreground: oklch(0.219 0.009 141.47);
  --secondary: oklch(0.197 0.011 141.439);
  --secondary-foreground: oklch(0.76 0.031 141.479);
  --accent: oklch(0.197 0.011 141.439);
  --accent-foreground: oklch(0.76 0.031 141.479);
  --destructive: oklch(0.638 0.231 28.745);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.773 0.021 141.517);
  --chart-1: oklch(0.773 0.021 141.517);
  --chart-2: oklch(0.197 0.011 141.439);
  --chart-3: oklch(0.197 0.011 141.439);
  --chart-4: oklch(0.232 0.014 141.421);
  --chart-5: oklch(0.776 0.029 141.489);
}