Married is a shadcn/ui theme built around a light purple primary color (#faf5f9) with muted light red accents (#c7bcbc). The light mode uses a neutral background (#fdf7fc). Dark mode keeps the light purple primary (#faf5f9) on a purple-tinted background (#0b040a).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf7fcsnow | #0b040ablack |
| Foreground | #150413black | #fcf8fbsnow |
| Card | #fcf3fblavenderblush | #0f060eblack |
| Card foreground | #11030fblack | #fdfbfdsnow |
| Popover | #fcf3fblavenderblush | #0f060eblack |
| Popover foreground | #11030fblack | #fdfbfdsnow |
| Primary | #faf5f9whitesmoke | #faf5f9whitesmoke |
| Primary foreground | #7b4274dimgray | #7b4274dimgray |
| Secondary | #d9d9d9gainsboro | #3a2738darkslategray |
| Secondary foreground | #404040darkslategray | #d4bfd2thistle |
| Muted | #edd4d4gainsboro | #2b1228black |
| Muted foreground | #4f4a4adarkslategray | #b5b0b4darkgray |
| Accent | #c7bcbcsilver | #4e2d4adarkslategray |
| Accent foreground | #2c2525darkslategray | #e1cbdfthistle |
| Destructive | #741e01maroon | #fd5f2btomato |
| Destructive foreground | #febea9lightpink | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #faf5f9whitesmoke | #faf5f9whitesmoke |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.76:1 | AAA |
| Text on card | 18.50:1 | AAA |
| Primary button | 6.78:1 | AA |
| Secondary button | 7.32:1 | AAA |
| Muted text | 6.21:1 | AA |
| Accent | 8.14:1 | AAA |
| Destructive | 6.81:1 | AA |
| Text on background | 19.24:1 | AAA |
| Text on card | 19.41:1 | AAA |
| Primary button | 6.78:1 | AA |
| Secondary button | 7.99:1 | AAA |
| Muted text | 8.05:1 | AAA |
| Accent | 7.71:1 | AAA |
| Destructive | 6.85:1 | AA |
Paste this into your globals.css to use Married in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.01 329.248);
--foreground: oklch(0.15 0.044 331.836);
--muted: oklch(0.891 0.027 17.676);
--muted-foreground: oklch(0.414 0.006 17.404);
--popover: oklch(0.973 0.015 329.308);
--popover-foreground: oklch(0.137 0.039 331.464);
--card: oklch(0.973 0.015 329.308);
--card-foreground: oklch(0.137 0.039 331.464);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.975 0.007 329.219);
--primary-foreground: oklch(0.467 0.104 331.505);
--secondary: oklch(0.885 0 180);
--secondary-foreground: oklch(0.371 0 168.69);
--accent: oklch(0.805 0.012 17.416);
--accent-foreground: oklch(0.273 0.011 17.849);
--destructive: oklch(0.373 0.125 36.581);
--destructive-foreground: oklch(0.856 0.08 39.221);
--ring: oklch(0.975 0.007 329.219);
--chart-1: oklch(0.975 0.007 329.219);
--chart-2: oklch(0.885 0 180);
--chart-3: oklch(0.805 0.012 17.416);
--chart-4: oklch(0.908 0 180);
--chart-5: oklch(0.975 0.008 329.228);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.126 0.022 330.221);
--foreground: oklch(0.983 0.006 329.205);
--muted: oklch(0.23 0.053 331.609);
--muted-foreground: oklch(0.763 0.008 329.25);
--popover: oklch(0.139 0.025 330.733);
--popover-foreground: oklch(0.991 0.003 329.168);
--card: oklch(0.139 0.025 330.733);
--card-foreground: oklch(0.991 0.003 329.168);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.975 0.007 329.219);
--primary-foreground: oklch(0.467 0.104 331.505);
--secondary: oklch(0.302 0.041 330.603);
--secondary-foreground: oklch(0.827 0.035 329.618);
--accent: oklch(0.349 0.066 331.164);
--accent-foreground: oklch(0.867 0.036 329.604);
--destructive: oklch(0.686 0.202 37.632);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.975 0.007 329.219);
--chart-1: oklch(0.975 0.007 329.219);
--chart-2: oklch(0.302 0.041 330.603);
--chart-3: oklch(0.349 0.066 331.164);
--chart-4: oklch(0.331 0.046 330.646);
--chart-5: oklch(0.975 0.008 329.228);
}