Married for shadcn/ui

Married is a shadcn/ui theme built around a muted teal primary color (#93aeac) with muted blue accents (#93a3ae). The light mode uses a neutral background (#f8fcfb). Dark mode keeps the muted teal primary (#93aeac) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#f8fcfbmintcream
#000000black
Foreground
#020d0cblack
#fcfdfdwhite
Card
#f5faf9mintcream
#030303black
Card foreground
#010908black
#ffffffwhite
Popover
#f8fcfbmintcream
#000000black
Popover foreground
#020d0cblack
#fcfdfdwhite
Primary
#93aeacdarkgray
#93aeacdarkgray
Primary foreground
#070909black
#070909black
Secondary
#93ae9edarkseagreen
#93ae9edarkseagreen
Secondary foreground
#070907black
#070907black
Muted
#cde5d7gainsboro
#1a3224darkslategray
Muted foreground
#5f6763dimgray
#98a09bdarkgray
Accent
#93a3aedarkgray
#93a3aedarkgray
Accent foreground
#070809black
#070809black
Destructive
#a1190cfirebrick
#d52110firebrick
Destructive foreground
#fde5e3mistyrose
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#93aeacdarkgray
#93aeacdarkgray

Contrast

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

Light mode
Text on background19.01:1AAA
Text on card19.06:1AAA
Primary button8.44:1AAA
Secondary button8.36:1AAA
Muted text4.36:1AA Large
Accent7.71:1AAA
Destructive6.57:1AA
Dark mode
Text on background20.60:1AAA
Text on card20.67:1AAA
Primary button8.44:1AAA
Secondary button8.36:1AAA
Muted text5.12:1AA
Accent7.71:1AAA
Destructive5.16:1AA

CSS variables

Paste this into your globals.css to use Married in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.987 0.003 191.173);
  --foreground: oklch(0.147 0.02 189.494);
  --muted: oklch(0.899 0.031 160.168);
  --muted-foreground: oklch(0.507 0.012 160.437);
  --popover: oklch(0.987 0.003 191.173);
  --popover-foreground: oklch(0.147 0.02 189.494);
  --card: oklch(0.981 0.005 191.134);
  --card-foreground: oklch(0.128 0.017 190.176);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.73 0.029 190.362);
  --primary-foreground: oklch(0.135 0.004 190.981);
  --secondary: oklch(0.726 0.037 159.768);
  --secondary-foreground: oklch(0.135 0.005 160.995);
  --accent: oklch(0.706 0.024 238.855);
  --accent-foreground: oklch(0.132 0.003 236.472);
  --destructive: oklch(0.457 0.172 30.075);
  --destructive-foreground: oklch(0.94 0.027 23.878);
  --ring: oklch(0.73 0.029 190.362);
  --chart-1: oklch(0.73 0.029 190.362);
  --chart-2: oklch(0.726 0.037 159.768);
  --chart-3: oklch(0.706 0.024 238.855);
  --chart-4: oklch(0.749 0.033 159.917);
  --chart-5: oklch(0.735 0.035 190.186);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.993 0.002 191.216);
  --muted: oklch(0.293 0.039 157.275);
  --muted-foreground: oklch(0.696 0.011 160.628);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.993 0.002 191.216);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.73 0.029 190.362);
  --primary-foreground: oklch(0.135 0.004 190.981);
  --secondary: oklch(0.726 0.037 159.768);
  --secondary-foreground: oklch(0.135 0.005 160.995);
  --accent: oklch(0.706 0.024 238.855);
  --accent-foreground: oklch(0.132 0.003 236.472);
  --destructive: oklch(0.56 0.214 30.093);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.73 0.029 190.362);
  --chart-1: oklch(0.73 0.029 190.362);
  --chart-2: oklch(0.726 0.037 159.768);
  --chart-3: oklch(0.706 0.024 238.855);
  --chart-4: oklch(0.749 0.033 159.917);
  --chart-5: oklch(0.735 0.035 190.186);
}