Pouch is a shadcn/ui theme built around a vivid deep pink primary color (#7f0b50) with vivid deep blue accents (#0b507f). The light mode uses a neutral background (#fdfcfd). Dark mode keeps the vivid deep pink primary (#7f0b50) on a pink-tinted background (#0e070b).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfcfdwhite | #0e070bblack |
| Foreground | #0c0309black | #fcf8fasnow |
| Card | #fcf8fasnow | #11090eblack |
| Card foreground | #080206black | #fdfcfdwhite |
| Popover | #fdfcfdwhite | #0e070bblack |
| Popover foreground | #0c0309black | #fcf8fasnow |
| Primary | #7f0b50purple | #7f0b50purple |
| Primary foreground | #fac2e3pink | #fac2e3pink |
| Secondary | #507f0bolivedrab | #507f0bolivedrab |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #ebede8linen | #151712black |
| Muted foreground | #4d5049darkslategray | #b3b6afdarkgray |
| Accent | #0b507fteal | #0b507fteal |
| Accent foreground | #c2e3fapaleturquoise | #c2e3fapaleturquoise |
| Destructive | #e02e06orangered | #fa5c38tomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #7f0b50purple | #7f0b50purple |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.82:1 | AAA |
| Text on card | 19.52:1 | AAA |
| Primary button | 6.73:1 | AA |
| Secondary button | 4.80:1 | AA |
| Muted text | 6.98:1 | AA |
| Accent | 6.31:1 | AA |
| Destructive | 4.61:1 | AA |
| Text on background | 18.95:1 | AAA |
| Text on card | 19.23:1 | AAA |
| Primary button | 6.73:1 | AA |
| Secondary button | 4.80:1 | AA |
| Muted text | 8.77:1 | AAA |
| Accent | 6.31:1 | AA |
| Destructive | 6.63:1 | AA |
Paste this into your globals.css to use Pouch in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.002 340.289);
--foreground: oklch(0.122 0.026 340.757);
--muted: oklch(0.944 0.008 124.466);
--muted-foreground: oklch(0.425 0.01 124.698);
--popover: oklch(0.991 0.002 340.289);
--popover-foreground: oklch(0.122 0.026 340.757);
--card: oklch(0.983 0.005 340.345);
--card-foreground: oklch(0.106 0.023 340.386);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.397 0.157 351.328);
--primary-foreground: oklch(0.873 0.076 342.118);
--secondary: oklch(0.541 0.143 130.85);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.418 0.1 245.035);
--accent-foreground: oklch(0.9 0.047 237.248);
--destructive: oklch(0.587 0.217 32.528);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.397 0.157 351.328);
--chart-1: oklch(0.397 0.157 351.328);
--chart-2: oklch(0.541 0.143 130.85);
--chart-3: oklch(0.418 0.1 245.035);
--chart-4: oklch(0.584 0.155 130.959);
--chart-5: oklch(0.4 0.159 351.747);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.14 0.016 341.606);
--foreground: oklch(0.983 0.004 340.336);
--muted: oklch(0.201 0.012 125.192);
--muted-foreground: oklch(0.771 0.009 124.512);
--popover: oklch(0.14 0.016 341.606);
--popover-foreground: oklch(0.983 0.004 340.336);
--card: oklch(0.152 0.018 342.601);
--card-foreground: oklch(0.991 0.002 340.284);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.397 0.157 351.328);
--primary-foreground: oklch(0.873 0.076 342.118);
--secondary: oklch(0.541 0.143 130.85);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.418 0.1 245.035);
--accent-foreground: oklch(0.9 0.047 237.248);
--destructive: oklch(0.678 0.2 34.116);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.397 0.157 351.328);
--chart-1: oklch(0.397 0.157 351.328);
--chart-2: oklch(0.541 0.143 130.85);
--chart-3: oklch(0.418 0.1 245.035);
--chart-4: oklch(0.584 0.155 130.959);
--chart-5: oklch(0.4 0.159 351.747);
}