Prow for shadcn/ui

Prow is a shadcn/ui theme built around a muted deep green primary color (#131b15) with muted deep purple accents (#1b1319). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted deep green primary (#131b15) on a neutral background (#040705).

Color palette

TokenLightDark
Background
#ffffffwhite
#040705black
Foreground
#041008black
#fcfdfcwhite
Card
#ffffffwhite
#040705black
Card foreground
#041008black
#fcfdfcwhite
Popover
#ffffffwhite
#040705black
Popover foreground
#041008black
#fcfdfcwhite
Primary
#131b15black
#131b15black
Primary foreground
#a1bfaadarkgray
#a1bfaadarkgray
Secondary
#1b1319black
#1b1319black
Secondary foreground
#bfa1b5darkgray
#bfa1b5darkgray
Muted
#f2edf1whitesmoke
#120d10black
Muted foreground
#565255dimgray
#ada9abdarkgray
Accent
#1b1319black
#1b1319black
Accent foreground
#bfa1b5darkgray
#bfa1b5darkgray
Destructive
#9d0601darkred
#fe2c25orangered
Destructive foreground
#ffd3d1pink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#131b15black
#131b15black

Contrast

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

Light mode
Text on background19.39:1AAA
Text on card19.39:1AAA
Primary button8.80:1AAA
Secondary button7.79:1AAA
Muted text6.64:1AA
Accent7.79:1AAA
Destructive6.28:1AA
Dark mode
Text on background19.89:1AAA
Text on card19.89:1AAA
Primary button8.80:1AAA
Secondary button7.79:1AAA
Muted text8.30:1AAA
Accent7.79:1AAA
Destructive3.75:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.158 0.025 154.918);
  --muted: oklch(0.951 0.008 336.717);
  --muted-foreground: oklch(0.444 0.006 336.808);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.158 0.025 154.918);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.158 0.025 154.918);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.213 0.017 154.831);
  --primary-foreground: oklch(0.776 0.044 155.403);
  --secondary: oklch(0.199 0.018 338.249);
  --secondary-foreground: oklch(0.742 0.045 337.699);
  --accent: oklch(0.199 0.018 338.249);
  --accent-foreground: oklch(0.742 0.045 337.699);
  --destructive: oklch(0.44 0.178 29.646);
  --destructive-foreground: oklch(0.903 0.05 20.435);
  --ring: oklch(0.213 0.017 154.831);
  --chart-1: oklch(0.213 0.017 154.831);
  --chart-2: oklch(0.199 0.018 338.249);
  --chart-3: oklch(0.199 0.018 338.249);
  --chart-4: oklch(0.23 0.023 338.423);
  --chart-5: oklch(0.214 0.02 154.558);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.12 0.01 156.335);
  --foreground: oklch(0.993 0.001 156.54);
  --muted: oklch(0.166 0.012 337.91);
  --muted-foreground: oklch(0.739 0.005 336.692);
  --popover: oklch(0.12 0.01 156.335);
  --popover-foreground: oklch(0.993 0.001 156.54);
  --card: oklch(0.12 0.01 156.335);
  --card-foreground: oklch(0.993 0.001 156.54);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.213 0.017 154.831);
  --primary-foreground: oklch(0.776 0.044 155.403);
  --secondary: oklch(0.199 0.018 338.249);
  --secondary-foreground: oklch(0.742 0.045 337.699);
  --accent: oklch(0.199 0.018 338.249);
  --accent-foreground: oklch(0.742 0.045 337.699);
  --destructive: oklch(0.642 0.241 28.584);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.213 0.017 154.831);
  --chart-1: oklch(0.213 0.017 154.831);
  --chart-2: oklch(0.199 0.018 338.249);
  --chart-3: oklch(0.199 0.018 338.249);
  --chart-4: oklch(0.23 0.023 338.423);
  --chart-5: oklch(0.214 0.02 154.558);
}