Fall is a shadcn/ui theme built around a muted yellow primary color (#ab9d7c) with muted green accents (#a3ab7c). The light mode uses a neutral background (#fdfbf7). Dark mode keeps the muted yellow primary (#ab9d7c) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfbf7snow | #000000black |
| Foreground | #120d03black | #ffffffwhite |
| Card | #fcf9f3floralwhite | #030303black |
| Card foreground | #0d0a02black | #ffffffwhite |
| Popover | #fcf9f3floralwhite | #030303black |
| Popover foreground | #0d0a02black | #ffffffwhite |
| Primary | #ab9d7crosybrown | #ab9d7crosybrown |
| Primary foreground | #000000black | #000000black |
| Secondary | #ab857crosybrown | #ab857crosybrown |
| Secondary foreground | #000000black | #000000black |
| Muted | #f0e7e6linen | #1a110fblack |
| Muted foreground | #646362dimgray | #9d9b9bdarkgray |
| Accent | #a3ab7cdarkseagreen | #a3ab7cdarkseagreen |
| Accent foreground | #000000black | #000000black |
| Destructive | #d02001firebrick | #fe2b06orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #ab9d7crosybrown | #ab9d7crosybrown |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.72:1 | AAA |
| Text on card | 18.81:1 | AAA |
| Primary button | 7.82:1 | AAA |
| Secondary button | 6.38:1 | AA |
| Muted text | 4.93:1 | AA |
| Accent | 8.70:1 | AAA |
| Destructive | 5.39:1 | AA |
| Text on background | 21.00:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 7.82:1 | AAA |
| Secondary button | 6.38:1 | AA |
| Muted text | 6.71:1 | AA |
| Accent | 8.70:1 | AAA |
| Destructive | 3.77:1 | AA Large |
Paste this into your globals.css to use Fall in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.006 86.029);
--foreground: oklch(0.161 0.024 89.336);
--muted: oklch(0.935 0.009 32.663);
--muted-foreground: oklch(0.5 0.002 32.661);
--popover: oklch(0.983 0.009 86.04);
--popover-foreground: oklch(0.144 0.021 92.044);
--card: oklch(0.983 0.009 86.04);
--card-foreground: oklch(0.144 0.021 92.044);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.699 0.048 86.031);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.651 0.049 32.883);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.724 0.066 116.511);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.55 0.211 31.478);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.699 0.048 86.031);
--chart-1: oklch(0.699 0.048 86.031);
--chart-2: oklch(0.651 0.049 32.883);
--chart-3: oklch(0.724 0.066 116.511);
--chart-4: oklch(0.677 0.045 32.836);
--chart-5: oklch(0.704 0.054 85.985);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.189 0.015 32.891);
--muted-foreground: oklch(0.69 0.002 32.661);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.092 0 180);
--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.699 0.048 86.031);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.651 0.049 32.883);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.724 0.066 116.511);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.64 0.244 31.413);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.699 0.048 86.031);
--chart-1: oklch(0.699 0.048 86.031);
--chart-2: oklch(0.651 0.049 32.883);
--chart-3: oklch(0.724 0.066 116.511);
--chart-4: oklch(0.677 0.045 32.836);
--chart-5: oklch(0.704 0.054 85.985);
}