Valley Vineyards Ferret for shadcn/ui

Valley Vineyards Ferret is a shadcn/ui theme built around a yellow primary color (#88743a) with green accents (#74883a). The light mode uses a neutral background (#ffffff). Dark mode keeps the yellow primary (#88743a) on a yellow-tinted background (#0b0905).

Color palette

TokenLightDark
Background
#ffffffwhite
#0b0905black
Foreground
#090701black
#fdfdfcwhite
Card
#fcfcfcsnow
#0e0c06black
Card foreground
#040301black
#ffffffwhite
Popover
#ffffffwhite
#0b0905black
Popover foreground
#090701black
#fdfdfcwhite
Primary
#88743asienna
#88743asienna
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#884e3asienna
#884e3asienna
Secondary foreground
#fcf9f8snow
#fcf9f8snow
Muted
#ded6d3gainsboro
#2c2421darkslategray
Muted foreground
#534641darkslategray
#beb1acdarkgray
Accent
#74883aolivedrab
#74883aolivedrab
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#681e03maroon
#fa6833tomato
Destructive foreground
#fdb9a1lightpink
#000000black
Border
#f3f2f2whitesmoke
#1a1a19black
Input
#f3f2f2whitesmoke
#1a1a19black
Ring
#88743asienna
#88743asienna

Contrast

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

Light mode
Text on background20.14:1AAA
Text on card20.17:1AAA
Primary button4.55:1AA
Secondary button6.30:1AA
Muted text6.32:1AA
Accent3.95:1AA Large
Destructive7.10:1AAA
Dark mode
Text on background19.54:1AAA
Text on card19.53:1AAA
Primary button4.55:1AA
Secondary button6.30:1AA
Muted text7.32:1AAA
Accent3.95:1AA Large
Destructive7.08:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.128 0.019 97.462);
  --muted: oklch(0.882 0.01 39.44);
  --muted-foreground: oklch(0.405 0.02 39.288);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.128 0.019 97.462);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.101 0.015 97.462);
  --border: oklch(0.962 0.001 91.416);
  --input: oklch(0.962 0.001 91.416);
  --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.351 0.112 37.913);
  --destructive-foreground: oklch(0.842 0.086 40.844);
  --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.14 0.012 94.915);
  --foreground: oklch(0.993 0.001 91.414);
  --muted: oklch(0.267 0.013 39.286);
  --muted-foreground: oklch(0.769 0.017 39.385);
  --popover: oklch(0.14 0.012 94.915);
  --popover-foreground: oklch(0.993 0.001 91.414);
  --card: oklch(0.155 0.013 93.085);
  --card-foreground: oklch(1 0 180);
  --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.693 0.19 39.158);
  --destructive-foreground: oklch(0 0 0);
  --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);
}