Venison for shadcn/ui

Venison is a shadcn/ui theme built around a cyan primary color (#abc8d4) with green accents (#c8d4ab). The light mode uses a neutral background (#ffffff). Dark mode keeps the cyan primary (#abc8d4) on a cyan-tinted background (#05090a).

Color palette

TokenLightDark
Background
#ffffffwhite
#05090ablack
Foreground
#020e12black
#ffffffwhite
Card
#ffffffwhite
#05090ablack
Card foreground
#020e12black
#ffffffwhite
Popover
#ffffffwhite
#05090ablack
Popover foreground
#020e12black
#ffffffwhite
Primary
#abc8d4lightsteelblue
#abc8d4lightsteelblue
Primary foreground
#1a2c32darkslategray
#1a2c32darkslategray
Secondary
#d4abc8plum
#d4abc8plum
Secondary foreground
#321a2cdarkslategray
#321a2cdarkslategray
Muted
#f4ebf2whitesmoke
#140b11black
Muted foreground
#423e41darkslategray
#c1bdc0silver
Accent
#c8d4absilver
#c8d4absilver
Accent foreground
#2c321adarkslategray
#2c321adarkslategray
Destructive
#bc2106firebrick
#f95234tomato
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#abc8d4lightsteelblue
#abc8d4lightsteelblue

Contrast

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

Light mode
Text on background19.55:1AAA
Text on card19.55:1AAA
Primary button8.23:1AAA
Secondary button7.90:1AAA
Muted text9.04:1AAA
Accent8.50:1AAA
Destructive6.25:1AA
Dark mode
Text on background20.01:1AAA
Text on card20.01:1AAA
Primary button8.23:1AAA
Secondary button7.90:1AAA
Muted text10.42:1AAA
Accent8.50:1AAA
Destructive6.26:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.152 0.022 221.296);
  --muted: oklch(0.95 0.012 335.424);
  --muted-foreground: oklch(0.368 0.007 335.53);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.152 0.022 221.296);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.152 0.022 221.296);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.815 0.035 223.673);
  --primary-foreground: oklch(0.279 0.026 224.8);
  --secondary: oklch(0.786 0.061 336.547);
  --secondary-foreground: oklch(0.259 0.048 338.306);
  --accent: oklch(0.849 0.056 120.456);
  --accent-foreground: oklch(0.305 0.042 121.825);
  --destructive: oklch(0.513 0.192 31.709);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.815 0.035 223.673);
  --chart-1: oklch(0.815 0.035 223.673);
  --chart-2: oklch(0.786 0.061 336.547);
  --chart-3: oklch(0.849 0.056 120.456);
  --chart-4: oklch(0.812 0.054 336.344);
  --chart-5: oklch(0.816 0.039 223.736);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.134 0.009 219.465);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.164 0.019 337.168);
  --muted-foreground: oklch(0.803 0.006 335.32);
  --popover: oklch(0.134 0.009 219.465);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.134 0.009 219.465);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.815 0.035 223.673);
  --primary-foreground: oklch(0.279 0.026 224.8);
  --secondary: oklch(0.786 0.061 336.547);
  --secondary-foreground: oklch(0.259 0.048 338.306);
  --accent: oklch(0.849 0.056 120.456);
  --accent-foreground: oklch(0.305 0.042 121.825);
  --destructive: oklch(0.665 0.208 32.374);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.815 0.035 223.673);
  --chart-1: oklch(0.815 0.035 223.673);
  --chart-2: oklch(0.786 0.061 336.547);
  --chart-3: oklch(0.849 0.056 120.456);
  --chart-4: oklch(0.812 0.054 336.344);
  --chart-5: oklch(0.816 0.039 223.736);
}