Scow for shadcn/ui

Scow is a shadcn/ui theme built around a muted deep pink primary color (#473841) with muted deep green accents (#38473e). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted deep pink primary (#473841) on a pink-tinted background (#0a0508).

Color palette

TokenLightDark
Background
#ffffffwhite
#0a0508black
Foreground
#12020cblack
#ffffffwhite
Card
#ffffffwhite
#0a0508black
Card foreground
#12020cblack
#ffffffwhite
Popover
#ffffffwhite
#0a0508black
Popover foreground
#12020cblack
#ffffffwhite
Primary
#473841darkslategray
#473841darkslategray
Primary foreground
#ddd4dagainsboro
#ddd4dagainsboro
Secondary
#38473edarkslategray
#38473edarkslategray
Secondary foreground
#d4ddd8gainsboro
#d4ddd8gainsboro
Muted
#d8dfdbgainsboro
#202723darkslategray
Muted foreground
#4f5f55dimgray
#a0b0a7darkgray
Accent
#38473edarkslategray
#38473edarkslategray
Accent foreground
#d4ddd8gainsboro
#d4ddd8gainsboro
Destructive
#6b0b01maroon
#e41801red
Destructive foreground
#ffa89flightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#473841darkslategray
#473841darkslategray

Contrast

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

Light mode
Text on background20.19:1AAA
Text on card20.19:1AAA
Primary button7.57:1AAA
Secondary button7.03:1AAA
Muted text4.98:1AA
Accent7.03:1AAA
Destructive6.80:1AA
Dark mode
Text on background20.21:1AAA
Text on card20.21:1AAA
Primary button7.57:1AAA
Secondary button7.03:1AAA
Muted text6.71:1AA
Accent7.03:1AAA
Destructive4.72:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.132 0.042 343.139);
  --muted: oklch(0.897 0.01 159.986);
  --muted-foreground: oklch(0.467 0.024 158.979);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.132 0.042 343.139);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.132 0.042 343.139);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.361 0.026 341.806);
  --primary-foreground: oklch(0.879 0.012 340.553);
  --secondary: oklch(0.383 0.025 158.639);
  --secondary-foreground: oklch(0.89 0.012 159.912);
  --accent: oklch(0.383 0.025 158.639);
  --accent-foreground: oklch(0.89 0.012 159.912);
  --destructive: oklch(0.337 0.129 31.394);
  --destructive-foreground: oklch(0.814 0.104 26.518);
  --ring: oklch(0.361 0.026 341.806);
  --chart-1: oklch(0.361 0.026 341.806);
  --chart-2: oklch(0.383 0.025 158.639);
  --chart-3: oklch(0.383 0.025 158.639);
  --chart-4: oklch(0.413 0.027 158.607);
  --chart-5: oklch(0.359 0.033 342.195);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.127 0.014 340.314);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.265 0.013 159.071);
  --muted-foreground: oklch(0.743 0.022 159.541);
  --popover: oklch(0.127 0.014 340.314);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.127 0.014 340.314);
  --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.361 0.026 341.806);
  --primary-foreground: oklch(0.879 0.012 340.553);
  --secondary: oklch(0.383 0.025 158.639);
  --secondary-foreground: oklch(0.89 0.012 159.912);
  --accent: oklch(0.383 0.025 158.639);
  --accent-foreground: oklch(0.89 0.012 159.912);
  --destructive: oklch(0.584 0.231 30.326);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.361 0.026 341.806);
  --chart-1: oklch(0.361 0.026 341.806);
  --chart-2: oklch(0.383 0.025 158.639);
  --chart-3: oklch(0.383 0.025 158.639);
  --chart-4: oklch(0.413 0.027 158.607);
  --chart-5: oklch(0.359 0.033 342.195);
}