Masculine is a shadcn/ui theme built around a neutral gray primary color (#b3bbbc) with neutral gray accents (#b3b6bc). The light mode uses a neutral background (#ffffff). Dark mode keeps the neutral gray primary (#b3bbbc) on a neutral background (#010304).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #010304black |
| Foreground | #040b0cblack | #f6f8f9whitesmoke |
| Card | #fcfcfcsnow | #030708black |
| Card foreground | #020708black | #f9fbfbghostwhite |
| Popover | #ffffffwhite | #010304black |
| Popover foreground | #040b0cblack | #f6f8f9whitesmoke |
| Primary | #b3bbbcsilver | #b3bbbcsilver |
| Primary foreground | #1d2020black | #1d2020black |
| Secondary | #b3bcb9silver | #b3bcb9silver |
| Secondary foreground | #1d201fblack | #1d201fblack |
| Muted | #eff5f3whitesmoke | #0a100eblack |
| Muted foreground | #5e6865dimgray | #97a19ddarkgray |
| Accent | #b3b6bcsilver | #b3b6bcsilver |
| Accent foreground | #1d1e20black | #1d1e20black |
| Destructive | #700400maroon | #ff1c14red |
| Destructive foreground | #ffa6a3lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #b3bbbcsilver | #b3bbbcsilver |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.84:1 | AAA |
| Text on card | 19.82:1 | AAA |
| Primary button | 8.38:1 | AAA |
| Secondary button | 8.45:1 | AAA |
| Muted text | 5.23:1 | AA |
| Accent | 8.24:1 | AAA |
| Destructive | 6.57:1 | AA |
| Text on background | 19.35:1 | AAA |
| Text on card | 19.50:1 | AAA |
| Primary button | 8.38:1 | AAA |
| Secondary button | 8.45:1 | AAA |
| Muted text | 7.23:1 | AAA |
| Accent | 8.24:1 | AAA |
| Destructive | 3.86:1 | AA Large |
Paste this into your globals.css to use Masculine in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.14 0.014 205.535);
--muted: oklch(0.966 0.007 172.351);
--muted-foreground: oklch(0.509 0.013 171.789);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.14 0.014 205.535);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.122 0.012 204.923);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.786 0.008 207.89);
--primary-foreground: oklch(0.24 0.005 207.861);
--secondary: oklch(0.787 0.01 172.185);
--secondary-foreground: oklch(0.241 0.006 171.837);
--accent: oklch(0.777 0.008 261.509);
--accent-foreground: oklch(0.235 0.005 261.496);
--destructive: oklch(0.345 0.139 29.936);
--destructive-foreground: oklch(0.813 0.106 21.802);
--ring: oklch(0.786 0.008 207.89);
--chart-1: oklch(0.786 0.008 207.89);
--chart-2: oklch(0.787 0.01 172.185);
--chart-3: oklch(0.777 0.008 261.509);
--chart-4: oklch(0.811 0.009 172.24);
--chart-5: oklch(0.788 0.013 207.872);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.096 0.009 205.147);
--foreground: oklch(0.979 0.003 207.921);
--muted: oklch(0.165 0.011 170.461);
--muted-foreground: oklch(0.698 0.012 172.048);
--popover: oklch(0.096 0.009 205.147);
--popover-foreground: oklch(0.979 0.003 207.921);
--card: oklch(0.121 0.011 205.147);
--card-foreground: oklch(0.986 0.002 207.925);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.786 0.008 207.89);
--primary-foreground: oklch(0.24 0.005 207.861);
--secondary: oklch(0.787 0.01 172.185);
--secondary-foreground: oklch(0.241 0.006 171.837);
--accent: oklch(0.777 0.008 261.509);
--accent-foreground: oklch(0.235 0.005 261.496);
--destructive: oklch(0.635 0.251 29.13);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.786 0.008 207.89);
--chart-1: oklch(0.786 0.008 207.89);
--chart-2: oklch(0.787 0.01 172.185);
--chart-3: oklch(0.777 0.008 261.509);
--chart-4: oklch(0.811 0.009 172.24);
--chart-5: oklch(0.788 0.013 207.872);
}