Winner for shadcn/ui

Winner is a shadcn/ui theme built around a muted light pink primary color (#e1cbd9) with neutral gray accents (#cdcbcc). The light mode uses a neutral background (#fdf6fb). Dark mode keeps the muted light pink primary (#e1cbd9) on a neutral background (#070306).

Color palette

TokenLightDark
Background
#fdf6fbsnow
#070306black
Foreground
#0c0309black
#fbf9fasnow
Card
#fdf6fbsnow
#070306black
Card foreground
#0c0309black
#fbf9fasnow
Popover
#fdf6fbsnow
#070306black
Popover foreground
#0c0309black
#fbf9fasnow
Primary
#e1cbd9thistle
#e1cbd9thistle
Primary foreground
#4e2d42darkslategray
#4e2d42darkslategray
Secondary
#cdcbcclightgrey
#252224black
Secondary foreground
#343233darkslategray
#c0b9besilver
Muted
#ead2e1gainsboro
#2d1524black
Muted foreground
#595959dimgray
#a6a6a6darkgray
Accent
#cdcbcclightgrey
#252224black
Accent foreground
#343233darkslategray
#c0b9besilver
Destructive
#641207maroon
#e42a11orangered
Destructive foreground
#f8afa5lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#e1cbd9thistle
#e1cbd9thistle

Contrast

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

Light mode
Text on background19.18:1AAA
Text on card19.18:1AAA
Primary button7.74:1AAA
Secondary button7.90:1AAA
Muted text4.92:1AA
Accent7.90:1AAA
Destructive7.16:1AAA
Dark mode
Text on background19.53:1AAA
Text on card19.53:1AAA
Primary button7.74:1AAA
Secondary button8.18:1AAA
Muted text6.92:1AA
Accent8.18:1AAA
Destructive4.54:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.981 0.01 338.929);
  --foreground: oklch(0.122 0.027 339.432);
  --muted: oklch(0.887 0.034 339.523);
  --muted-foreground: oklch(0.465 0 180);
  --popover: oklch(0.981 0.01 338.929);
  --popover-foreground: oklch(0.122 0.027 339.432);
  --card: oklch(0.981 0.01 338.929);
  --card-foreground: oklch(0.122 0.027 339.432);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.865 0.031 339.466);
  --primary-foreground: oklch(0.345 0.058 342.05);
  --secondary: oklch(0.845 0.001 338.756);
  --secondary-foreground: oklch(0.32 0.002 338.841);
  --accent: oklch(0.845 0.001 338.756);
  --accent-foreground: oklch(0.32 0.002 338.841);
  --destructive: oklch(0.329 0.116 31.11);
  --destructive-foreground: oklch(0.82 0.088 27.522);
  --ring: oklch(0.865 0.031 339.466);
  --chart-1: oklch(0.865 0.031 339.466);
  --chart-2: oklch(0.845 0.001 338.756);
  --chart-3: oklch(0.845 0.001 338.756);
  --chart-4: oklch(0.868 0.001 338.749);
  --chart-5: oklch(0.864 0.034 339.548);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.11 0.014 338.897);
  --foreground: oklch(0.984 0.002 338.758);
  --muted: oklch(0.237 0.047 342.645);
  --muted-foreground: oklch(0.724 0 180);
  --popover: oklch(0.11 0.014 338.897);
  --popover-foreground: oklch(0.984 0.002 338.758);
  --card: oklch(0.11 0.014 338.897);
  --card-foreground: oklch(0.984 0.002 338.758);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.865 0.031 339.466);
  --primary-foreground: oklch(0.345 0.058 342.05);
  --secondary: oklch(0.256 0.007 339.275);
  --secondary-foreground: oklch(0.794 0.009 338.973);
  --accent: oklch(0.256 0.007 339.275);
  --accent-foreground: oklch(0.794 0.009 338.973);
  --destructive: oklch(0.592 0.222 30.937);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.865 0.031 339.466);
  --chart-1: oklch(0.865 0.031 339.466);
  --chart-2: oklch(0.256 0.007 339.275);
  --chart-3: oklch(0.256 0.007 339.275);
  --chart-4: oklch(0.287 0.008 339.304);
  --chart-5: oklch(0.864 0.034 339.548);
}