Potable is a shadcn/ui theme built around a near-black primary color (#0d0f00) with near-black accents (#060f00). The light mode uses a neutral background (#fdfefb). Dark mode keeps the near-black primary (#0d0f00) on a neutral background (#070802).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfefbwhite | #070802black |
| Foreground | #080901black | #fdfdfcwhite |
| Card | #fdfefbwhite | #070802black |
| Card foreground | #080901black | #fdfdfcwhite |
| Popover | #fdfefbwhite | #070802black |
| Popover foreground | #080901black | #fdfdfcwhite |
| Primary | #0d0f00black | #0d0f00black |
| Primary foreground | #bedb00greenyellow | #bedb00greenyellow |
| Secondary | #0f0a00black | #0f0a00black |
| Secondary foreground | #db8b00darkorange | #db8b00darkorange |
| Muted | #ede9e3linen | #1c1812black |
| Muted foreground | #4f483bdarkolivegreen | #c4bdb0silver |
| Accent | #060f00black | #060f00black |
| Accent foreground | #50db00lawngreen | #50db00lawngreen |
| Destructive | #8a210fsaddlebrown | #ec5f46tomato |
| Destructive foreground | #fad7d1bisque | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #0d0f00black | #0d0f00black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.75:1 | AAA |
| Text on card | 19.75:1 | AAA |
| Primary button | 12.24:1 | AAA |
| Secondary button | 7.24:1 | AAA |
| Muted text | 7.49:1 | AAA |
| Accent | 10.65:1 | AAA |
| Destructive | 6.78:1 | AA |
| Text on background | 19.73:1 | AAA |
| Text on card | 19.73:1 | AAA |
| Primary button | 12.24:1 | AAA |
| Secondary button | 7.24:1 | AAA |
| Muted text | 9.45:1 | AAA |
| Accent | 10.65:1 | AAA |
| Destructive | 6.28:1 | AA |
Paste this into your globals.css to use Potable in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.995 0.004 112.612);
--foreground: oklch(0.135 0.025 113.926);
--muted: oklch(0.936 0.009 81.51);
--muted-foreground: oklch(0.404 0.023 81.328);
--popover: oklch(0.995 0.004 112.612);
--popover-foreground: oklch(0.135 0.025 113.926);
--card: oklch(0.995 0.004 112.612);
--card-foreground: oklch(0.135 0.025 113.926);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.162 0.037 115.056);
--primary-foreground: oklch(0.841 0.198 118.975);
--secondary: oklch(0.147 0.03 90.16);
--secondary-foreground: oklch(0.703 0.153 69.269);
--accent: oklch(0.154 0.042 131.644);
--accent-foreground: oklch(0.785 0.248 139.065);
--destructive: oklch(0.42 0.144 32.302);
--destructive-foreground: oklch(0.907 0.04 29.688);
--ring: oklch(0.162 0.037 115.056);
--chart-1: oklch(0.162 0.037 115.056);
--chart-2: oklch(0.147 0.03 90.16);
--chart-3: oklch(0.154 0.042 131.644);
--chart-4: oklch(0.198 0.041 82.24);
--chart-5: oklch(0.163 0.038 115.119);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.131 0.019 113.661);
--foreground: oklch(0.993 0.001 112.563);
--muted: oklch(0.212 0.013 81.31);
--muted-foreground: oklch(0.801 0.02 81.485);
--popover: oklch(0.131 0.019 113.661);
--popover-foreground: oklch(0.993 0.001 112.563);
--card: oklch(0.131 0.019 113.661);
--card-foreground: oklch(0.993 0.001 112.563);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.162 0.037 115.056);
--primary-foreground: oklch(0.841 0.198 118.975);
--secondary: oklch(0.147 0.03 90.16);
--secondary-foreground: oklch(0.703 0.153 69.269);
--accent: oklch(0.154 0.042 131.644);
--accent-foreground: oklch(0.785 0.248 139.065);
--destructive: oklch(0.662 0.179 32.101);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.162 0.037 115.056);
--chart-1: oklch(0.162 0.037 115.056);
--chart-2: oklch(0.147 0.03 90.16);
--chart-3: oklch(0.154 0.042 131.644);
--chart-4: oklch(0.198 0.041 82.24);
--chart-5: oklch(0.163 0.038 115.119);
}