Valley Vineyards Magpie - DI for shadcn/ui

Valley Vineyards Magpie - DI is a shadcn/ui theme built around a yellow primary color (#88743a) with green accents (#74883a). The light mode uses a neutral background (#fefdfb). Dark mode keeps the yellow primary (#88743a) on a yellow-tinted background (#100d04).

Color palette

TokenLightDark
Background
#fefdfbsnow
#100d04black
Foreground
#141006black
#fcfbf8snow
Card
#fefdfbsnow
#100d04black
Card foreground
#141006black
#fcfbf8snow
Popover
#fefdfbsnow
#100d04black
Popover foreground
#141006black
#fcfbf8snow
Primary
#88743asienna
#88743asienna
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#884e3asienna
#884e3asienna
Secondary foreground
#fcf9f8snow
#fcf9f8snow
Muted
#e8ddd9gainsboro
#261b17black
Muted foreground
#4c413edarkslategray
#c1b7b3silver
Accent
#74883aolivedrab
#74883aolivedrab
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#631c03maroon
#ef4406orangered
Destructive foreground
#fcb59cburlywood
#ffffffwhite
Border
#f0f0efwhitesmoke
#1a1a19black
Input
#f0f0efwhitesmoke
#1a1a19black
Ring
#88743asienna
#88743asienna

Contrast

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

Light mode
Text on background18.68:1AAA
Text on card18.68:1AAA
Primary button4.55:1AA
Secondary button6.30:1AA
Muted text7.37:1AAA
Accent3.95:1AA Large
Destructive7.16:1AAA
Dark mode
Text on background18.74:1AAA
Text on card18.74:1AAA
Primary button4.55:1AA
Secondary button6.30:1AA
Muted text8.54:1AAA
Accent3.95:1AA Large
Destructive3.82:1AA Large

CSS variables

Paste this into your globals.css to use Valley Vineyards Magpie - DI in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.003 91.434);
  --foreground: oklch(0.175 0.022 92.643);
  --muted: oklch(0.904 0.013 39.42);
  --muted-foreground: oklch(0.386 0.015 39.314);
  --popover: oklch(0.994 0.003 91.434);
  --popover-foreground: oklch(0.175 0.022 92.643);
  --card: oklch(0.994 0.003 91.434);
  --card-foreground: oklch(0.175 0.022 92.643);
  --border: oklch(0.955 0.001 91.418);
  --input: oklch(0.955 0.001 91.418);
  --primary: oklch(0.565 0.081 91.245);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.486 0.084 39.141);
  --secondary-foreground: oklch(0.984 0.004 39.484);
  --accent: oklch(0.593 0.106 121.422);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.34 0.108 38.104);
  --destructive-foreground: oklch(0.835 0.091 40.826);
  --ring: oklch(0.565 0.081 91.245);
  --chart-1: oklch(0.565 0.081 91.245);
  --chart-2: oklch(0.486 0.084 39.141);
  --chart-3: oklch(0.593 0.106 121.422);
  --chart-4: oklch(0.513 0.09 39.137);
  --chart-5: oklch(0.571 0.086 91.076);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.16 0.02 93.868);
  --foreground: oklch(0.988 0.004 91.444);
  --muted: oklch(0.234 0.019 39.232);
  --muted-foreground: oklch(0.786 0.013 39.411);
  --popover: oklch(0.16 0.02 93.868);
  --popover-foreground: oklch(0.988 0.004 91.444);
  --card: oklch(0.16 0.02 93.868);
  --card-foreground: oklch(0.988 0.004 91.444);
  --border: oklch(0.217 0.002 91.5);
  --input: oklch(0.217 0.002 91.5);
  --primary: oklch(0.565 0.081 91.245);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.486 0.084 39.141);
  --secondary-foreground: oklch(0.984 0.004 39.484);
  --accent: oklch(0.593 0.106 121.422);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.632 0.215 35.87);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.565 0.081 91.245);
  --chart-1: oklch(0.565 0.081 91.245);
  --chart-2: oklch(0.486 0.084 39.141);
  --chart-3: oklch(0.593 0.106 121.422);
  --chart-4: oklch(0.513 0.09 39.137);
  --chart-5: oklch(0.571 0.086 91.076);
}