Pod is a shadcn/ui theme built around a muted deep violet primary color (#3c2d43) with near-white accents (#e9e6ea). The light mode uses a neutral background (#fdfbfe). Dark mode keeps the muted deep violet primary (#3c2d43) on a violet-tinted background (#0c050f).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfbfewhite | #0c050fblack |
| Foreground | #030104black | #fdfcfdwhite |
| Card | #fdfbfewhite | #0c050fblack |
| Card foreground | #030104black | #fdfcfdwhite |
| Popover | #fdfbfewhite | #0c050fblack |
| Popover foreground | #030104black | #fdfcfdwhite |
| Primary | #3c2d43darkslategray | #3c2d43darkslategray |
| Primary foreground | #d4c8dathistle | #d4c8dathistle |
| Secondary | #e9e6ealavender | #201b22black |
| Secondary foreground | #514a55darkslategray | #bab0bfsilver |
| Muted | #dfd0e7gainsboro | #28182fdarkslategray |
| Muted foreground | #4b464edarkslategray | #b7b1b9silver |
| Accent | #e9e6ealavender | #201b22black |
| Accent foreground | #514a55darkslategray | #bab0bfsilver |
| Destructive | #982010brown | #e83921orangered |
| Destructive foreground | #fce2dfmistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #3c2d43darkslategray | #3c2d43darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.19:1 | AAA |
| Text on card | 20.19:1 | AAA |
| Primary button | 7.91:1 | AAA |
| Secondary button | 6.91:1 | AA |
| Muted text | 6.24:1 | AA |
| Accent | 6.91:1 | AA |
| Destructive | 6.68:1 | AA |
| Text on background | 19.63:1 | AAA |
| Text on card | 19.63:1 | AAA |
| Primary button | 7.91:1 | AAA |
| Secondary button | 8.08:1 | AAA |
| Muted text | 7.93:1 | AAA |
| Accent | 8.08:1 | AAA |
| Destructive | 4.18:1 | AA Large |
Paste this into your globals.css to use Pod in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.004 314.805);
--foreground: oklch(0.08 0.023 317.315);
--muted: oklch(0.876 0.036 314.627);
--muted-foreground: oklch(0.401 0.017 314.627);
--popover: oklch(0.99 0.004 314.805);
--popover-foreground: oklch(0.08 0.023 317.315);
--card: oklch(0.99 0.004 314.805);
--card-foreground: oklch(0.08 0.023 317.315);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.324 0.042 314.194);
--primary-foreground: oklch(0.849 0.027 314.673);
--secondary: oklch(0.929 0.005 314.801);
--secondary-foreground: oklch(0.419 0.02 314.591);
--accent: oklch(0.929 0.005 314.801);
--accent-foreground: oklch(0.419 0.02 314.591);
--destructive: oklch(0.445 0.158 31.041);
--destructive-foreground: oklch(0.933 0.029 26.672);
--ring: oklch(0.324 0.042 314.194);
--chart-1: oklch(0.324 0.042 314.194);
--chart-2: oklch(0.929 0.005 314.801);
--chart-3: oklch(0.929 0.005 314.801);
--chart-4: oklch(0.953 0.003 314.811);
--chart-5: oklch(0.322 0.048 314.082);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.134 0.026 315.037);
--foreground: oklch(0.991 0.002 314.816);
--muted: oklch(0.241 0.049 313.772);
--muted-foreground: oklch(0.767 0.014 314.737);
--popover: oklch(0.134 0.026 315.037);
--popover-foreground: oklch(0.991 0.002 314.816);
--card: oklch(0.134 0.026 315.037);
--card-foreground: oklch(0.991 0.002 314.816);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.324 0.042 314.194);
--primary-foreground: oklch(0.849 0.027 314.673);
--secondary: oklch(0.231 0.014 314.525);
--secondary-foreground: oklch(0.77 0.025 314.67);
--accent: oklch(0.231 0.014 314.525);
--accent-foreground: oklch(0.77 0.025 314.67);
--destructive: oklch(0.611 0.214 31.033);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.324 0.042 314.194);
--chart-1: oklch(0.324 0.042 314.194);
--chart-2: oklch(0.231 0.014 314.525);
--chart-3: oklch(0.231 0.014 314.525);
--chart-4: oklch(0.262 0.017 314.504);
--chart-5: oklch(0.322 0.048 314.082);
}