Sheep for shadcn/ui

Sheep is a shadcn/ui theme built around a light purple primary color (#e4a5d8) with muted light purple accents (#d8cfd7). The light mode uses a neutral background (#fdf7fc). Dark mode keeps the light purple primary (#e4a5d8) on a neutral background (#040103).

Color palette

TokenLightDark
Background
#fdf7fcsnow
#040103black
Foreground
#000000black
#fdfbfdsnow
Card
#fcf3falavenderblush
#080207black
Card foreground
#000000black
#ffffffwhite
Popover
#fcf3falavenderblush
#080207black
Popover foreground
#000000black
#ffffffwhite
Primary
#e4a5d8plum
#e4a5d8plum
Primary foreground
#43143adarkslategray
#43143adarkslategray
Secondary
#d8cfd7lightgrey
#272527darkslategray
Secondary foreground
#41343fdarkslategray
#c1bdc0silver
Muted
#e4d3e1gainsboro
#2c1b29darkslategray
Muted foreground
#654e61dimgray
#b19aaddarkgray
Accent
#d8cfd7lightgrey
#272527darkslategray
Accent foreground
#41343fdarkslategray
#c1bdc0silver
Destructive
#b32114firebrick
#ea4c3etomato
Destructive foreground
#fefbfasnow
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#e4a5d8plum
#e4a5d8plum

Contrast

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

Light mode
Text on background19.87:1AAA
Text on card19.33:1AAA
Primary button7.61:1AAA
Secondary button7.73:1AAA
Muted text5.21:1AA
Accent7.73:1AAA
Destructive6.48:1AA
Dark mode
Text on background20.15:1AAA
Text on card20.51:1AAA
Primary button7.61:1AAA
Secondary button8.17:1AAA
Muted text6.22:1AA
Accent8.17:1AAA
Destructive3.74:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.982 0.009 331.531);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.884 0.025 331.81);
  --muted-foreground: oklch(0.454 0.042 332.673);
  --popover: oklch(0.973 0.013 331.595);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.973 0.013 331.595);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.797 0.1 333.087);
  --primary-foreground: oklch(0.283 0.089 335.582);
  --secondary: oklch(0.864 0.015 331.649);
  --secondary-foreground: oklch(0.344 0.025 332.413);
  --accent: oklch(0.864 0.015 331.649);
  --accent-foreground: oklch(0.344 0.025 332.413);
  --destructive: oklch(0.497 0.183 29.999);
  --destructive-foreground: oklch(0.99 0.004 23.62);
  --ring: oklch(0.797 0.1 333.087);
  --chart-1: oklch(0.797 0.1 333.087);
  --chart-2: oklch(0.864 0.015 331.649);
  --chart-3: oklch(0.864 0.015 331.649);
  --chart-4: oklch(0.888 0.012 331.6);
  --chart-5: oklch(0.796 0.106 333.176);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.086 0.017 332.309);
  --foreground: oklch(0.991 0.003 331.45);
  --muted: oklch(0.251 0.035 333.242);
  --muted-foreground: oklch(0.713 0.038 332.142);
  --popover: oklch(0.108 0.022 332.309);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.108 0.022 332.309);
  --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.797 0.1 333.087);
  --primary-foreground: oklch(0.283 0.089 335.582);
  --secondary: oklch(0.268 0.005 331.659);
  --secondary-foreground: oklch(0.803 0.006 331.514);
  --accent: oklch(0.268 0.005 331.659);
  --accent-foreground: oklch(0.803 0.006 331.514);
  --destructive: oklch(0.636 0.196 28.919);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.797 0.1 333.087);
  --chart-1: oklch(0.797 0.1 333.087);
  --chart-2: oklch(0.268 0.005 331.659);
  --chart-3: oklch(0.268 0.005 331.659);
  --chart-4: oklch(0.299 0.006 331.671);
  --chart-5: oklch(0.796 0.106 333.176);
}