Farrow is a shadcn/ui theme built around a vivid red primary color (#fe768d) with vivid orange accents (#fea376). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid red primary (#fe768d) on a red-tinted background (#0b0405).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0b0405black |
| Foreground | #040101black | #ffffffwhite |
| Card | #fcfcfcsnow | #0f0607black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fcfcfcsnow | #0f0607black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #fe768dlightcoral | #fe768dlightcoral |
| Primary foreground | #42000bmaroon | #42000bmaroon |
| Secondary | #fe76d1hotpink | #fe76d1hotpink |
| Secondary foreground | #42002cmaroon | #42002cmaroon |
| Muted | #f5f0f3whitesmoke | #0f0a0eblack |
| Muted foreground | #514d50darkslategray | #b2aeb0darkgray |
| Accent | #fea376lightsalmon | #fea376lightsalmon |
| Accent foreground | #421600maroon | #421600maroon |
| Destructive | #6d1f03maroon | #f8612atomato |
| Destructive foreground | #fcbda6lightpink | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #fe768dlightcoral | #fe768dlightcoral |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.79:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 6.63:1 | AA |
| Secondary button | 6.88:1 | AA |
| Muted text | 7.36:1 | AAA |
| Accent | 7.98:1 | AAA |
| Destructive | 7.00:1 | AAA |
| Text on background | 20.28:1 | AAA |
| Text on card | 20.04:1 | AAA |
| Primary button | 6.63:1 | AA |
| Secondary button | 6.88:1 | AA |
| Muted text | 8.93:1 | AAA |
| Accent | 7.98:1 | AAA |
| Destructive | 6.75:1 | AA |
Paste this into your globals.css to use Farrow in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.08 0.02 6.313);
--muted: oklch(0.959 0.007 337.406);
--muted-foreground: oklch(0.426 0.005 337.517);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.992 0 161.565);
--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.732 0.167 11.788);
--primary-foreground: oklch(0.24 0.096 19.33);
--secondary: oklch(0.754 0.194 342.106);
--secondary-foreground: oklch(0.252 0.106 346.5);
--accent: oklch(0.798 0.124 46.992);
--accent-foreground: oklch(0.267 0.076 45.064);
--destructive: oklch(0.362 0.115 37.786);
--destructive-foreground: oklch(0.85 0.08 40.864);
--ring: oklch(0.732 0.167 11.788);
--chart-1: oklch(0.732 0.167 11.788);
--chart-2: oklch(0.754 0.194 342.106);
--chart-3: oklch(0.798 0.124 46.992);
--chart-4: oklch(0.776 0.174 341.437);
--chart-5: oklch(0.732 0.172 12.024);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.123 0.016 5.919);
--foreground: oklch(1 0 180);
--muted: oklch(0.154 0.011 338.598);
--muted-foreground: oklch(0.755 0.005 337.389);
--popover: oklch(0.136 0.018 6.753);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.136 0.018 6.753);
--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.732 0.167 11.788);
--primary-foreground: oklch(0.24 0.096 19.33);
--secondary: oklch(0.754 0.194 342.106);
--secondary-foreground: oklch(0.252 0.106 346.5);
--accent: oklch(0.798 0.124 46.992);
--accent-foreground: oklch(0.267 0.076 45.064);
--destructive: oklch(0.681 0.196 38.708);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.732 0.167 11.788);
--chart-1: oklch(0.732 0.167 11.788);
--chart-2: oklch(0.754 0.194 342.106);
--chart-3: oklch(0.798 0.124 46.992);
--chart-4: oklch(0.776 0.174 341.437);
--chart-5: oklch(0.732 0.172 12.024);
}