Boutique for shadcn/ui

Boutique is a shadcn/ui theme built around a muted teal primary color (#96bbaa) with muted orange accents (#bbaa96). The light mode uses a neutral background (#fbfefd). Dark mode keeps the muted teal primary (#96bbaa) on a teal-tinted background (#030c08).

Color palette

TokenLightDark
Background
#fbfefdwhite
#030c08black
Foreground
#010403black
#f9fbfamintcream
Card
#fbfefdwhite
#030c08black
Card foreground
#010403black
#f9fbfamintcream
Popover
#fbfefdwhite
#030c08black
Popover foreground
#010403black
#f9fbfamintcream
Primary
#96bbaadarkgray
#96bbaadarkgray
Primary foreground
#0c1310black
#0c1310black
Secondary
#aa96bbdarkgray
#aa96bbdarkgray
Secondary foreground
#100c13black
#100c13black
Muted
#d9d5dcgainsboro
#26232adarkslategray
Muted foreground
#4a4a4adarkslategray
#b5b5b5silver
Accent
#bbaa96darkgray
#bbaa96darkgray
Accent foreground
#13100cblack
#13100cblack
Destructive
#8d2207darkred
#f4461aorangered
Destructive foreground
#fcd4c9bisque
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#96bbaadarkgray
#96bbaadarkgray

Contrast

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

Light mode
Text on background20.28:1AAA
Text on card20.28:1AAA
Primary button8.90:1AAA
Secondary button7.17:1AAA
Muted text6.13:1AA
Accent8.35:1AAA
Destructive6.51:1AA
Dark mode
Text on background19.04:1AAA
Text on card19.04:1AAA
Primary button8.90:1AAA
Secondary button7.17:1AAA
Muted text7.55:1AAA
Accent8.35:1AAA
Destructive3.65:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.004 166.798);
  --foreground: oklch(0.098 0.012 167.104);
  --muted: oklch(0.879 0.01 309.67);
  --muted-foreground: oklch(0.409 0 190.305);
  --popover: oklch(0.994 0.004 166.798);
  --popover-foreground: oklch(0.098 0.012 167.104);
  --card: oklch(0.994 0.004 166.798);
  --card-foreground: oklch(0.098 0.012 167.104);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.759 0.046 165.132);
  --primary-foreground: oklch(0.177 0.012 164.96);
  --secondary: oklch(0.703 0.057 308.989);
  --secondary-foreground: oklch(0.162 0.014 308.907);
  --accent: oklch(0.746 0.034 70.989);
  --accent-foreground: oklch(0.173 0.009 70.935);
  --destructive: oklch(0.425 0.147 33.962);
  --destructive-foreground: oklch(0.901 0.048 34.343);
  --ring: oklch(0.759 0.046 165.132);
  --chart-1: oklch(0.759 0.046 165.132);
  --chart-2: oklch(0.703 0.057 308.989);
  --chart-3: oklch(0.746 0.034 70.989);
  --chart-4: oklch(0.73 0.051 309.093);
  --chart-5: oklch(0.763 0.052 164.879);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.143 0.02 166.673);
  --foreground: oklch(0.986 0.002 166.852);
  --muted: oklch(0.262 0.014 309.269);
  --muted-foreground: oklch(0.773 0 180);
  --popover: oklch(0.143 0.02 166.673);
  --popover-foreground: oklch(0.986 0.002 166.852);
  --card: oklch(0.143 0.02 166.673);
  --card-foreground: oklch(0.986 0.002 166.852);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.759 0.046 165.132);
  --primary-foreground: oklch(0.177 0.012 164.96);
  --secondary: oklch(0.703 0.057 308.989);
  --secondary-foreground: oklch(0.162 0.014 308.907);
  --accent: oklch(0.746 0.034 70.989);
  --accent-foreground: oklch(0.173 0.009 70.935);
  --destructive: oklch(0.643 0.217 34.195);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.759 0.046 165.132);
  --chart-1: oklch(0.759 0.046 165.132);
  --chart-2: oklch(0.703 0.057 308.989);
  --chart-3: oklch(0.746 0.034 70.989);
  --chart-4: oklch(0.73 0.051 309.093);
  --chart-5: oklch(0.763 0.052 164.879);
}