Pipeline for shadcn/ui

Pipeline is a shadcn/ui theme built around a vivid green primary color (#56b314) with neutral gray accents (#dedfdd). The light mode uses a neutral background (#fcfefb). Dark mode keeps the vivid green primary (#56b314) on a green-tinted background (#070b04).

Color palette

TokenLightDark
Background
#fcfefbwhite
#070b04black
Foreground
#040901black
#ffffffwhite
Card
#fcfefbwhite
#070b04black
Card foreground
#040901black
#ffffffwhite
Popover
#fcfefbwhite
#070b04black
Popover foreground
#040901black
#ffffffwhite
Primary
#56b314olivedrab
#56b314olivedrab
Primary foreground
#000000black
#000000black
Secondary
#dedfddgainsboro
#30342ddarkslategray
Secondary foreground
#454743darkslategray
#c9cdc6silver
Muted
#f2f5efwhitesmoke
#0c100ablack
Muted foreground
#464f40darkslategray
#b6bfb0silver
Accent
#dedfddgainsboro
#30342ddarkslategray
Accent foreground
#454743darkslategray
#c9cdc6silver
Destructive
#9e1205darkred
#f82916orangered
Destructive foreground
#fedbd7mistyrose
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#56b314olivedrab
#56b314olivedrab

Contrast

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

Light mode
Text on background19.81:1AAA
Text on card19.81:1AAA
Primary button7.85:1AAA
Secondary button7.01:1AAA
Muted text7.79:1AAA
Accent7.01:1AAA
Destructive6.41:1AA
Dark mode
Text on background19.83:1AAA
Text on card19.83:1AAA
Primary button7.85:1AAA
Secondary button7.89:1AAA
Muted text10.11:1AAA
Accent7.89:1AAA
Destructive3.94:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.995 0.004 131.757);
  --foreground: oklch(0.129 0.026 129.947);
  --muted: oklch(0.967 0.009 131.803);
  --muted-foreground: oklch(0.414 0.026 132.246);
  --popover: oklch(0.995 0.004 131.757);
  --popover-foreground: oklch(0.129 0.026 129.947);
  --card: oklch(0.995 0.004 131.757);
  --card-foreground: oklch(0.129 0.026 129.947);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.683 0.199 136.645);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.902 0.003 131.751);
  --secondary-foreground: oklch(0.394 0.008 131.881);
  --accent: oklch(0.902 0.003 131.751);
  --accent-foreground: oklch(0.394 0.008 131.881);
  --destructive: oklch(0.447 0.174 30.194);
  --destructive-foreground: oklch(0.919 0.04 24.051);
  --ring: oklch(0.683 0.199 136.645);
  --chart-1: oklch(0.683 0.199 136.645);
  --chart-2: oklch(0.902 0.003 131.751);
  --chart-3: oklch(0.902 0.003 131.751);
  --chart-4: oklch(0.925 0.002 131.744);
  --chart-5: oklch(0.69 0.204 136.849);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.142 0.018 130.659);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.166 0.014 132.455);
  --muted-foreground: oklch(0.793 0.022 131.951);
  --popover: oklch(0.142 0.018 130.659);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.142 0.018 130.659);
  --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.683 0.199 136.645);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.318 0.013 132.064);
  --secondary-foreground: oklch(0.843 0.011 131.834);
  --accent: oklch(0.318 0.013 132.064);
  --accent-foreground: oklch(0.843 0.011 131.834);
  --destructive: oklch(0.628 0.239 30.088);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.683 0.199 136.645);
  --chart-1: oklch(0.683 0.199 136.645);
  --chart-2: oklch(0.318 0.013 132.064);
  --chart-3: oklch(0.318 0.013 132.064);
  --chart-4: oklch(0.349 0.015 132.075);
  --chart-5: oklch(0.69 0.204 136.849);
}