Married for shadcn/ui

Married is a shadcn/ui theme built around a vivid orange primary color (#ff770f) with muted light orange accents (#d0c0b3). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid orange primary (#ff770f) on a neutral background (#040201).

Color palette

TokenLightDark
Background
#ffffffwhite
#040201black
Foreground
#000000black
#fbfaf9snow
Card
#fcfcfcsnow
#080502black
Card foreground
#000000black
#fdfcfcsnow
Popover
#fcfcfcsnow
#080502black
Popover foreground
#000000black
#fdfcfcsnow
Primary
#ff770fdarkorange
#ff770fdarkorange
Primary foreground
#000000black
#000000black
Secondary
#d8d0cblightgrey
#221e1cblack
Secondary foreground
#403730darkslategray
#bfb7b0silver
Muted
#e8dfd9gainsboro
#261e17black
Muted foreground
#584b41darkolivegreen
#beb1a7darkgray
Accent
#d0c0b3silver
#382f29darkslategray
Accent foreground
#33271fdarkslategray
#d2c8c1silver
Destructive
#993706saddlebrown
#dd4f08chocolate
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#ff770fdarkorange
#ff770fdarkorange

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.90:1AAA
Secondary button7.64:1AAA
Muted text6.41:1AA
Accent8.18:1AAA
Destructive7.27:1AAA
Dark mode
Text on background19.82:1AAA
Text on card19.87:1AAA
Primary button7.90:1AAA
Secondary button8.35:1AAA
Muted text7.85:1AAA
Accent7.91:1AAA
Destructive4.02: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.91 0.013 60.086);
  --muted-foreground: oklch(0.423 0.024 59.482);
  --popover: oklch(0.992 0 161.565);
  --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.719 0.19 48.653);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.863 0.011 60.106);
  --secondary-foreground: oklch(0.344 0.017 59.581);
  --accent: oklch(0.818 0.026 59.847);
  --accent-foreground: oklch(0.285 0.022 59.113);
  --destructive: oklch(0.47 0.141 40.992);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.719 0.19 48.653);
  --chart-1: oklch(0.719 0.19 48.653);
  --chart-2: oklch(0.863 0.011 60.106);
  --chart-3: oklch(0.818 0.026 59.847);
  --chart-4: oklch(0.886 0.009 60.141);
  --chart-5: oklch(0.724 0.194 48.035);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.093 0.01 68.146);
  --foreground: oklch(0.985 0.001 60.267);
  --muted: oklch(0.241 0.018 59.167);
  --muted-foreground: oklch(0.768 0.02 59.916);
  --popover: oklch(0.117 0.012 68.146);
  --popover-foreground: oklch(0.992 0.001 60.275);
  --card: oklch(0.117 0.012 68.146);
  --card-foreground: oklch(0.992 0.001 60.275);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.719 0.19 48.653);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.239 0.007 59.86);
  --secondary-foreground: oklch(0.783 0.013 60.061);
  --accent: oklch(0.314 0.017 59.5);
  --accent-foreground: oklch(0.84 0.015 60.039);
  --destructive: oklch(0.615 0.19 40.13);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.719 0.19 48.653);
  --chart-1: oklch(0.719 0.19 48.653);
  --chart-2: oklch(0.239 0.007 59.86);
  --chart-3: oklch(0.314 0.017 59.5);
  --chart-4: oklch(0.271 0.009 59.831);
  --chart-5: oklch(0.724 0.194 48.035);
}