False for shadcn/ui

False is a shadcn/ui theme built around a red primary color (#da8b8b) with teal accents (#8bdada). The light mode uses a neutral background (#ffffff). Dark mode keeps the red primary (#da8b8b) on a neutral background (#040202).

Color palette

TokenLightDark
Background
#ffffffwhite
#040202black
Foreground
#040101black
#f9f6f6whitesmoke
Card
#ffffffwhite
#040202black
Card foreground
#040101black
#f9f6f6whitesmoke
Popover
#ffffffwhite
#040202black
Popover foreground
#040101black
#f9f6f6whitesmoke
Primary
#da8b8bdarksalmon
#da8b8bdarksalmon
Primary foreground
#270c0cblack
#270c0cblack
Secondary
#8bdadaskyblue
#8bdadaskyblue
Secondary foreground
#0c2727black
#0c2727black
Muted
#d8eeeelavender
#112727black
Muted foreground
#435656darkslategray
#a9bcbcsilver
Accent
#8bdadaskyblue
#8bdadaskyblue
Accent foreground
#0c2727black
#0c2727black
Destructive
#631c09maroon
#ec5227chocolate
Destructive foreground
#f7b7a6lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#da8b8bdarksalmon
#da8b8bdarksalmon

Contrast

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

Light mode
Text on background20.79:1AAA
Text on card20.79:1AAA
Primary button7.04:1AAA
Secondary button9.80:1AAA
Muted text6.43:1AA
Accent9.80:1AAA
Destructive7.24:1AAA
Dark mode
Text on background19.31:1AAA
Text on card19.31:1AAA
Primary button7.04:1AAA
Secondary button9.80:1AAA
Muted text7.87:1AAA
Accent9.80:1AAA
Destructive3.61:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.078 0.021 23.097);
  --muted: oklch(0.933 0.024 196.754);
  --muted-foreground: oklch(0.438 0.024 196.295);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.078 0.021 23.097);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.078 0.021 23.097);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.718 0.096 19.682);
  --primary-foreground: oklch(0.199 0.044 21.877);
  --secondary: oklch(0.837 0.077 195.781);
  --secondary-foreground: oklch(0.251 0.032 195.317);
  --accent: oklch(0.837 0.077 195.781);
  --accent-foreground: oklch(0.251 0.032 195.317);
  --destructive: oklch(0.338 0.106 35.571);
  --destructive-foreground: oklch(0.835 0.079 36.035);
  --ring: oklch(0.718 0.096 19.682);
  --chart-1: oklch(0.718 0.096 19.682);
  --chart-2: oklch(0.837 0.077 195.781);
  --chart-3: oklch(0.837 0.077 195.781);
  --chart-4: oklch(0.852 0.07 195.914);
  --chart-5: oklch(0.716 0.102 19.871);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.085 0.01 19.328);
  --foreground: oklch(0.975 0.003 17.205);
  --muted: oklch(0.256 0.028 195.517);
  --muted-foreground: oklch(0.781 0.022 196.714);
  --popover: oklch(0.085 0.01 19.328);
  --popover-foreground: oklch(0.975 0.003 17.205);
  --card: oklch(0.085 0.01 19.328);
  --card-foreground: oklch(0.975 0.003 17.205);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.718 0.096 19.682);
  --primary-foreground: oklch(0.199 0.044 21.877);
  --secondary: oklch(0.837 0.077 195.781);
  --secondary-foreground: oklch(0.251 0.032 195.317);
  --accent: oklch(0.837 0.077 195.781);
  --accent-foreground: oklch(0.251 0.032 195.317);
  --destructive: oklch(0.644 0.198 35.666);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.718 0.096 19.682);
  --chart-1: oklch(0.718 0.096 19.682);
  --chart-2: oklch(0.837 0.077 195.781);
  --chart-3: oklch(0.837 0.077 195.781);
  --chart-4: oklch(0.852 0.07 195.914);
  --chart-5: oklch(0.716 0.102 19.871);
}