Winery for shadcn/ui

Winery is a shadcn/ui theme built around a pink primary color (#801e49) with muted light pink accents (#e5e0e3). The light mode uses a neutral background (#fefbfc). Dark mode keeps the pink primary (#801e49) on a neutral background (#040102).

Color palette

TokenLightDark
Background
#fefbfcsnow
#040102black
Foreground
#16030bblack
#fdfcfcsnow
Card
#fefbfcsnow
#040102black
Card foreground
#16030bblack
#fdfcfcsnow
Popover
#fefbfcsnow
#040102black
Popover foreground
#16030bblack
#fdfcfcsnow
Primary
#801e49brown
#801e49brown
Primary foreground
#f6dae6mistyrose
#f6dae6mistyrose
Secondary
#e5e0e3gainsboro
#332e30darkslategray
Secondary foreground
#514349darkslategray
#ccc7c9silver
Muted
#e3d4dagainsboro
#2b1c23black
Muted foreground
#514349darkslategray
#bcaeb4silver
Accent
#e5e0e3gainsboro
#332e30darkslategray
Accent foreground
#514349darkslategray
#ccc7c9silver
Destructive
#d51601red
#fe4834tomato
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#801e49brown
#801e49brown

Contrast

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

Light mode
Text on background19.42:1AAA
Text on card19.42:1AAA
Primary button7.31:1AAA
Secondary button7.18:1AAA
Muted text6.52:1AA
Accent7.18:1AAA
Destructive5.31:1AA
Dark mode
Text on background20.27:1AAA
Text on card20.27:1AAA
Primary button7.31:1AAA
Secondary button7.99:1AAA
Muted text7.60:1AAA
Accent7.99:1AAA
Destructive3.38:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.003 348.821);
  --foreground: oklch(0.144 0.042 352.973);
  --muted: oklch(0.883 0.019 349.311);
  --muted-foreground: oklch(0.4 0.02 350.096);
  --popover: oklch(0.991 0.003 348.821);
  --popover-foreground: oklch(0.144 0.042 352.973);
  --card: oklch(0.991 0.003 348.821);
  --card-foreground: oklch(0.144 0.042 352.973);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.409 0.137 358.989);
  --primary-foreground: oklch(0.915 0.035 349.774);
  --secondary: oklch(0.913 0.006 348.922);
  --secondary-foreground: oklch(0.4 0.02 350.096);
  --accent: oklch(0.913 0.006 348.922);
  --accent-foreground: oklch(0.4 0.02 350.096);
  --destructive: oklch(0.555 0.219 30.382);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.409 0.137 358.989);
  --chart-1: oklch(0.409 0.137 358.989);
  --chart-2: oklch(0.913 0.006 348.922);
  --chart-3: oklch(0.913 0.006 348.922);
  --chart-4: oklch(0.937 0.004 348.866);
  --chart-5: oklch(0.412 0.142 359.563);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.084 0.015 348.411);
  --foreground: oklch(0.991 0.002 348.79);
  --muted: oklch(0.249 0.026 351.462);
  --muted-foreground: oklch(0.765 0.017 349.347);
  --popover: oklch(0.084 0.015 348.411);
  --popover-foreground: oklch(0.991 0.002 348.79);
  --card: oklch(0.084 0.015 348.411);
  --card-foreground: oklch(0.991 0.002 348.79);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.409 0.137 358.989);
  --primary-foreground: oklch(0.915 0.035 349.774);
  --secondary: oklch(0.307 0.008 349.431);
  --secondary-foreground: oklch(0.834 0.007 348.957);
  --accent: oklch(0.307 0.008 349.431);
  --accent-foreground: oklch(0.834 0.007 348.957);
  --destructive: oklch(0.664 0.221 30.185);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.409 0.137 358.989);
  --chart-1: oklch(0.409 0.137 358.989);
  --chart-2: oklch(0.307 0.008 349.431);
  --chart-3: oklch(0.307 0.008 349.431);
  --chart-4: oklch(0.337 0.009 349.453);
  --chart-5: oklch(0.412 0.142 359.563);
}