Female is a shadcn/ui theme built around a deep green primary color (#262d15) with deep violet accents (#1c152d). The light mode uses a neutral background (#fbfdf7). Dark mode keeps the deep green primary (#262d15) on a green-tinted background (#090b05).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfdf7snow | #090b05black |
| Foreground | #090c04black | #fafbf9snow |
| Card | #fbfdf7snow | #090b05black |
| Card foreground | #090c04black | #fafbf9snow |
| Popover | #fbfdf7snow | #090b05black |
| Popover foreground | #090c04black | #fafbf9snow |
| Primary | #262d15black | #262d15black |
| Primary foreground | #99b35bdarkkhaki | #99b35bdarkkhaki |
| Secondary | #1c152dblack | #1c152dblack |
| Secondary foreground | #b0a1d4lightsteelblue | #b0a1d4lightsteelblue |
| Muted | #dfd9edgainsboro | #181226black |
| Muted foreground | #494455darkslategray | #afaabbdarkgray |
| Accent | #1c152dblack | #1c152dblack |
| Accent foreground | #b0a1d4lightsteelblue | #b0a1d4lightsteelblue |
| Destructive | #942a0asaddlebrown | #ee4411orangered |
| Destructive foreground | #fcddd4antiquewhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #262d15black | #262d15black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.21:1 | AAA |
| Text on card | 19.21:1 | AAA |
| Primary button | 6.06:1 | AA |
| Secondary button | 7.44:1 | AAA |
| Muted text | 6.79:1 | AA |
| Accent | 7.44:1 | AAA |
| Destructive | 6.32:1 | AA |
| Text on background | 19.09:1 | AAA |
| Text on card | 19.09:1 | AAA |
| Primary button | 6.06:1 | AA |
| Secondary button | 7.44:1 | AAA |
| Muted text | 8.06:1 | AAA |
| Accent | 7.44:1 | AAA |
| Destructive | 3.82:1 | AA Large |
Paste this into your globals.css to use Female in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.008 120.176);
--foreground: oklch(0.147 0.02 120.172);
--muted: oklch(0.895 0.029 299.495);
--muted-foreground: oklch(0.399 0.029 298.817);
--popover: oklch(0.991 0.008 120.176);
--popover-foreground: oklch(0.147 0.02 120.172);
--card: oklch(0.991 0.008 120.176);
--card-foreground: oklch(0.147 0.02 120.172);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.285 0.042 122.784);
--primary-foreground: oklch(0.728 0.12 123.134);
--secondary: oklch(0.218 0.048 296.048);
--secondary-foreground: oklch(0.739 0.074 298.316);
--accent: oklch(0.218 0.048 296.048);
--accent-foreground: oklch(0.739 0.074 298.316);
--destructive: oklch(0.447 0.146 35.728);
--destructive-foreground: oklch(0.922 0.036 37.611);
--ring: oklch(0.285 0.042 122.784);
--chart-1: oklch(0.285 0.042 122.784);
--chart-2: oklch(0.218 0.048 296.048);
--chart-3: oklch(0.218 0.048 296.048);
--chart-4: oklch(0.244 0.057 295.746);
--chart-5: oklch(0.288 0.045 122.983);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.143 0.015 119.971);
--foreground: oklch(0.987 0.004 120.099);
--muted: oklch(0.2 0.041 296.302);
--muted-foreground: oklch(0.748 0.024 299.486);
--popover: oklch(0.143 0.015 119.971);
--popover-foreground: oklch(0.987 0.004 120.099);
--card: oklch(0.143 0.015 119.971);
--card-foreground: oklch(0.987 0.004 120.099);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.285 0.042 122.784);
--primary-foreground: oklch(0.728 0.12 123.134);
--secondary: oklch(0.218 0.048 296.048);
--secondary-foreground: oklch(0.739 0.074 298.316);
--accent: oklch(0.218 0.048 296.048);
--accent-foreground: oklch(0.739 0.074 298.316);
--destructive: oklch(0.632 0.214 35.197);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.285 0.042 122.784);
--chart-1: oklch(0.285 0.042 122.784);
--chart-2: oklch(0.218 0.048 296.048);
--chart-3: oklch(0.218 0.048 296.048);
--chart-4: oklch(0.244 0.057 295.746);
--chart-5: oklch(0.288 0.045 122.983);
}