Potable is a shadcn/ui theme built around a deep blue primary color (#172631) with deep blue accents (#171931). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the deep blue primary (#172631) on a neutral background (#030607).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfdfewhite | #030607black |
| Foreground | #050e15black | #ffffffwhite |
| Card | #fbfdfewhite | #030607black |
| Card foreground | #050e15black | #ffffffwhite |
| Popover | #fbfdfewhite | #030607black |
| Popover foreground | #050e15black | #ffffffwhite |
| Primary | #172631darkslategray | #172631darkslategray |
| Primary foreground | #a5c1d5lightsteelblue | #a5c1d5lightsteelblue |
| Secondary | #17312edarkslategray | #17312edarkslategray |
| Secondary foreground | #a5d5d0lightblue | #a5d5d0lightblue |
| Muted | #d5ebe9gainsboro | #142a27black |
| Muted foreground | #4a6461dimgray | #9bb5b3darkgray |
| Accent | #171931black | #171931black |
| Accent foreground | #a5aad5lightsteelblue | #a5aad5lightsteelblue |
| Destructive | #6f2602maroon | #fc6e27tomato |
| Destructive foreground | #fec2a5navajowhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #172631darkslategray | #172631darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.02:1 | AAA |
| Text on card | 19.02:1 | AAA |
| Primary button | 8.22:1 | AAA |
| Secondary button | 8.64:1 | AAA |
| Muted text | 5.15:1 | AA |
| Accent | 7.61:1 | AAA |
| Destructive | 6.92:1 | AA |
| Text on background | 20.36:1 | AAA |
| Text on card | 20.36:1 | AAA |
| Primary button | 8.22:1 | AAA |
| Secondary button | 8.64:1 | AAA |
| Muted text | 6.97:1 | AA |
| Accent | 7.61:1 | AAA |
| Destructive | 7.38:1 | AAA |
Paste this into your globals.css to use Potable in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0.002 236.465);
--foreground: oklch(0.159 0.021 236.204);
--muted: oklch(0.924 0.023 189.493);
--muted-foreground: oklch(0.481 0.031 188.539);
--popover: oklch(0.992 0.002 236.465);
--popover-foreground: oklch(0.159 0.021 236.204);
--card: oklch(0.992 0.002 236.465);
--card-foreground: oklch(0.159 0.021 236.204);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.261 0.028 238.492);
--primary-foreground: oklch(0.797 0.041 237.245);
--secondary: oklch(0.29 0.032 187.231);
--secondary-foreground: oklch(0.837 0.05 188.664);
--accent: oklch(0.226 0.045 277.35);
--accent-foreground: oklch(0.748 0.062 279.822);
--destructive: oklch(0.373 0.111 41.804);
--destructive-foreground: oklch(0.861 0.079 47.779);
--ring: oklch(0.261 0.028 238.492);
--chart-1: oklch(0.261 0.028 238.492);
--chart-2: oklch(0.29 0.032 187.231);
--chart-3: oklch(0.226 0.045 277.35);
--chart-4: oklch(0.327 0.038 187.104);
--chart-5: oklch(0.261 0.031 238.718);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.115 0.01 230.608);
--foreground: oklch(1 0 180);
--muted: oklch(0.264 0.028 187.341);
--muted-foreground: oklch(0.754 0.029 189.192);
--popover: oklch(0.115 0.01 230.608);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.115 0.01 230.608);
--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.261 0.028 238.492);
--primary-foreground: oklch(0.797 0.041 237.245);
--secondary: oklch(0.29 0.032 187.231);
--secondary-foreground: oklch(0.837 0.05 188.664);
--accent: oklch(0.226 0.045 277.35);
--accent-foreground: oklch(0.748 0.062 279.822);
--destructive: oklch(0.703 0.19 43.168);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.261 0.028 238.492);
--chart-1: oklch(0.261 0.028 238.492);
--chart-2: oklch(0.29 0.032 187.231);
--chart-3: oklch(0.226 0.045 277.35);
--chart-4: oklch(0.327 0.038 187.104);
--chart-5: oklch(0.261 0.031 238.718);
}