Father-in-law is a shadcn/ui theme built around a cyan primary color (#44b1cf) with red accents (#cf6244). The light mode uses a neutral background (#ffffff). Dark mode keeps the cyan primary (#44b1cf) on a cyan-tinted background (#05090a).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #05090ablack |
| Foreground | #020b0dblack | #f8fbfbghostwhite |
| Card | #ffffffwhite | #05090ablack |
| Card foreground | #020b0dblack | #f8fbfbghostwhite |
| Popover | #ffffffwhite | #05090ablack |
| Popover foreground | #020b0dblack | #f8fbfbghostwhite |
| Primary | #44b1cfmediumturquoise | #44b1cfmediumturquoise |
| Primary foreground | #000000black | #000000black |
| Secondary | #cf6244indianred | #cf6244indianred |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e6dddbgainsboro | #241b19black |
| Muted foreground | #4e4846darkslategray | #b9b3b1darkgray |
| Accent | #cf6244indianred | #cf6244indianred |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #a62a07firebrick | #f54919orangered |
| Destructive foreground | #fee8e2mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #44b1cfmediumturquoise | #44b1cfmediumturquoise |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.88:1 | AAA |
| Text on card | 19.88:1 | AAA |
| Primary button | 8.43:1 | AAA |
| Secondary button | 3.81:1 | AA Large |
| Muted text | 6.73:1 | AA |
| Accent | 3.81:1 | AA Large |
| Destructive | 6.03:1 | AA |
| Text on background | 19.21:1 | AAA |
| Text on card | 19.21:1 | AAA |
| Primary button | 8.43:1 | AAA |
| Secondary button | 3.81:1 | AA Large |
| Muted text | 8.11:1 | AAA |
| Accent | 3.81:1 | AA Large |
| Destructive | 3.58:1 | AA Large |
Paste this into your globals.css to use Father-in-law in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.139 0.019 212.261);
--muted: oklch(0.904 0.011 35.976);
--muted-foreground: oklch(0.406 0.008 35.958);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.139 0.019 212.261);
--card: oklch(1 0 180);
--card-foreground: oklch(0.139 0.019 212.261);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.71 0.106 219.577);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.624 0.145 36.386);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.624 0.145 36.386);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.48 0.166 34.379);
--destructive-foreground: oklch(0.946 0.026 35.95);
--ring: oklch(0.71 0.106 219.577);
--chart-1: oklch(0.71 0.106 219.577);
--chart-2: oklch(0.624 0.145 36.386);
--chart-3: oklch(0.624 0.145 36.386);
--chart-4: oklch(0.646 0.135 36.389);
--chart-5: oklch(0.715 0.11 219.893);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.135 0.008 213.274);
--foreground: oklch(0.986 0.003 216.023);
--muted: oklch(0.234 0.015 35.967);
--muted-foreground: oklch(0.771 0.007 35.983);
--popover: oklch(0.135 0.008 213.274);
--popover-foreground: oklch(0.986 0.003 216.023);
--card: oklch(0.135 0.008 213.274);
--card-foreground: oklch(0.986 0.003 216.023);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.71 0.106 219.577);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.624 0.145 36.386);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.624 0.145 36.386);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.648 0.216 34.9);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.71 0.106 219.577);
--chart-1: oklch(0.71 0.106 219.577);
--chart-2: oklch(0.624 0.145 36.386);
--chart-3: oklch(0.624 0.145 36.386);
--chart-4: oklch(0.646 0.135 36.389);
--chart-5: oklch(0.715 0.11 219.893);
}