Glitz and Glamour Impala for shadcn/ui

Glitz and Glamour Impala is a shadcn/ui theme built around a muted pink primary color (#985d71) with muted blue accents (#5d7198). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted pink primary (#985d71) on a pink-tinted background (#100508).

Color palette

TokenLightDark
Background
#ffffffwhite
#100508black
Foreground
#100408black
#fdfcfcsnow
Card
#fcfcfcsnow
#13060bblack
Card foreground
#0c0306black
#ffffffwhite
Popover
#fcfcfcsnow
#13060bblack
Popover foreground
#0c0306black
#ffffffwhite
Primary
#985d71gray
#985d71gray
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#71985dgray
#71985dgray
Secondary foreground
#000000black
#000000black
Muted
#dbddd9gainsboro
#232622black
Muted foreground
#4d4d4ddarkslategray
#b3b3b3darkgray
Accent
#5d7198slategray
#855d98slategray
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#7f120amaroon
#d41e11firebrick
Destructive foreground
#fac5c2pink
#ffffffwhite
Border
#efebeclinen
#2b2225darkslategray
Input
#efebeclinen
#2b2225darkslategray
Ring
#985d71gray
#985d71gray

Contrast

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

Light mode
Text on background20.13:1AAA
Text on card19.92:1AAA
Primary button5.07:1AA
Secondary button6.33:1AA
Muted text6.19:1AA
Accent4.92:1AA
Destructive6.91:1AA
Dark mode
Text on background19.60:1AAA
Text on card19.81:1AAA
Primary button5.07:1AA
Secondary button6.33:1AA
Muted text7.31:1AAA
Accent5.22:1AA
Destructive5.24:1AA

CSS variables

Paste this into your globals.css to use Glitz and Glamour Impala in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.134 0.026 356.041);
  --muted: oklch(0.895 0.007 134.863);
  --muted-foreground: oklch(0.418 0 173.29);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.12 0.023 354.501);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.12 0.023 354.501);
  --border: oklch(0.944 0.005 354.74);
  --input: oklch(0.944 0.005 354.74);
  --primary: oklch(0.55 0.081 358.606);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.635 0.095 135.717);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.547 0.066 263.798);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.386 0.144 29.56);
  --destructive-foreground: oklch(0.87 0.061 23.122);
  --ring: oklch(0.55 0.081 358.606);
  --chart-1: oklch(0.55 0.081 358.606);
  --chart-2: oklch(0.635 0.095 135.717);
  --chart-3: oklch(0.547 0.066 263.798);
  --chart-4: oklch(0.661 0.096 135.684);
  --chart-5: oklch(0.547 0.091 359.144);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.135 0.023 355.91);
  --foreground: oklch(0.992 0.001 354.608);
  --muted: oklch(0.263 0.009 134.996);
  --muted-foreground: oklch(0.765 0 172.405);
  --popover: oklch(0.147 0.027 357.861);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.147 0.027 357.861);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.262 0.015 356.177);
  --input: oklch(0.262 0.015 356.177);
  --primary: oklch(0.55 0.081 358.606);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.635 0.095 135.717);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.544 0.1 314.667);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.557 0.214 29.709);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.55 0.081 358.606);
  --chart-1: oklch(0.55 0.081 358.606);
  --chart-2: oklch(0.635 0.095 135.717);
  --chart-3: oklch(0.544 0.1 314.667);
  --chart-4: oklch(0.661 0.096 135.684);
  --chart-5: oklch(0.547 0.091 359.144);
}