Potable is a shadcn/ui theme built around a cyan primary color (#a1d4dd) with red accents (#ddaaa1). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the cyan primary (#a1d4dd) on a cyan-tinted background (#050a0b).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfdfewhite | #050a0bblack |
| Foreground | #030f12black | #f5f9faghostwhite |
| Card | #f7fcfcmintcream | #060d0eblack |
| Card foreground | #020c0dblack | #f8fbfcghostwhite |
| Popover | #f7fcfcmintcream | #060d0eblack |
| Popover foreground | #020c0dblack | #f8fbfcghostwhite |
| Primary | #a1d4ddlightblue | #a1d4ddlightblue |
| Primary foreground | #143338darkslategray | #143338darkslategray |
| Secondary | #ddaaa1tan | #ddaaa1tan |
| Secondary foreground | #381a14black | #381a14black |
| Muted | #f3e9e7linen | #180e0cblack |
| Muted foreground | #5e5250dimgray | #afa3a1darkgray |
| Accent | #ddaaa1tan | #ddaaa1tan |
| Accent foreground | #381a14black | #381a14black |
| Destructive | #c7300afirebrick | #ed390corangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #a1d4ddlightblue | #a1d4ddlightblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.08:1 | AAA |
| Text on card | 19.09:1 | AAA |
| Primary button | 8.33:1 | AAA |
| Secondary button | 7.81:1 | AAA |
| Muted text | 6.30:1 | AA |
| Accent | 7.81:1 | AAA |
| Destructive | 5.45:1 | AA |
| Text on background | 18.81:1 | AAA |
| Text on card | 18.83:1 | AAA |
| Primary button | 8.33:1 | AAA |
| Secondary button | 7.81:1 | AAA |
| Muted text | 7.76:1 | AAA |
| Accent | 7.81:1 | AAA |
| Destructive | 4.02:1 | AA Large |
Paste this into your globals.css to use Potable in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.002 209.462);
--foreground: oklch(0.158 0.021 208.23);
--muted: oklch(0.942 0.011 29.509);
--muted-foreground: oklch(0.449 0.016 29.633);
--popover: oklch(0.987 0.005 209.456);
--popover-foreground: oklch(0.142 0.019 206.652);
--card: oklch(0.987 0.005 209.456);
--card-foreground: oklch(0.142 0.019 206.652);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.838 0.054 209.548);
--primary-foreground: oklch(0.3 0.037 210.547);
--secondary: oklch(0.783 0.062 29.956);
--secondary-foreground: oklch(0.259 0.05 31.216);
--accent: oklch(0.783 0.062 29.956);
--accent-foreground: oklch(0.259 0.05 31.216);
--destructive: oklch(0.544 0.192 33.623);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.838 0.054 209.548);
--chart-1: oklch(0.838 0.054 209.548);
--chart-2: oklch(0.783 0.062 29.956);
--chart-3: oklch(0.783 0.062 29.956);
--chart-4: oklch(0.809 0.054 29.85);
--chart-5: oklch(0.84 0.057 209.573);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.137 0.01 207.07);
--foreground: oklch(0.98 0.005 209.454);
--muted: oklch(0.176 0.017 30.135);
--muted-foreground: oklch(0.726 0.014 29.544);
--popover: oklch(0.152 0.012 208.67);
--popover-foreground: oklch(0.986 0.003 209.459);
--card: oklch(0.152 0.012 208.67);
--card-foreground: oklch(0.986 0.003 209.459);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.838 0.054 209.548);
--primary-foreground: oklch(0.3 0.037 210.547);
--secondary: oklch(0.783 0.062 29.956);
--secondary-foreground: oklch(0.259 0.05 31.216);
--accent: oklch(0.783 0.062 29.956);
--accent-foreground: oklch(0.259 0.05 31.216);
--destructive: oklch(0.621 0.221 33.465);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.838 0.054 209.548);
--chart-1: oklch(0.838 0.054 209.548);
--chart-2: oklch(0.783 0.062 29.956);
--chart-3: oklch(0.783 0.062 29.956);
--chart-4: oklch(0.809 0.054 29.85);
--chart-5: oklch(0.84 0.057 209.573);
}