Pot is a shadcn/ui theme built around a vivid light teal primary color (#defcf5) with vivid light red accents (#fcdee6). The light mode uses a neutral background (#f7fdfb). Dark mode keeps the vivid light teal primary (#defcf5) on a teal-tinted background (#030c0a).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fdfbmintcream | #030c0ablack |
| Foreground | #010403black | #f5faf9mintcream |
| Card | #f3fbf9mintcream | #04100dblack |
| Card foreground | #000000black | #f8fcfbmintcream |
| Popover | #f3fbf9mintcream | #04100dblack |
| Popover foreground | #000000black | #f8fcfbmintcream |
| Primary | #defcf5lightcyan | #defcf5lightcyan |
| Primary foreground | #053d2fdarkslategray | #053d2fdarkslategray |
| Secondary | #fcdee6mistyrose | #fcdee6mistyrose |
| Secondary foreground | #9c0d30brown | #9c0d30brown |
| Muted | #f7edf0whitesmoke | #12080ablack |
| Muted foreground | #686465dimgray | #9b9798darkgray |
| Accent | #fcdee6mistyrose | #fcdee6mistyrose |
| Accent foreground | #9c0d30brown | #9c0d30brown |
| Destructive | #b91e13firebrick | #eb4d42tomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #defcf5lightcyan | #defcf5lightcyan |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.94:1 | AAA |
| Text on card | 20.02:1 | AAA |
| Primary button | 11.30:1 | AAA |
| Secondary button | 6.65:1 | AA |
| Muted text | 5.09:1 | AA |
| Accent | 6.65:1 | AA |
| Destructive | 6.45:1 | AA |
| Text on background | 18.78:1 | AAA |
| Text on card | 18.71:1 | AAA |
| Primary button | 11.30:1 | AAA |
| Secondary button | 6.65:1 | AA |
| Muted text | 6.84:1 | AA |
| Accent | 6.65:1 | AA |
| Destructive | 3.69:1 | AA Large |
Paste this into your globals.css to use Pot in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.006 179.7);
--foreground: oklch(0.099 0.012 179.917);
--muted: oklch(0.955 0.011 0.204);
--muted-foreground: oklch(0.507 0.005 0.164);
--popover: oklch(0.982 0.009 179.615);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.982 0.009 179.615);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.968 0.033 178.861);
--primary-foreground: oklch(0.323 0.06 170.768);
--secondary: oklch(0.928 0.035 0.905);
--secondary-foreground: oklch(0.444 0.171 16.561);
--accent: oklch(0.928 0.035 0.905);
--accent-foreground: oklch(0.444 0.171 16.561);
--destructive: oklch(0.506 0.19 29.583);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.968 0.033 178.861);
--chart-1: oklch(0.968 0.033 178.861);
--chart-2: oklch(0.928 0.035 0.905);
--chart-3: oklch(0.928 0.035 0.905);
--chart-4: oklch(0.958 0.02 0.437);
--chart-5: oklch(0.969 0.034 178.826);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.143 0.017 179.351);
--foreground: oklch(0.98 0.005 179.708);
--muted: oklch(0.149 0.019 2.536);
--muted-foreground: oklch(0.68 0.005 0.073);
--popover: oklch(0.16 0.019 177.401);
--popover-foreground: oklch(0.987 0.004 179.762);
--card: oklch(0.16 0.019 177.401);
--card-foreground: oklch(0.987 0.004 179.762);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.968 0.033 178.861);
--primary-foreground: oklch(0.323 0.06 170.768);
--secondary: oklch(0.928 0.035 0.905);
--secondary-foreground: oklch(0.444 0.171 16.561);
--accent: oklch(0.928 0.035 0.905);
--accent-foreground: oklch(0.444 0.171 16.561);
--destructive: oklch(0.639 0.196 28.031);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.968 0.033 178.861);
--chart-1: oklch(0.968 0.033 178.861);
--chart-2: oklch(0.928 0.035 0.905);
--chart-3: oklch(0.928 0.035 0.905);
--chart-4: oklch(0.958 0.02 0.437);
--chart-5: oklch(0.969 0.034 178.826);
}