Popping and Locking is a shadcn/ui theme built around a light yellow primary color (#f2e5bb) with muted indigo accents (#414358). The light mode uses an indigo-tinted background (#21212c). Dark mode keeps the light yellow primary (#f2e5bb) on an indigo-tinted background (#21212c).
| Token | Light | Dark |
|---|---|---|
| Background | #21212cdarkslategray | #21212cdarkslategray |
| Foreground | #f2e5bbwheat | #f2e5bbwheat |
| Card | #1c1d26black | #1c1d26black |
| Card foreground | #f6edd0antiquewhite | #f6edd0antiquewhite |
| Popover | #1a1b23black | #1a1b23black |
| Popover foreground | #faf5e5oldlace | #faf5e5oldlace |
| Primary | #f2e5bbwheat | #f2e5bbwheat |
| Primary foreground | #110e03black | #110e03black |
| Secondary | #534a2ddarkolivegreen | #534a2ddarkolivegreen |
| Secondary foreground | #e4dfcdgainsboro | #e4dfcdgainsboro |
| Muted | #2b2c36darkslategray | #2b2c36darkslategray |
| Muted foreground | #a6a8b9darkgray | #a6a8b9darkgray |
| Accent | #414358darkslategray | #414358darkslategray |
| Accent foreground | #e2e2e9gainsboro | #e2e2e9gainsboro |
| Destructive | #f43210orangered | #f43210orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #303136darkslategray | #303136darkslategray |
| Input | #38383edarkslategray | #38383edarkslategray |
| Ring | #f2e5bbwheat | #f2e5bbwheat |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 12.63:1 | AAA |
| Text on card | 14.31:1 | AAA |
| Primary button | 15.31:1 | AAA |
| Secondary button | 6.60:1 | AA |
| Muted text | 5.91:1 | AA |
| Accent | 7.51:1 | AAA |
| Destructive | 3.95:1 | AA Large |
| Text on background | 12.63:1 | AAA |
| Text on card | 14.31:1 | AAA |
| Primary button | 15.31:1 | AAA |
| Secondary button | 6.60:1 | AA |
| Muted text | 5.91:1 | AA |
| Accent | 7.51:1 | AAA |
| Destructive | 3.95:1 | AA Large |
Paste this into your globals.css to use Popping and Locking in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.253 0.02 280.805);
--foreground: oklch(0.921 0.056 93.112);
--muted: oklch(0.295 0.019 281.05);
--muted-foreground: oklch(0.736 0.025 281.63);
--popover: oklch(0.224 0.016 280.908);
--popover-foreground: oklch(0.97 0.021 92.86);
--card: oklch(0.234 0.018 280.87);
--card-foreground: oklch(0.945 0.039 93.004);
--border: oklch(0.314 0.008 281.763);
--input: oklch(0.343 0.009 281.749);
--primary: oklch(0.921 0.056 93.112);
--primary-foreground: oklch(0.163 0.024 95.418);
--secondary: oklch(0.41 0.046 93.102);
--secondary-foreground: oklch(0.903 0.024 92.9);
--accent: oklch(0.39 0.036 280.544);
--accent-foreground: oklch(0.915 0.009 282.039);
--destructive: oklch(0.627 0.231 31.856);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.921 0.056 93.112);
--chart-1: oklch(0.921 0.056 93.112);
--chart-2: oklch(0.41 0.046 93.102);
--chart-3: oklch(0.39 0.036 280.544);
--chart-4: oklch(0.443 0.051 93.092);
--chart-5: oklch(0.923 0.059 93.122);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.253 0.02 280.805);
--foreground: oklch(0.921 0.056 93.112);
--muted: oklch(0.295 0.019 281.05);
--muted-foreground: oklch(0.736 0.025 281.63);
--popover: oklch(0.224 0.016 280.908);
--popover-foreground: oklch(0.97 0.021 92.86);
--card: oklch(0.234 0.018 280.87);
--card-foreground: oklch(0.945 0.039 93.004);
--border: oklch(0.314 0.008 281.763);
--input: oklch(0.343 0.009 281.749);
--primary: oklch(0.921 0.056 93.112);
--primary-foreground: oklch(0.163 0.024 95.418);
--secondary: oklch(0.41 0.046 93.102);
--secondary-foreground: oklch(0.903 0.024 92.9);
--accent: oklch(0.39 0.036 280.544);
--accent-foreground: oklch(0.915 0.009 282.039);
--destructive: oklch(0.627 0.231 31.856);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.921 0.056 93.112);
--chart-1: oklch(0.921 0.056 93.112);
--chart-2: oklch(0.41 0.046 93.102);
--chart-3: oklch(0.39 0.036 280.544);
--chart-4: oklch(0.443 0.051 93.092);
--chart-5: oklch(0.923 0.059 93.122);
}