Mare for shadcn/ui

Mare is a shadcn/ui theme built around a muted deep orange primary color (#493f2c) with neutral gray accents (#d5d4d2). The light mode uses a neutral background (#fcfbf8). Dark mode keeps the muted deep orange primary (#493f2c) on an orange-tinted background (#0c0903).

Color palette

TokenLightDark
Background
#fcfbf8snow
#0c0903black
Foreground
#0c0903black
#fdfdfcwhite
Card
#fbf8f4floralwhite
#100c04black
Card foreground
#080602black
#ffffffwhite
Popover
#fcfbf8snow
#0c0903black
Popover foreground
#0c0903black
#fdfdfcwhite
Primary
#493f2cdarkolivegreen
#493f2cdarkolivegreen
Primary foreground
#ded7c9lightgrey
#ded7c9lightgrey
Secondary
#d5d4d2lightgrey
#1a1a19black
Secondary foreground
#3c3b39darkslategray
#b4b3b1darkgray
Muted
#ece7dfantiquewhite
#201b13black
Muted foreground
#615f5cdimgray
#a3a19edarkgray
Accent
#d5d4d2lightgrey
#1a1a19black
Accent foreground
#3c3b39darkslategray
#b4b3b1darkgray
Destructive
#e65400orangered
#ff6e19darkorange
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#493f2cdarkolivegreen
#493f2cdarkolivegreen

Contrast

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

Light mode
Text on background19.17:1AAA
Text on card19.16:1AAA
Primary button7.21:1AAA
Secondary button7.55:1AAA
Muted text5.17:1AA
Accent7.55:1AAA
Destructive3.73:1AA Large
Dark mode
Text on background19.52:1AAA
Text on card19.49:1AAA
Primary button7.21:1AAA
Secondary button8.33:1AAA
Muted text6.62:1AA
Accent8.33:1AAA
Destructive7.48:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.987 0.004 83.059);
  --foreground: oklch(0.142 0.018 89.006);
  --muted: oklch(0.93 0.012 83.065);
  --muted-foreground: oklch(0.487 0.006 83.065);
  --popover: oklch(0.987 0.004 83.059);
  --popover-foreground: oklch(0.142 0.018 89.006);
  --card: oklch(0.981 0.007 83.061);
  --card-foreground: oklch(0.124 0.015 89.774);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.373 0.034 82.656);
  --primary-foreground: oklch(0.881 0.021 83.061);
  --secondary: oklch(0.87 0.003 83.057);
  --secondary-foreground: oklch(0.353 0.004 83.064);
  --accent: oklch(0.87 0.003 83.057);
  --accent-foreground: oklch(0.353 0.004 83.064);
  --destructive: oklch(0.634 0.194 41.259);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.373 0.034 82.656);
  --chart-1: oklch(0.373 0.034 82.656);
  --chart-2: oklch(0.87 0.003 83.057);
  --chart-3: oklch(0.87 0.003 83.057);
  --chart-4: oklch(0.894 0.002 83.056);
  --chart-5: oklch(0.376 0.037 82.524);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.141 0.017 88.943);
  --foreground: oklch(0.993 0.001 83.055);
  --muted: oklch(0.226 0.016 82.857);
  --muted-foreground: oklch(0.711 0.006 83.062);
  --popover: oklch(0.141 0.017 88.943);
  --popover-foreground: oklch(0.993 0.001 83.055);
  --card: oklch(0.157 0.019 85.982);
  --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.373 0.034 82.656);
  --primary-foreground: oklch(0.881 0.021 83.061);
  --secondary: oklch(0.216 0.001 83.061);
  --secondary-foreground: oklch(0.767 0.003 83.058);
  --accent: oklch(0.216 0.001 83.061);
  --accent-foreground: oklch(0.767 0.003 83.058);
  --destructive: oklch(0.706 0.196 44.321);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.373 0.034 82.656);
  --chart-1: oklch(0.373 0.034 82.656);
  --chart-2: oklch(0.216 0.001 83.061);
  --chart-3: oklch(0.216 0.001 83.061);
  --chart-4: oklch(0.249 0.002 83.061);
  --chart-5: oklch(0.376 0.037 82.524);
}