Pot is a shadcn/ui theme built around a vivid teal primary color (#4df5fe) with vivid yellow accents (#f5fe4d). The light mode uses a neutral background (#fbfefe). Dark mode keeps the vivid teal primary (#4df5fe) on a teal-tinted background (#050a0a).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefewhite | #050a0ablack |
| Foreground | #041010black | #fcfdfdwhite |
| Card | #fbfefewhite | #050a0ablack |
| Card foreground | #041010black | #fcfdfdwhite |
| Popover | #fbfefewhite | #050a0ablack |
| Popover foreground | #041010black | #fcfdfdwhite |
| Primary | #4df5feturquoise | #4df5feturquoise |
| Primary foreground | #001819black | #001819black |
| Secondary | #fe4df5violet | #fe4df5violet |
| Secondary foreground | #190018black | #190018black |
| Muted | #eae6e9lavender | #191518black |
| Muted foreground | #4f4a4fdarkslategray | #b5b0b5darkgray |
| Accent | #f5fe4dkhaki | #f5fe4dkhaki |
| Accent foreground | #181900black | #181900black |
| Destructive | #ac4511saddlebrown | #ea6d2echocolate |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #4df5feturquoise | #4df5feturquoise |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.04:1 | AAA |
| Text on card | 19.04:1 | AAA |
| Primary button | 13.84:1 | AAA |
| Secondary button | 7.21:1 | AAA |
| Muted text | 7.02:1 | AAA |
| Accent | 16.29:1 | AAA |
| Destructive | 5.83:1 | AA |
| Text on background | 19.56:1 | AAA |
| Text on card | 19.56:1 | AAA |
| Primary button | 13.84:1 | AAA |
| Secondary button | 7.21:1 | AAA |
| Muted text | 8.45:1 | AAA |
| Accent | 16.29:1 | AAA |
| Destructive | 6.73:1 | AA |
Paste this into your globals.css to use Pot in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.995 0.003 200.848);
--foreground: oklch(0.16 0.019 199.442);
--muted: oklch(0.93 0.005 327.091);
--muted-foreground: oklch(0.416 0.009 327.243);
--popover: oklch(0.995 0.003 200.848);
--popover-foreground: oklch(0.16 0.019 199.442);
--card: oklch(0.995 0.003 200.848);
--card-foreground: oklch(0.16 0.019 199.442);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.89 0.134 200.223);
--primary-foreground: oklch(0.19 0.032 199.359);
--secondary: oklch(0.727 0.273 330.105);
--secondary-foreground: oklch(0.15 0.068 330.221);
--accent: oklch(0.961 0.189 112.305);
--accent-foreground: oklch(0.207 0.046 112.251);
--destructive: oklch(0.521 0.147 42.347);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.89 0.134 200.223);
--chart-1: oklch(0.89 0.134 200.223);
--chart-2: oklch(0.727 0.273 330.105);
--chart-3: oklch(0.961 0.189 112.305);
--chart-4: oklch(0.742 0.256 329.857);
--chart-5: oklch(0.896 0.137 200.259);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.138 0.009 199.62);
--foreground: oklch(0.994 0.002 200.868);
--muted: oklch(0.202 0.008 327.388);
--muted-foreground: oklch(0.763 0.008 327.135);
--popover: oklch(0.138 0.009 199.62);
--popover-foreground: oklch(0.994 0.002 200.868);
--card: oklch(0.138 0.009 199.62);
--card-foreground: oklch(0.994 0.002 200.868);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.89 0.134 200.223);
--primary-foreground: oklch(0.19 0.032 199.359);
--secondary: oklch(0.727 0.273 330.105);
--secondary-foreground: oklch(0.15 0.068 330.221);
--accent: oklch(0.961 0.189 112.305);
--accent-foreground: oklch(0.207 0.046 112.251);
--destructive: oklch(0.676 0.172 44.095);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.89 0.134 200.223);
--chart-1: oklch(0.89 0.134 200.223);
--chart-2: oklch(0.727 0.273 330.105);
--chart-3: oklch(0.961 0.189 112.305);
--chart-4: oklch(0.742 0.256 329.857);
--chart-5: oklch(0.896 0.137 200.259);
}