Pop is a shadcn/ui theme built around a teal primary color (#38b780) with orange accents (#b78038). The light mode uses a neutral background (#ffffff). Dark mode keeps the teal primary (#38b780) on a teal-tinted background (#060e0b).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #060e0bblack |
| Foreground | #03110bblack | #fbfdfdwhite |
| Card | #ffffffwhite | #060e0bblack |
| Card foreground | #03110bblack | #fbfdfdwhite |
| Popover | #ffffffwhite | #060e0bblack |
| Popover foreground | #03110bblack | #fbfdfdwhite |
| Primary | #38b780mediumseagreen | #38b780mediumseagreen |
| Primary foreground | #081b13black | #081b13black |
| Secondary | #8038b7darkorchid | #8038b7darkorchid |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e4dde9gainsboro | #1d1622black |
| Muted foreground | #463b4edarkslategray | #bbb1c4silver |
| Accent | #b78038peru | #b78038peru |
| Accent foreground | #000000black | #000000black |
| Destructive | #932506saddlebrown | #f64d1eorangered |
| Destructive foreground | #fdd8cebisque | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #38b780mediumseagreen | #38b780mediumseagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.28:1 | AAA |
| Text on card | 19.28:1 | AAA |
| Primary button | 7.04:1 | AAA |
| Secondary button | 6.60:1 | AA |
| Muted text | 7.91:1 | AAA |
| Accent | 6.18:1 | AA |
| Destructive | 6.35:1 | AA |
| Text on background | 19.12:1 | AAA |
| Text on card | 19.12:1 | AAA |
| Primary button | 7.04:1 | AAA |
| Secondary button | 6.60:1 | AA |
| Muted text | 8.57:1 | AAA |
| Accent | 6.18:1 | AA |
| Destructive | 3.51:1 | AA Large |
Paste this into your globals.css to use Pop in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.162 0.026 165.974);
--muted: oklch(0.906 0.018 310.91);
--muted-foreground: oklch(0.372 0.035 310.259);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.162 0.026 165.974);
--card: oklch(1 0 180);
--card-foreground: oklch(0.162 0.026 165.974);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.698 0.137 160.384);
--primary-foreground: oklch(0.204 0.03 163.514);
--secondary: oklch(0.501 0.193 306.598);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.643 0.111 70.619);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.439 0.15 34.579);
--destructive-foreground: oklch(0.911 0.044 35.946);
--ring: oklch(0.698 0.137 160.384);
--chart-1: oklch(0.698 0.137 160.384);
--chart-2: oklch(0.501 0.193 306.598);
--chart-3: oklch(0.643 0.111 70.619);
--chart-4: oklch(0.524 0.203 306.557);
--chart-5: oklch(0.706 0.143 159.939);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.154 0.014 167.164);
--foreground: oklch(0.994 0.002 168.666);
--muted: oklch(0.214 0.026 310.026);
--muted-foreground: oklch(0.774 0.03 310.753);
--popover: oklch(0.154 0.014 167.164);
--popover-foreground: oklch(0.994 0.002 168.666);
--card: oklch(0.154 0.014 167.164);
--card-foreground: oklch(0.994 0.002 168.666);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.698 0.137 160.384);
--primary-foreground: oklch(0.204 0.03 163.514);
--secondary: oklch(0.501 0.193 306.598);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.643 0.111 70.619);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.653 0.213 35.165);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.698 0.137 160.384);
--chart-1: oklch(0.698 0.137 160.384);
--chart-2: oklch(0.501 0.193 306.598);
--chart-3: oklch(0.643 0.111 70.619);
--chart-4: oklch(0.524 0.203 306.557);
--chart-5: oklch(0.706 0.143 159.939);
}