Flora Finch is a shadcn/ui theme built around a vivid green primary color (#61fa73) with vivid purple accents (#fa61e8). The light mode uses a neutral background (#fbfefb). Dark mode keeps the vivid green primary (#61fa73) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefbwhite | #000000black |
| Foreground | #050f06black | #f5faf5whitesmoke |
| Card | #f6fdf7mintcream | #030303black |
| Card foreground | #040b05black | #f8fcf9mintcream |
| Popover | #f6fdf7mintcream | #030303black |
| Popover foreground | #040b05black | #f8fcf9mintcream |
| Primary | #61fa73lightgreen | #61fa73lightgreen |
| Primary foreground | #012806black | #012806black |
| Secondary | #fa61e8violet | #fa61e8violet |
| Secondary foreground | #280123black | #280123black |
| Muted | #dfd7degainsboro | #282027darkslategray |
| Muted foreground | #484748darkslategray | #b8b7b8silver |
| Accent | #fa61e8violet | #fa61e8violet |
| Accent foreground | #280123black | #280123black |
| Destructive | #a42c0efirebrick | #ef6643tomato |
| Destructive foreground | #fdece8linen | #000000black |
| Border | #eff0efwhitesmoke | #222523black |
| Input | #eff0efwhitesmoke | #222523black |
| Ring | #61fa73lightgreen | #61fa73lightgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.19:1 | AAA |
| Text on card | 19.31:1 | AAA |
| Primary button | 11.80:1 | AAA |
| Secondary button | 7.09:1 | AAA |
| Muted text | 6.58:1 | AA |
| Accent | 7.09:1 | AAA |
| Destructive | 6.20:1 | AA |
| Text on background | 19.87:1 | AAA |
| Text on card | 19.97:1 | AAA |
| Primary button | 11.80:1 | AAA |
| Secondary button | 7.09:1 | AAA |
| Muted text | 7.94:1 | AAA |
| Accent | 7.09:1 | AAA |
| Destructive | 6.62:1 | AA |
Paste this into your globals.css to use Flora Finch in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.005 149.069);
--foreground: oklch(0.156 0.026 147.706);
--muted: oklch(0.889 0.013 329.298);
--muted-foreground: oklch(0.399 0.003 329.215);
--popover: oklch(0.988 0.011 149.003);
--popover-foreground: oklch(0.139 0.022 148.03);
--card: oklch(0.988 0.011 149.003);
--card-foreground: oklch(0.139 0.022 148.03);
--border: oklch(0.955 0.002 149.109);
--input: oklch(0.955 0.002 149.109);
--primary: oklch(0.875 0.221 145.393);
--primary-foreground: oklch(0.24 0.073 145.082);
--secondary: oklch(0.733 0.238 332.588);
--secondary-foreground: oklch(0.192 0.082 333.399);
--accent: oklch(0.733 0.238 332.588);
--accent-foreground: oklch(0.192 0.082 333.399);
--destructive: oklch(0.479 0.161 34.238);
--destructive-foreground: oklch(0.955 0.02 34.297);
--ring: oklch(0.875 0.221 145.393);
--chart-1: oklch(0.875 0.221 145.393);
--chart-2: oklch(0.733 0.238 332.588);
--chart-3: oklch(0.733 0.238 332.588);
--chart-4: oklch(0.752 0.219 332.225);
--chart-5: oklch(0.88 0.226 145.296);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.98 0.008 149.041);
--muted: oklch(0.255 0.017 329.898);
--muted-foreground: oklch(0.781 0.002 329.168);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(0.986 0.005 149.072);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.986 0.005 149.072);
--border: oklch(0.261 0.006 148.85);
--input: oklch(0.261 0.006 148.85);
--primary: oklch(0.875 0.221 145.393);
--primary-foreground: oklch(0.24 0.073 145.082);
--secondary: oklch(0.733 0.238 332.588);
--secondary-foreground: oklch(0.192 0.082 333.399);
--accent: oklch(0.733 0.238 332.588);
--accent-foreground: oklch(0.192 0.082 333.399);
--destructive: oklch(0.675 0.177 35.2);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.875 0.221 145.393);
--chart-1: oklch(0.875 0.221 145.393);
--chart-2: oklch(0.733 0.238 332.588);
--chart-3: oklch(0.733 0.238 332.588);
--chart-4: oklch(0.752 0.219 332.225);
--chart-5: oklch(0.88 0.226 145.296);
}