Ex-wife is a shadcn/ui theme built around a pink primary color (#b26c96) with green accents (#6cb288). The light mode uses a neutral background (#fdfbfd). Dark mode keeps the pink primary (#b26c96) on a neutral background (#080206).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfbfdsnow | #080206black |
| Foreground | #040103black | #faf5f8whitesmoke |
| Card | #fdfbfdsnow | #080206black |
| Card foreground | #040103black | #faf5f8whitesmoke |
| Popover | #fdfbfdsnow | #080206black |
| Popover foreground | #040103black | #faf5f8whitesmoke |
| Primary | #b26c96rosybrown | #b26c96rosybrown |
| Primary foreground | #000000black | #000000black |
| Secondary | #6cb288cadetblue | #6cb288cadetblue |
| Secondary foreground | #000000black | #000000black |
| Muted | #dde9e2gainsboro | #16221bblack |
| Muted foreground | #57665ddimgray | #99a89fdarkgray |
| Accent | #6cb288cadetblue | #6cb288cadetblue |
| Accent foreground | #000000black | #000000black |
| Destructive | #6f1b06maroon | #f3461borangered |
| Destructive foreground | #fbbcadlightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #b26c96rosybrown | #b26c96rosybrown |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.23:1 | AAA |
| Text on card | 20.23:1 | AAA |
| Primary button | 5.46:1 | AA |
| Secondary button | 8.32:1 | AAA |
| Muted text | 4.85:1 | AA |
| Accent | 8.32:1 | AAA |
| Destructive | 7.00:1 | AAA |
| Text on background | 19.05:1 | AAA |
| Text on card | 19.05:1 | AAA |
| Primary button | 5.46:1 | AA |
| Secondary button | 8.32:1 | AAA |
| Muted text | 6.61:1 | AA |
| Accent | 8.32:1 | AAA |
| Destructive | 3.67:1 | AA Large |
Paste this into your globals.css to use Ex-wife in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.003 340.296);
--foreground: oklch(0.085 0.016 340.371);
--muted: oklch(0.923 0.016 159.838);
--muted-foreground: oklch(0.494 0.023 159.106);
--popover: oklch(0.991 0.003 340.296);
--popover-foreground: oklch(0.085 0.016 340.371);
--card: oklch(0.991 0.003 340.296);
--card-foreground: oklch(0.085 0.016 340.371);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.62 0.103 343.742);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.704 0.094 156.637);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.704 0.094 156.637);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.361 0.122 34.395);
--destructive-foreground: oklch(0.849 0.076 34.474);
--ring: oklch(0.62 0.103 343.742);
--chart-1: oklch(0.62 0.103 343.742);
--chart-2: oklch(0.704 0.094 156.637);
--chart-3: oklch(0.704 0.094 156.637);
--chart-4: oklch(0.724 0.088 157.036);
--chart-5: oklch(0.619 0.113 344.076);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.106 0.022 340.383);
--foreground: oklch(0.975 0.006 340.379);
--muted: oklch(0.238 0.021 157.962);
--muted-foreground: oklch(0.718 0.021 159.535);
--popover: oklch(0.106 0.022 340.383);
--popover-foreground: oklch(0.975 0.006 340.379);
--card: oklch(0.106 0.022 340.383);
--card-foreground: oklch(0.975 0.006 340.379);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.62 0.103 343.742);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.704 0.094 156.637);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.704 0.094 156.637);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.642 0.215 34.261);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.62 0.103 343.742);
--chart-1: oklch(0.62 0.103 343.742);
--chart-2: oklch(0.704 0.094 156.637);
--chart-3: oklch(0.704 0.094 156.637);
--chart-4: oklch(0.724 0.088 157.036);
--chart-5: oklch(0.619 0.113 344.076);
}