Female is a shadcn/ui theme built around a violet primary color (#491cc4) with neutral gray accents (#d1d1d2). The light mode uses a neutral background (#ffffff). Dark mode keeps the violet primary (#491cc4) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #070312black | #f6f5fawhitesmoke |
| Card | #ffffffwhite | #000000black |
| Card foreground | #070312black | #f6f5fawhitesmoke |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #070312black | #f6f5fawhitesmoke |
| Primary | #491cc4rebeccapurple | #491cc4rebeccapurple |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #d1d1d2lightgrey | #2b2735darkslategray |
| Secondary foreground | #383839darkslategray | #c3becfsilver |
| Muted | #e1dceflavender | #151023black |
| Muted foreground | #403b4fdarkslategray | #b5b0c4silver |
| Accent | #d1d1d2lightgrey | #2b2735darkslategray |
| Accent foreground | #383839darkslategray | #c3becfsilver |
| Destructive | #a62011firebrick | #ea4a39tomato |
| Destructive foreground | #fdeeedseashell | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #491cc4rebeccapurple | #491cc4rebeccapurple |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.37:1 | AAA |
| Text on card | 20.37:1 | AAA |
| Primary button | 9.33:1 | AAA |
| Secondary button | 7.65:1 | AAA |
| Muted text | 7.99:1 | AAA |
| Accent | 7.65:1 | AAA |
| Destructive | 6.55:1 | AA |
| Text on background | 19.35:1 | AAA |
| Text on card | 19.35:1 | AAA |
| Primary button | 9.33:1 | AAA |
| Secondary button | 8.03:1 | AAA |
| Muted text | 8.84:1 | AAA |
| Accent | 8.03:1 | AAA |
| Destructive | 3.78:1 | AA Large |
Paste this into your globals.css to use Female in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.118 0.038 296.576);
--muted: oklch(0.903 0.027 298.034);
--muted-foreground: oklch(0.365 0.036 296.817);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.118 0.038 296.576);
--card: oklch(1 0 180);
--card-foreground: oklch(0.118 0.038 296.576);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.425 0.23 282.669);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.86 0.001 298.54);
--secondary-foreground: oklch(0.34 0.002 298.465);
--accent: oklch(0.86 0.001 298.54);
--accent-foreground: oklch(0.34 0.002 298.465);
--destructive: oklch(0.472 0.171 30.501);
--destructive-foreground: oklch(0.961 0.016 25.135);
--ring: oklch(0.425 0.23 282.669);
--chart-1: oklch(0.425 0.23 282.669);
--chart-2: oklch(0.86 0.001 298.54);
--chart-3: oklch(0.86 0.001 298.54);
--chart-4: oklch(0.884 0.001 298.545);
--chart-5: oklch(0.424 0.236 281.737);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.973 0.006 298.455);
--muted: oklch(0.189 0.04 294.558);
--muted-foreground: oklch(0.768 0.03 297.888);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.973 0.006 298.455);
--card: oklch(0 0 0);
--card-foreground: oklch(0.973 0.006 298.455);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.425 0.23 282.669);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.283 0.025 296.968);
--secondary-foreground: oklch(0.812 0.024 298.052);
--accent: oklch(0.283 0.025 296.968);
--accent-foreground: oklch(0.812 0.024 298.052);
--destructive: oklch(0.634 0.199 29.895);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.425 0.23 282.669);
--chart-1: oklch(0.425 0.23 282.669);
--chart-2: oklch(0.283 0.025 296.968);
--chart-3: oklch(0.283 0.025 296.968);
--chart-4: oklch(0.311 0.029 296.907);
--chart-5: oklch(0.424 0.236 281.737);
}