Fall is a shadcn/ui theme built around a vivid deep purple primary color (#2d0120) with vivid deep green accents (#012d0e). The light mode uses a neutral background (#fefbfd). Dark mode keeps the vivid deep purple primary (#2d0120) on a neutral background (#080206).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfdsnow | #080206black |
| Foreground | #0d030ablack | #f8f6f8whitesmoke |
| Card | #fdf7fbsnow | #0c0409black |
| Card foreground | #080206black | #fbf9fasnow |
| Popover | #fdf7fbsnow | #0c0409black |
| Popover foreground | #080206black | #fbf9fasnow |
| Primary | #2d0120black | #2d0120black |
| Primary foreground | #fc64cehotpink | #fc64cehotpink |
| Secondary | #012d0eblack | #012d0eblack |
| Secondary foreground | #05f54dspringgreen | #05f54dspringgreen |
| Muted | #e0e6e2gainsboro | #191f1bblack |
| Muted foreground | #4f6355dimgray | #9cb0a2darkgray |
| Accent | #012d0eblack | #012d0eblack |
| Accent foreground | #05f54dspringgreen | #05f54dspringgreen |
| Destructive | #b11e10firebrick | #eb3928crimson |
| Destructive foreground | #fef6f6snow | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #2d0120black | #2d0120black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.72:1 | AAA |
| Text on card | 19.41:1 | AAA |
| Primary button | 6.91:1 | AA |
| Secondary button | 10.25:1 | AAA |
| Muted text | 5.11:1 | AA |
| Accent | 10.25:1 | AAA |
| Destructive | 6.42:1 | AA |
| Text on background | 19.08:1 | AAA |
| Text on card | 19.35:1 | AAA |
| Primary button | 6.91:1 | AA |
| Secondary button | 10.25:1 | AAA |
| Muted text | 7.27:1 | AAA |
| Accent | 10.25:1 | AAA |
| Destructive | 4.08:1 | AA Large |
Paste this into your globals.css to use Fall in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.005 335.958);
--foreground: oklch(0.121 0.031 337.027);
--muted: oklch(0.919 0.01 155.67);
--muted-foreground: oklch(0.479 0.032 154.51);
--popover: oklch(0.981 0.009 336.049);
--popover-foreground: oklch(0.106 0.027 336.501);
--card: oklch(0.981 0.009 336.049);
--card-foreground: oklch(0.106 0.027 336.501);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.201 0.083 343.019);
--primary-foreground: oklch(0.728 0.216 341.177);
--secondary: oklch(0.26 0.072 148.828);
--secondary-foreground: oklch(0.844 0.261 145.515);
--accent: oklch(0.26 0.072 148.828);
--accent-foreground: oklch(0.844 0.261 145.515);
--destructive: oklch(0.491 0.184 30.053);
--destructive-foreground: oklch(0.98 0.008 23.665);
--ring: oklch(0.201 0.083 343.019);
--chart-1: oklch(0.201 0.083 343.019);
--chart-2: oklch(0.26 0.072 148.828);
--chart-3: oklch(0.26 0.072 148.828);
--chart-4: oklch(0.311 0.089 147.781);
--chart-5: oklch(0.201 0.086 343.17);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.108 0.021 336.357);
--foreground: oklch(0.976 0.003 335.926);
--muted: oklch(0.232 0.013 154.726);
--muted-foreground: oklch(0.737 0.029 155.089);
--popover: oklch(0.124 0.024 336.6);
--popover-foreground: oklch(0.984 0.002 335.907);
--card: oklch(0.124 0.024 336.6);
--card-foreground: oklch(0.984 0.002 335.907);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.201 0.083 343.019);
--primary-foreground: oklch(0.728 0.216 341.177);
--secondary: oklch(0.26 0.072 148.828);
--secondary-foreground: oklch(0.844 0.261 145.515);
--accent: oklch(0.26 0.072 148.828);
--accent-foreground: oklch(0.844 0.261 145.515);
--destructive: oklch(0.617 0.217 29.762);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.201 0.083 343.019);
--chart-1: oklch(0.201 0.083 343.019);
--chart-2: oklch(0.26 0.072 148.828);
--chart-3: oklch(0.26 0.072 148.828);
--chart-4: oklch(0.311 0.089 147.781);
--chart-5: oklch(0.201 0.086 343.17);
}