Pipe is a shadcn/ui theme built around a yellow primary color (#93732f) with blue accents (#2f4e93). The light mode uses a neutral background (#ffffff). Dark mode keeps the yellow primary (#93732f) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #151004black | #fbfaf9snow |
| Card | #ffffffwhite | #000000black |
| Card foreground | #151004black | #fbfaf9snow |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #151004black | #fbfaf9snow |
| Primary | #93732fsienna | #93732fsienna |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #2f4e93darkslateblue | #2f4e93darkslateblue |
| Secondary foreground | #f7f9fdghostwhite | #f7f9fdghostwhite |
| Muted | #f0f1f4whitesmoke | #0b0c0fblack |
| Muted foreground | #454a54darkslategray | #abb0badarkgray |
| Accent | #2f4e93darkslateblue | #2f4e93darkslateblue |
| Accent foreground | #f7f9fdghostwhite | #f7f9fdghostwhite |
| Destructive | #a13608saddlebrown | #f56d32tomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #93732fsienna | #93732fsienna |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.95:1 | AAA |
| Text on card | 18.95:1 | AAA |
| Primary button | 4.41:1 | AA Large |
| Secondary button | 7.53:1 | AAA |
| Muted text | 7.90:1 | AAA |
| Accent | 7.53:1 | AAA |
| Destructive | 6.92:1 | AA |
| Text on background | 20.14:1 | AAA |
| Text on card | 20.14:1 | AAA |
| Primary button | 4.41:1 | AA Large |
| Secondary button | 7.53:1 | AAA |
| Muted text | 8.99:1 | AAA |
| Accent | 7.53:1 | AAA |
| Destructive | 7.12:1 | AAA |
Paste this into your globals.css to use Pipe in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.176 0.026 87.373);
--muted: oklch(0.959 0.004 265.987);
--muted-foreground: oklch(0.408 0.019 265.739);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.176 0.026 87.373);
--card: oklch(1 0 180);
--card-foreground: oklch(0.176 0.026 87.373);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.574 0.095 83.785);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.439 0.119 263.551);
--secondary-foreground: oklch(0.982 0.005 265.983);
--accent: oklch(0.439 0.119 263.551);
--accent-foreground: oklch(0.982 0.005 265.983);
--destructive: oklch(0.483 0.15 38.924);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.574 0.095 83.785);
--chart-1: oklch(0.574 0.095 83.785);
--chart-2: oklch(0.439 0.119 263.551);
--chart-3: oklch(0.439 0.119 263.551);
--chart-4: oklch(0.463 0.127 263.527);
--chart-5: oklch(0.58 0.099 83.441);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.986 0.002 86.015);
--muted: oklch(0.154 0.007 265.753);
--muted-foreground: oklch(0.756 0.016 265.9);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.986 0.002 86.015);
--card: oklch(0 0 0);
--card-foreground: oklch(0.986 0.002 86.015);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.574 0.095 83.785);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.439 0.119 263.551);
--secondary-foreground: oklch(0.982 0.005 265.983);
--accent: oklch(0.439 0.119 263.551);
--accent-foreground: oklch(0.982 0.005 265.983);
--destructive: oklch(0.693 0.182 41.587);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.574 0.095 83.785);
--chart-1: oklch(0.574 0.095 83.785);
--chart-2: oklch(0.439 0.119 263.551);
--chart-3: oklch(0.439 0.119 263.551);
--chart-4: oklch(0.463 0.127 263.527);
--chart-5: oklch(0.58 0.099 83.441);
}