Pipeline is a shadcn/ui theme built around a near-black primary color (#1b1a18) with neutral gray accents (#cdc6c6). The light mode uses a neutral background (#ffffff). Dark mode keeps the near-black primary (#1b1a18) on a neutral background (#040301).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #040301black |
| Foreground | #000000black | #ffffffwhite |
| Card | #ffffffwhite | #040301black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #ffffffwhite | #040301black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #1b1a18black | #1b1a18black |
| Primary foreground | #b8b3addarkgray | #b8b3addarkgray |
| Secondary | #e3e3e3gainsboro | #1d1c1bblack |
| Secondary foreground | #4a4a4adarkslategray | #b7b5b3silver |
| Muted | #e4e2e2gainsboro | #1d1c1bblack |
| Muted foreground | #5d5656dimgray | #a9a6a2darkgray |
| Accent | #cdc6c6silver | #36312bdarkslategray |
| Accent foreground | #332e2edarkslategray | #d0cac3lightgrey |
| Destructive | #6e1202maroon | #fa320forangered |
| Destructive foreground | #fdb2a5lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #1b1a18black | #1b1a18black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 8.37:1 | AAA |
| Secondary button | 6.90:1 | AA |
| Muted text | 5.53:1 | AA |
| Accent | 7.95:1 | AAA |
| Destructive | 6.89:1 | AA |
| Text on background | 20.64:1 | AAA |
| Text on card | 20.64:1 | AAA |
| Primary button | 8.37:1 | AAA |
| Secondary button | 8.31:1 | AAA |
| Muted text | 7.00:1 | AAA |
| Accent | 7.91:1 | AAA |
| Destructive | 3.79:1 | AA Large |
Paste this into your globals.css to use Pipeline in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0 0 0);
--muted: oklch(0.914 0.003 17.213);
--muted-foreground: oklch(0.459 0.009 17.498);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0 0 0);
--card: oklch(1 0 180);
--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.217 0.005 73.054);
--primary-foreground: oklch(0.769 0.01 73.121);
--secondary: oklch(0.916 0 180);
--secondary-foreground: oklch(0.409 0 190.305);
--accent: oklch(0.832 0.007 17.301);
--accent-foreground: oklch(0.306 0.008 17.624);
--destructive: oklch(0.35 0.128 32.552);
--destructive-foreground: oklch(0.832 0.09 30.241);
--ring: oklch(0.217 0.005 73.054);
--chart-1: oklch(0.217 0.005 73.054);
--chart-2: oklch(0.916 0 180);
--chart-3: oklch(0.832 0.007 17.301);
--chart-4: oklch(0.939 0 180);
--chart-5: oklch(0.218 0.006 72.973);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.096 0.011 80.809);
--foreground: oklch(1 0 180);
--muted: oklch(0.228 0.004 73.1);
--muted-foreground: oklch(0.727 0.007 73.15);
--popover: oklch(0.096 0.011 80.809);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.096 0.011 80.809);
--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.217 0.005 73.054);
--primary-foreground: oklch(0.769 0.01 73.121);
--secondary: oklch(0.228 0.002 73.15);
--secondary-foreground: oklch(0.775 0.004 73.18);
--accent: oklch(0.317 0.013 72.84);
--accent-foreground: oklch(0.842 0.012 73.114);
--destructive: oklch(0.638 0.236 31.782);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.217 0.005 73.054);
--chart-1: oklch(0.217 0.005 73.054);
--chart-2: oklch(0.228 0.002 73.15);
--chart-3: oklch(0.317 0.013 72.84);
--chart-4: oklch(0.26 0.003 73.144);
--chart-5: oklch(0.218 0.006 72.973);
}