Pusher is a shadcn/ui theme built around a vivid red primary color (#ec2513) with vivid orange accents (#ec9213). The light mode uses a neutral background (#fefbfb). Dark mode keeps the vivid red primary (#ec2513) on a red-tinted background (#0f0605).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfbsnow | #0f0605black |
| Foreground | #100504black | #f9f6f6whitesmoke |
| Card | #fefbfbsnow | #0f0605black |
| Card foreground | #100504black | #f9f6f6whitesmoke |
| Popover | #fefbfbsnow | #0f0605black |
| Popover foreground | #100504black | #f9f6f6whitesmoke |
| Primary | #ec2513orangered | #ec2513orangered |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #ec136ddeeppink | #ec136ddeeppink |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e2d0d7gainsboro | #2f1d25darkslategray |
| Muted foreground | #5a5859dimgray | #a7a5a6darkgray |
| Accent | #ec9213darkorange | #ec9213darkorange |
| Accent foreground | #2f1d04black | #2f1d04black |
| Destructive | #9d2206firebrick | #f74118orangered |
| Destructive foreground | #fedfd8mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #ec2513orangered | #ec2513orangered |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.56:1 | AAA |
| Text on card | 19.56:1 | AAA |
| Primary button | 4.33:1 | AA Large |
| Secondary button | 4.30:1 | AA Large |
| Muted text | 4.77:1 | AA |
| Accent | 6.66:1 | AA |
| Destructive | 6.27:1 | AA |
| Text on background | 18.63:1 | AAA |
| Text on card | 18.63:1 | AAA |
| Primary button | 4.33:1 | AA Large |
| Secondary button | 4.30:1 | AA Large |
| Muted text | 6.46:1 | AA |
| Accent | 6.66:1 | AA |
| Destructive | 3.68:1 | AA Large |
Paste this into your globals.css to use Pusher in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.002 23.605);
--foreground: oklch(0.135 0.023 28.456);
--muted: oklch(0.873 0.023 350.388);
--muted-foreground: oklch(0.464 0.003 349.826);
--popover: oklch(0.991 0.002 23.605);
--popover-foreground: oklch(0.135 0.023 28.456);
--card: oklch(0.991 0.002 23.605);
--card-foreground: oklch(0.135 0.023 28.456);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.604 0.231 30.092);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.61 0.238 5.887);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.736 0.16 66.012);
--accent-foreground: oklch(0.249 0.048 72.281);
--destructive: oklch(0.456 0.163 33.058);
--destructive-foreground: oklch(0.926 0.036 32.718);
--ring: oklch(0.604 0.231 30.092);
--chart-1: oklch(0.604 0.231 30.092);
--chart-2: oklch(0.61 0.238 5.887);
--chart-3: oklch(0.736 0.16 66.012);
--chart-4: oklch(0.62 0.235 3.815);
--chart-5: oklch(0.61 0.236 30.085);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.137 0.019 27.254);
--foreground: oklch(0.976 0.003 23.608);
--muted: oklch(0.258 0.031 352.877);
--muted-foreground: oklch(0.723 0.002 349.76);
--popover: oklch(0.137 0.019 27.254);
--popover-foreground: oklch(0.976 0.003 23.608);
--card: oklch(0.137 0.019 27.254);
--card-foreground: oklch(0.976 0.003 23.608);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.604 0.231 30.092);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.61 0.238 5.887);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.736 0.16 66.012);
--accent-foreground: oklch(0.249 0.048 72.281);
--destructive: oklch(0.643 0.223 33.349);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.604 0.231 30.092);
--chart-1: oklch(0.604 0.231 30.092);
--chart-2: oklch(0.61 0.238 5.887);
--chart-3: oklch(0.736 0.16 66.012);
--chart-4: oklch(0.62 0.235 3.815);
--chart-5: oklch(0.61 0.236 30.085);
}