Married for shadcn/ui

Married is a shadcn/ui theme built around a green primary color (#8fcb57) with green accents (#57cb59). The light mode uses a neutral background (#fcfdfc). Dark mode keeps the green primary (#8fcb57) on a neutral background (#050703).

Color palette

TokenLightDark
Background
#fcfdfcwhite
#050703black
Foreground
#0a1202black
#ffffffwhite
Card
#fafcf8snow
#080b04black
Card foreground
#070d02black
#ffffffwhite
Popover
#fafcf8snow
#080b04black
Popover foreground
#070d02black
#ffffffwhite
Primary
#8fcb57yellowgreen
#8fcb57yellowgreen
Primary foreground
#000000black
#000000black
Secondary
#cacb57darkkhaki
#cacb57darkkhaki
Secondary foreground
#424214darkolivegreen
#424214darkolivegreen
Muted
#e7e8d9gainsboro
#262617black
Muted foreground
#5e5e55dimgray
#aaaaa1darkgray
Accent
#57cb59mediumseagreen
#57cb59mediumseagreen
Accent foreground
#000000black
#000000black
Destructive
#942f00saddlebrown
#f04c00orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#8fcb57yellowgreen
#8fcb57yellowgreen

Contrast

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

Light mode
Text on background18.76:1AAA
Text on card19.02:1AAA
Primary button10.90:1AAA
Secondary button6.04:1AA
Muted text5.27:1AA
Accent10.13:1AAA
Destructive7.89:1AAA
Dark mode
Text on background20.19:1AAA
Text on card19.80:1AAA
Primary button10.90:1AAA
Secondary button6.04:1AA
Muted text6.54:1AA
Accent10.13:1AAA
Destructive3.66:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.003 129.154);
  --foreground: oklch(0.168 0.036 129.363);
  --muted: oklch(0.926 0.02 107.55);
  --muted-foreground: oklch(0.478 0.014 107.694);
  --popover: oklch(0.988 0.005 129.182);
  --popover-foreground: oklch(0.15 0.031 128.047);
  --card: oklch(0.988 0.005 129.182);
  --card-foreground: oklch(0.15 0.031 128.047);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.778 0.161 131.977);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.819 0.139 109.99);
  --secondary-foreground: oklch(0.369 0.066 110.126);
  --accent: oklch(0.752 0.187 143.71);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.452 0.144 39.316);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.778 0.161 131.977);
  --chart-1: oklch(0.778 0.161 131.977);
  --chart-2: oklch(0.819 0.139 109.99);
  --chart-3: oklch(0.752 0.187 143.71);
  --chart-4: oklch(0.831 0.131 109.813);
  --chart-5: oklch(0.785 0.168 132.145);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.125 0.016 128.125);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.263 0.026 108.845);
  --muted-foreground: oklch(0.736 0.013 107.479);
  --popover: oklch(0.143 0.019 128.214);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.143 0.019 128.214);
  --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.778 0.161 131.977);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.819 0.139 109.99);
  --secondary-foreground: oklch(0.369 0.066 110.126);
  --accent: oklch(0.752 0.187 143.71);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.641 0.21 37.939);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.778 0.161 131.977);
  --chart-1: oklch(0.778 0.161 131.977);
  --chart-2: oklch(0.819 0.139 109.99);
  --chart-3: oklch(0.752 0.187 143.71);
  --chart-4: oklch(0.831 0.131 109.813);
  --chart-5: oklch(0.785 0.168 132.145);
}