Sheep for shadcn/ui

Sheep is a shadcn/ui theme built around a vivid light green primary color (#d0fbd2) with vivid light teal accents (#d0fbe8). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid light green primary (#d0fbd2) on a neutral background (#010401).

Color palette

TokenLightDark
Background
#ffffffwhite
#010401black
Foreground
#010401black
#ffffffwhite
Card
#ffffffwhite
#010401black
Card foreground
#010401black
#ffffffwhite
Popover
#ffffffwhite
#010401black
Popover foreground
#010401black
#ffffffwhite
Primary
#d0fbd2gainsboro
#d0fbd2gainsboro
Primary foreground
#042f06black
#042f06black
Secondary
#e3fbd0beige
#e3fbd0beige
Secondary foreground
#172f04black
#172f04black
Muted
#dfebd6gainsboro
#1e2914black
Muted foreground
#4c5544darkslategray
#b2bbaadarkgray
Accent
#d0fbe8lightcyan
#d0fbe8lightcyan
Accent foreground
#042f1cblack
#042f1cblack
Destructive
#cf3a0cfirebrick
#e7400dorangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#d0fbd2gainsboro
#d0fbd2gainsboro

Contrast

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

Light mode
Text on background20.60:1AAA
Text on card20.60:1AAA
Primary button12.99:1AAA
Secondary button13.11:1AAA
Muted text6.32:1AA
Accent13.02:1AAA
Destructive4.92:1AA
Dark mode
Text on background20.61:1AAA
Text on card20.61:1AAA
Primary button12.99:1AAA
Secondary button13.11:1AAA
Muted text7.63:1AAA
Accent13.02:1AAA
Destructive4.07:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.098 0.023 145.175);
  --muted: oklch(0.926 0.031 130.758);
  --muted-foreground: oklch(0.436 0.029 131.095);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.098 0.023 145.175);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.098 0.023 145.175);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.947 0.069 146.331);
  --primary-foreground: oklch(0.266 0.081 143.662);
  --secondary: oklch(0.959 0.061 131.053);
  --secondary-foreground: oklch(0.274 0.072 134.114);
  --accent: oklch(0.952 0.05 166.26);
  --accent-foreground: oklch(0.27 0.058 158.813);
  --destructive: oklch(0.568 0.193 35.132);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.947 0.069 146.331);
  --chart-1: oklch(0.947 0.069 146.331);
  --chart-2: oklch(0.959 0.061 131.053);
  --chart-3: oklch(0.952 0.05 166.26);
  --chart-4: oklch(0.971 0.043 130.857);
  --chart-5: oklch(0.948 0.072 146.306);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.096 0.016 145.768);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.265 0.041 132.132);
  --muted-foreground: oklch(0.78 0.026 130.75);
  --popover: oklch(0.096 0.016 145.768);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.096 0.016 145.768);
  --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.947 0.069 146.331);
  --primary-foreground: oklch(0.266 0.081 143.662);
  --secondary: oklch(0.959 0.061 131.053);
  --secondary-foreground: oklch(0.274 0.072 134.114);
  --accent: oklch(0.952 0.05 166.26);
  --accent-foreground: oklch(0.27 0.058 158.813);
  --destructive: oklch(0.616 0.21 35.014);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.947 0.069 146.331);
  --chart-1: oklch(0.947 0.069 146.331);
  --chart-2: oklch(0.959 0.061 131.053);
  --chart-3: oklch(0.952 0.05 166.26);
  --chart-4: oklch(0.971 0.043 130.857);
  --chart-5: oklch(0.948 0.072 146.306);
}