Father is a shadcn/ui theme built around a vivid light red primary color (#fef0ec) with vivid light yellow accents (#fef9ec). The light mode uses a neutral background (#fefcfb). Dark mode keeps the vivid light red primary (#fef0ec) on a red-tinted background (#0f0805).
| Token | Light | Dark |
|---|---|---|
| Background | #fefcfbsnow | #0f0805black |
| Foreground | #110703black | #f9f6f6whitesmoke |
| Card | #fefcfbsnow | #0f0805black |
| Card foreground | #110703black | #f9f6f6whitesmoke |
| Popover | #fefcfbsnow | #0f0805black |
| Popover foreground | #110703black | #f9f6f6whitesmoke |
| Primary | #fef0ecseashell | #fef0ecseashell |
| Primary foreground | #4e1504maroon | #4e1504maroon |
| Secondary | #feecf1lavenderblush | #feecf1lavenderblush |
| Secondary foreground | #ae0935firebrick | #ae0935firebrick |
| Muted | #e6cbd3thistle | #341920black |
| Muted foreground | #4e4144darkslategray | #beb1b5silver |
| Accent | #fef9ecfloralwhite | #fef9ecfloralwhite |
| Accent foreground | #4e3a04saddlebrown | #4e3a04saddlebrown |
| Destructive | #ac410csaddlebrown | #f27b40coral |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #fef0ecseashell | #fef0ecseashell |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.39:1 | AAA |
| Text on card | 19.39:1 | AAA |
| Primary button | 13.17:1 | AAA |
| Secondary button | 6.37:1 | AA |
| Muted text | 6.41:1 | AA |
| Accent | 10.34:1 | AAA |
| Destructive | 5.97:1 | AA |
| Text on background | 18.51:1 | AAA |
| Text on card | 18.51:1 | AAA |
| Primary button | 13.17:1 | AAA |
| Secondary button | 6.37:1 | AA |
| Muted text | 7.78:1 | AAA |
| Accent | 10.34:1 | AAA |
| Destructive | 7.69:1 | AAA |
Paste this into your globals.css to use Father in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.003 37.727);
--foreground: oklch(0.141 0.022 44.47);
--muted: oklch(0.868 0.031 359.794);
--muted-foreground: oklch(0.39 0.019 0.101);
--popover: oklch(0.991 0.003 37.727);
--popover-foreground: oklch(0.141 0.022 44.47);
--card: oklch(0.991 0.003 37.727);
--card-foreground: oklch(0.141 0.022 44.47);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.965 0.016 37.668);
--primary-foreground: oklch(0.288 0.089 37.108);
--secondary: oklch(0.958 0.021 359.398);
--secondary-foreground: oklch(0.48 0.188 16.889);
--accent: oklch(0.983 0.018 90.255);
--accent-foreground: oklch(0.36 0.071 86.275);
--destructive: oklch(0.516 0.151 41.583);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.965 0.016 37.668);
--chart-1: oklch(0.965 0.016 37.668);
--chart-2: oklch(0.958 0.021 359.398);
--chart-3: oklch(0.983 0.018 90.255);
--chart-4: oklch(0.989 0.005 358.932);
--chart-5: oklch(0.965 0.017 37.666);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.142 0.016 42.093);
--foreground: oklch(0.976 0.003 37.728);
--muted: oklch(0.253 0.044 3.582);
--muted-foreground: oklch(0.773 0.015 359.346);
--popover: oklch(0.142 0.016 42.093);
--popover-foreground: oklch(0.976 0.003 37.728);
--card: oklch(0.142 0.016 42.093);
--card-foreground: oklch(0.976 0.003 37.728);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.965 0.016 37.668);
--primary-foreground: oklch(0.288 0.089 37.108);
--secondary: oklch(0.958 0.021 359.398);
--secondary-foreground: oklch(0.48 0.188 16.889);
--accent: oklch(0.983 0.018 90.255);
--accent-foreground: oklch(0.36 0.071 86.275);
--destructive: oklch(0.71 0.163 45.187);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.965 0.016 37.668);
--chart-1: oklch(0.965 0.016 37.668);
--chart-2: oklch(0.958 0.021 359.398);
--chart-3: oklch(0.983 0.018 90.255);
--chart-4: oklch(0.989 0.005 358.932);
--chart-5: oklch(0.965 0.017 37.666);
}