Divorce is a shadcn/ui theme built around a muted green primary color (#a6bfb1) with muted teal accents (#a6bfbd). The light mode uses a neutral background (#f8fcfa). Dark mode keeps the muted green primary (#a6bfb1) on a green-tinted background (#051009).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fcfamintcream | #051009black |
| Foreground | #030c07black | #f9fbfamintcream |
| Card | #f8fcfamintcream | #051009black |
| Card foreground | #030c07black | #f9fbfamintcream |
| Popover | #f8fcfamintcream | #051009black |
| Popover foreground | #030c07black | #f9fbfamintcream |
| Primary | #a6bfb1darkgray | #a6bfb1darkgray |
| Primary foreground | #151e19black | #151e19black |
| Secondary | #a8bfa6darkgray | #a8bfa6darkgray |
| Secondary foreground | #161e15black | #161e15black |
| Muted | #ebf6eahoneydew | #0a1509black |
| Muted foreground | #4e514ddarkslategray | #afb2aedarkgray |
| Accent | #a6bfbdsilver | #a6bfbdsilver |
| Accent foreground | #151e1dblack | #151e1dblack |
| Destructive | #772e03saddlebrown | #f96c1achocolate |
| Destructive foreground | #fdccafpeachpuff | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #a6bfb1darkgray | #a6bfb1darkgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.13:1 | AAA |
| Text on card | 19.13:1 | AAA |
| Primary button | 8.67:1 | AAA |
| Secondary button | 8.64:1 | AAA |
| Muted text | 7.22:1 | AAA |
| Accent | 8.73:1 | AAA |
| Destructive | 6.63:1 | AA |
| Text on background | 18.66:1 | AAA |
| Text on card | 18.66:1 | AAA |
| Primary button | 8.67:1 | AAA |
| Secondary button | 8.64:1 | AAA |
| Muted text | 8.70:1 | AAA |
| Accent | 8.73:1 | AAA |
| Destructive | 7.19:1 | AAA |
Paste this into your globals.css to use Divorce in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.005 161.679);
--foreground: oklch(0.142 0.02 161.504);
--muted: oklch(0.961 0.02 143.527);
--muted-foreground: oklch(0.43 0.006 143.557);
--popover: oklch(0.987 0.005 161.679);
--popover-foreground: oklch(0.142 0.02 161.504);
--card: oklch(0.987 0.005 161.679);
--card-foreground: oklch(0.142 0.02 161.504);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.781 0.033 160.746);
--primary-foreground: oklch(0.223 0.015 160.081);
--secondary: oklch(0.78 0.042 143.345);
--secondary-foreground: oklch(0.223 0.019 143.17);
--accent: oklch(0.785 0.027 191.713);
--accent-foreground: oklch(0.225 0.012 191.31);
--destructive: oklch(0.4 0.114 44.069);
--destructive-foreground: oklch(0.881 0.068 51.602);
--ring: oklch(0.781 0.033 160.746);
--chart-1: oklch(0.781 0.033 160.746);
--chart-2: oklch(0.78 0.042 143.345);
--chart-3: oklch(0.785 0.027 191.713);
--chart-4: oklch(0.802 0.038 143.384);
--chart-5: oklch(0.785 0.039 160.546);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.158 0.022 160.033);
--foreground: oklch(0.986 0.003 161.747);
--muted: oklch(0.182 0.029 142.742);
--muted-foreground: oklch(0.759 0.006 143.597);
--popover: oklch(0.158 0.022 160.033);
--popover-foreground: oklch(0.986 0.003 161.747);
--card: oklch(0.158 0.022 160.033);
--card-foreground: oklch(0.986 0.003 161.747);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.781 0.033 160.746);
--primary-foreground: oklch(0.223 0.015 160.081);
--secondary: oklch(0.78 0.042 143.345);
--secondary-foreground: oklch(0.223 0.019 143.17);
--accent: oklch(0.785 0.027 191.713);
--accent-foreground: oklch(0.225 0.012 191.31);
--destructive: oklch(0.695 0.191 44.517);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.781 0.033 160.746);
--chart-1: oklch(0.781 0.033 160.746);
--chart-2: oklch(0.78 0.042 143.345);
--chart-3: oklch(0.785 0.027 191.713);
--chart-4: oklch(0.802 0.038 143.384);
--chart-5: oklch(0.785 0.039 160.546);
}