Falling-out is a shadcn/ui theme built around a vivid deep teal primary color (#065b4b) with vivid deep yellow accents (#5b4b06). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid deep teal primary (#065b4b) on a teal-tinted background (#050b0a).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #050b0ablack |
| Foreground | #051512black | #f9fbfamintcream |
| Card | #fcfcfcsnow | #060e0dblack |
| Card foreground | #04110eblack | #fcfdfdwhite |
| Popover | #fcfcfcsnow | #060e0dblack |
| Popover foreground | #04110eblack | #fcfdfdwhite |
| Primary | #065b4bdarkslategray | #065b4bdarkslategray |
| Primary foreground | #9af9e7paleturquoise | #9af9e7paleturquoise |
| Secondary | #4b065bindigo | #4b065bindigo |
| Secondary foreground | #e79af9violet | #e79af9violet |
| Muted | #e6d2eagainsboro | #29152dblack |
| Muted foreground | #423d43darkslategray | #c1bcc2silver |
| Accent | #5b4b06saddlebrown | #5b4b06saddlebrown |
| Accent foreground | #f9e79akhaki | #f9e79akhaki |
| Destructive | #6d0703maroon | #f82c25crimson |
| Destructive foreground | #fca9a6lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #065b4bdarkslategray | #065b4bdarkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.70:1 | AAA |
| Text on card | 18.82:1 | AAA |
| Primary button | 6.54:1 | AA |
| Secondary button | 7.02:1 | AAA |
| Muted text | 7.43:1 | AAA |
| Accent | 6.86:1 | AA |
| Destructive | 6.76:1 | AA |
| Text on background | 19.11:1 | AAA |
| Text on card | 19.10:1 | AAA |
| Primary button | 6.54:1 | AA |
| Secondary button | 7.02:1 | AAA |
| Muted text | 9.07:1 | AAA |
| Accent | 6.86:1 | AA |
| Destructive | 3.89:1 | AA Large |
Paste this into your globals.css to use Falling-out in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.179 0.024 180.753);
--muted: oklch(0.886 0.04 320.031);
--muted-foreground: oklch(0.366 0.013 320.023);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.162 0.021 181.732);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.162 0.021 181.732);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.422 0.077 175.383);
--primary-foreground: oklch(0.917 0.093 181.174);
--secondary: oklch(0.307 0.141 318.802);
--secondary-foreground: oklch(0.796 0.152 320.097);
--accent: oklch(0.418 0.083 94.711);
--accent-foreground: oklch(0.926 0.098 97.049);
--destructive: oklch(0.34 0.133 29.415);
--destructive-foreground: oklch(0.815 0.099 21.635);
--ring: oklch(0.422 0.077 175.383);
--chart-1: oklch(0.422 0.077 175.383);
--chart-2: oklch(0.307 0.141 318.802);
--chart-3: oklch(0.418 0.083 94.711);
--chart-4: oklch(0.339 0.157 318.667);
--chart-5: oklch(0.426 0.079 175.134);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.14 0.012 184.008);
--foreground: oklch(0.986 0.002 184.261);
--muted: oklch(0.235 0.053 320.082);
--muted-foreground: oklch(0.802 0.011 320.003);
--popover: oklch(0.156 0.014 182.506);
--popover-foreground: oklch(0.993 0.001 184.286);
--card: oklch(0.156 0.014 182.506);
--card-foreground: oklch(0.993 0.001 184.286);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.422 0.077 175.383);
--primary-foreground: oklch(0.917 0.093 181.174);
--secondary: oklch(0.307 0.141 318.802);
--secondary-foreground: oklch(0.796 0.152 320.097);
--accent: oklch(0.418 0.083 94.711);
--accent-foreground: oklch(0.926 0.098 97.049);
--destructive: oklch(0.632 0.236 28.514);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.422 0.077 175.383);
--chart-1: oklch(0.422 0.077 175.383);
--chart-2: oklch(0.307 0.141 318.802);
--chart-3: oklch(0.418 0.083 94.711);
--chart-4: oklch(0.339 0.157 318.667);
--chart-5: oklch(0.426 0.079 175.134);
}