Married is a shadcn/ui theme built around a muted orange primary color (#c0a091) with muted yellow accents (#c0b791). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted orange primary (#c0a091) on an orange-tinted background (#0a0705).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0a0705black |
| Foreground | #000000black | #fbfaf9snow |
| Card | #fcfcfcsnow | #0d0907black |
| Card foreground | #000000black | #fdfcfcsnow |
| Popover | #ffffffwhite | #0a0705black |
| Popover foreground | #000000black | #fbfaf9snow |
| Primary | #c0a091rosybrown | #c0a091rosybrown |
| Primary foreground | #130e0bblack | #130e0bblack |
| Secondary | #c09199rosybrown | #c09199rosybrown |
| Secondary foreground | #130b0dblack | #130b0dblack |
| Muted | #eee8e9linen | #171112black |
| Muted foreground | #433d3edarkslategray | #c2bcbdsilver |
| Accent | #c0b791tan | #c0b791tan |
| Accent foreground | #13120bblack | #13120bblack |
| Destructive | #5c100amaroon | #e73427crimson |
| Destructive foreground | #f5a9a3lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #c0a091rosybrown | #c0a091rosybrown |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 7.89:1 | AAA |
| Secondary button | 7.15:1 | AAA |
| Muted text | 8.74:1 | AAA |
| Accent | 9.31:1 | AAA |
| Destructive | 7.24:1 | AAA |
| Text on background | 19.28:1 | AAA |
| Text on card | 19.34:1 | AAA |
| Primary button | 7.89:1 | AAA |
| Secondary button | 7.15:1 | AAA |
| Muted text | 9.94:1 | AAA |
| Accent | 9.31:1 | AAA |
| Destructive | 4.26:1 | AA Large |
Paste this into your globals.css to use Married in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0 0 0);
--muted: oklch(0.935 0.007 4.504);
--muted-foreground: oklch(0.365 0.009 4.96);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.73 0.044 46.277);
--primary-foreground: oklch(0.169 0.011 46.228);
--secondary: oklch(0.703 0.058 6.439);
--secondary-foreground: oklch(0.162 0.015 6.662);
--accent: oklch(0.777 0.053 96.866);
--accent-foreground: oklch(0.181 0.013 96.906);
--destructive: oklch(0.311 0.109 29.112);
--destructive-foreground: oklch(0.806 0.091 23.814);
--ring: oklch(0.73 0.044 46.277);
--chart-1: oklch(0.73 0.044 46.277);
--chart-2: oklch(0.703 0.058 6.439);
--chart-3: oklch(0.777 0.053 96.866);
--chart-4: oklch(0.73 0.052 6.157);
--chart-5: oklch(0.73 0.048 46.221);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.131 0.008 50.821);
--foreground: oklch(0.985 0.001 46.843);
--muted: oklch(0.187 0.01 5.753);
--muted-foreground: oklch(0.801 0.007 4.554);
--popover: oklch(0.131 0.008 50.821);
--popover-foreground: oklch(0.985 0.001 46.843);
--card: oklch(0.145 0.009 49.173);
--card-foreground: oklch(0.992 0.001 46.851);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.73 0.044 46.277);
--primary-foreground: oklch(0.169 0.011 46.228);
--secondary: oklch(0.703 0.058 6.439);
--secondary-foreground: oklch(0.162 0.015 6.662);
--accent: oklch(0.777 0.053 96.866);
--accent-foreground: oklch(0.181 0.013 96.906);
--destructive: oklch(0.607 0.216 29.22);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.73 0.044 46.277);
--chart-1: oklch(0.73 0.044 46.277);
--chart-2: oklch(0.703 0.058 6.439);
--chart-3: oklch(0.777 0.053 96.866);
--chart-4: oklch(0.73 0.052 6.157);
--chart-5: oklch(0.73 0.048 46.221);
}