Married is a shadcn/ui theme built around a violet primary color (#8236c4) with teal accents (#36c482). The light mode uses a neutral background (#fdfbfe). Dark mode keeps the violet primary (#8236c4) on a violet-tinted background (#0b0510).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfbfewhite | #0b0510black |
| Foreground | #030104black | #fdfcfdwhite |
| Card | #fdfbfewhite | #0b0510black |
| Card foreground | #030104black | #fdfcfdwhite |
| Popover | #fdfbfewhite | #0b0510black |
| Popover foreground | #030104black | #fdfcfdwhite |
| Primary | #8236c4darkorchid | #8236c4darkorchid |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #c48236peru | #c48236peru |
| Secondary foreground | #000000black | #000000black |
| Muted | #f4f0eblinen | #14100bblack |
| Muted foreground | #49433cdarkslategray | #c3bdb6silver |
| Accent | #36c482mediumseagreen | #36c482mediumseagreen |
| Accent foreground | #0a2418black | #0a2418black |
| Destructive | #ad0401darkred | #f90501red |
| Destructive foreground | #ffe1e1mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #8236c4darkorchid | #8236c4darkorchid |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.19:1 | AAA |
| Text on card | 20.19:1 | AAA |
| Primary button | 6.43:1 | AA |
| Secondary button | 6.58:1 | AA |
| Muted text | 8.60:1 | AAA |
| Accent | 7.34:1 | AAA |
| Destructive | 6.14:1 | AA |
| Text on background | 19.69:1 | AAA |
| Text on card | 19.69:1 | AAA |
| Primary button | 6.43:1 | AA |
| Secondary button | 6.58:1 | AA |
| Muted text | 10.19:1 | AAA |
| Accent | 7.34:1 | AAA |
| Destructive | 4.16:1 | AA Large |
Paste this into your globals.css to use Married in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.004 309.746);
--foreground: oklch(0.081 0.019 311.59);
--muted: oklch(0.957 0.007 71.383);
--muted-foreground: oklch(0.386 0.014 71.081);
--popover: oklch(0.99 0.004 309.746);
--popover-foreground: oklch(0.081 0.019 311.59);
--card: oklch(0.99 0.004 309.746);
--card-foreground: oklch(0.081 0.019 311.59);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.51 0.21 304.106);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.66 0.122 66.116);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.73 0.154 158.007);
--accent-foreground: oklch(0.236 0.04 160.661);
--destructive: oklch(0.47 0.191 29.392);
--destructive-foreground: oklch(0.934 0.033 18.921);
--ring: oklch(0.51 0.21 304.106);
--chart-1: oklch(0.51 0.21 304.106);
--chart-2: oklch(0.66 0.122 66.116);
--chart-3: oklch(0.73 0.154 158.007);
--chart-4: oklch(0.683 0.12 66.804);
--chart-5: oklch(0.509 0.218 303.659);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.131 0.028 309.633);
--foreground: oklch(0.991 0.003 309.758);
--muted: oklch(0.174 0.011 70.712);
--muted-foreground: oklch(0.802 0.012 71.316);
--popover: oklch(0.131 0.028 309.633);
--popover-foreground: oklch(0.991 0.003 309.758);
--card: oklch(0.131 0.028 309.633);
--card-foreground: oklch(0.991 0.003 309.758);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.51 0.21 304.106);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.66 0.122 66.116);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.73 0.154 158.007);
--accent-foreground: oklch(0.236 0.04 160.661);
--destructive: oklch(0.617 0.252 29.334);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.51 0.21 304.106);
--chart-1: oklch(0.51 0.21 304.106);
--chart-2: oklch(0.66 0.122 66.116);
--chart-3: oklch(0.73 0.154 158.007);
--chart-4: oklch(0.683 0.12 66.804);
--chart-5: oklch(0.509 0.218 303.659);
}