Married for shadcn/ui

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).

Color palette

TokenLightDark
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

Contrast

WCAG 2 contrast ratios between each background and its foreground color.

Light mode
Text on background21.00:1AAA
Text on card20.54:1AAA
Primary button7.89:1AAA
Secondary button7.15:1AAA
Muted text8.74:1AAA
Accent9.31:1AAA
Destructive7.24:1AAA
Dark mode
Text on background19.28:1AAA
Text on card19.34:1AAA
Primary button7.89:1AAA
Secondary button7.15:1AAA
Muted text9.94:1AAA
Accent9.31:1AAA
Destructive4.26:1AA Large

CSS variables

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);
}