False is a shadcn/ui theme built around a deep yellow primary color (#3f3b1c) with deep purple accents (#3b1c3f). The light mode uses a neutral background (#fbfbf8). Dark mode keeps the deep yellow primary (#3f3b1c) on a neutral background (#040301).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfbf8snow | #040301black |
| Foreground | #040401black | #fdfdfcwhite |
| Card | #faf9f5whitesmoke | #080703black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fbfbf8snow | #040301black |
| Popover foreground | #040401black | #fdfdfcwhite |
| Primary | #3f3b1cdarkolivegreen | #3f3b1cdarkolivegreen |
| Primary foreground | #dcd7b2wheat | #dcd7b2wheat |
| Secondary | #1c3f3bdarkslategray | #1c3f3bdarkslategray |
| Secondary foreground | #b2dcd7powderblue | #b2dcd7powderblue |
| Muted | #e4e7e7gainsboro | #181b1bblack |
| Muted foreground | #5b6765dimgray | #98a4a2darkgray |
| Accent | #3b1c3fdarkslategray | #3b1c3fdarkslategray |
| Accent foreground | #d7b2dcthistle | #d7b2dcthistle |
| Destructive | #9d2d0bsaddlebrown | #f1663btomato |
| Destructive foreground | #fde5demistyrose | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #3f3b1cdarkolivegreen | #3f3b1cdarkolivegreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.82:1 | AAA |
| Text on card | 19.92:1 | AAA |
| Primary button | 7.78:1 | AAA |
| Secondary button | 7.70:1 | AAA |
| Muted text | 4.73:1 | AA |
| Accent | 7.91:1 | AAA |
| Destructive | 6.17:1 | AA |
| Text on background | 20.21:1 | AAA |
| Text on card | 20.17:1 | AAA |
| Primary button | 7.78:1 | AAA |
| Secondary button | 7.70:1 | AAA |
| Muted text | 6.73:1 | AA |
| Accent | 7.91:1 | AAA |
| Destructive | 6.71:1 | AA |
Paste this into your globals.css to use False in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.004 99.394);
--foreground: oklch(0.102 0.013 102.951);
--muted: oklch(0.926 0.004 187.646);
--muted-foreground: oklch(0.502 0.014 187.03);
--popover: oklch(0.988 0.004 99.394);
--popover-foreground: oklch(0.102 0.013 102.951);
--card: oklch(0.982 0.005 99.42);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.348 0.047 100.687);
--primary-foreground: oklch(0.873 0.049 100.096);
--secondary: oklch(0.341 0.042 184.187);
--secondary-foreground: oklch(0.863 0.045 186.413);
--accent: oklch(0.286 0.072 322.124);
--accent-foreground: oklch(0.808 0.071 321.828);
--destructive: oklch(0.467 0.154 35.65);
--destructive-foreground: oklch(0.939 0.028 37.63);
--ring: oklch(0.348 0.047 100.687);
--chart-1: oklch(0.348 0.047 100.687);
--chart-2: oklch(0.341 0.042 184.187);
--chart-3: oklch(0.286 0.072 322.124);
--chart-4: oklch(0.378 0.047 184.078);
--chart-5: oklch(0.352 0.05 100.692);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.1 0.011 102.436);
--foreground: oklch(0.994 0.001 99.361);
--muted: oklch(0.219 0.005 187.127);
--muted-foreground: oklch(0.709 0.013 187.281);
--popover: oklch(0.1 0.011 102.436);
--popover-foreground: oklch(0.994 0.001 99.361);
--card: oklch(0.126 0.014 102.436);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.348 0.047 100.687);
--primary-foreground: oklch(0.873 0.049 100.096);
--secondary: oklch(0.341 0.042 184.187);
--secondary-foreground: oklch(0.863 0.045 186.413);
--accent: oklch(0.286 0.072 322.124);
--accent-foreground: oklch(0.808 0.071 321.828);
--destructive: oklch(0.678 0.181 37.275);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.348 0.047 100.687);
--chart-1: oklch(0.348 0.047 100.687);
--chart-2: oklch(0.341 0.042 184.187);
--chart-3: oklch(0.286 0.072 322.124);
--chart-4: oklch(0.378 0.047 184.078);
--chart-5: oklch(0.352 0.05 100.692);
}