Male is a shadcn/ui theme built around a light orange primary color (#f5ede5) with light blue accents (#e5eef5). The light mode uses a neutral background (#ffffff). Dark mode keeps the light orange primary (#f5ede5) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #150c05black | #fbfaf9snow |
| Card | #ffffffwhite | #000000black |
| Card foreground | #150c05black | #fbfaf9snow |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #150c05black | #fbfaf9snow |
| Primary | #f5ede5linen | #f5ede5linen |
| Primary foreground | #302012black | #302012black |
| Secondary | #e5eef5lavender | #e5eef5lavender |
| Secondary foreground | #2d577bdarkslateblue | #2d577bdarkslateblue |
| Muted | #e5e8eblavender | #14171ablack |
| Muted foreground | #59646edimgray | #919ca6darkgray |
| Accent | #e5eef5lavender | #e5eef5lavender |
| Accent foreground | #2d577bdarkslateblue | #2d577bdarkslateblue |
| Destructive | #c72100firebrick | #ff4d29tomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f5ede5linen | #f5ede5linen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.32:1 | AAA |
| Text on card | 19.32:1 | AAA |
| Primary button | 13.49:1 | AAA |
| Secondary button | 6.46:1 | AA |
| Muted text | 4.92:1 | AA |
| Accent | 6.46:1 | AA |
| Destructive | 5.76:1 | AA |
| Text on background | 20.14:1 | AAA |
| Text on card | 20.14:1 | AAA |
| Primary button | 13.49:1 | AAA |
| Secondary button | 6.46:1 | AA |
| Muted text | 6.42:1 | AA |
| Accent | 6.46:1 | AA |
| Destructive | 3.31:1 | AA Large |
Paste this into your globals.css to use Male in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.164 0.021 65.413);
--muted: oklch(0.93 0.006 244.168);
--muted-foreground: oklch(0.498 0.022 244.635);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.164 0.021 65.413);
--card: oklch(1 0 180);
--card-foreground: oklch(0.164 0.021 65.413);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.95 0.014 63.902);
--primary-foreground: oklch(0.26 0.035 61.545);
--secondary: oklch(0.944 0.014 244.273);
--secondary-foreground: oklch(0.443 0.076 246.911);
--accent: oklch(0.944 0.014 244.273);
--accent-foreground: oklch(0.443 0.076 246.911);
--destructive: oklch(0.533 0.202 31.968);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.95 0.014 63.902);
--chart-1: oklch(0.95 0.014 63.902);
--chart-2: oklch(0.944 0.014 244.273);
--chart-3: oklch(0.944 0.014 244.273);
--chart-4: oklch(0.968 0.008 244.191);
--chart-5: oklch(0.95 0.015 63.889);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.985 0.002 64.064);
--muted: oklch(0.203 0.009 244.616);
--muted-foreground: oklch(0.688 0.02 244.453);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.985 0.002 64.064);
--card: oklch(0 0 0);
--card-foreground: oklch(0.985 0.002 64.064);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.95 0.014 63.902);
--primary-foreground: oklch(0.26 0.035 61.545);
--secondary: oklch(0.944 0.014 244.273);
--secondary-foreground: oklch(0.443 0.076 246.911);
--accent: oklch(0.944 0.014 244.273);
--accent-foreground: oklch(0.443 0.076 246.911);
--destructive: oklch(0.669 0.22 33.084);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.95 0.014 63.902);
--chart-1: oklch(0.95 0.014 63.902);
--chart-2: oklch(0.944 0.014 244.273);
--chart-3: oklch(0.944 0.014 244.273);
--chart-4: oklch(0.968 0.008 244.191);
--chart-5: oklch(0.95 0.015 63.889);
}