Pusher is a shadcn/ui theme built around a neutral gray primary color (#7d7d7d) with neutral gray accents (#7d7d7d). The light mode uses a neutral background (#fdf7f7). Dark mode keeps the neutral gray primary (#7d7d7d) on a red-tinted background (#0b0404).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf7f7snow | #0b0404black |
| Foreground | #0d0202black | #fbf9f9snow |
| Card | #fdf7f7snow | #0b0404black |
| Card foreground | #0d0202black | #fbf9f9snow |
| Popover | #fdf7f7snow | #0b0404black |
| Popover foreground | #0d0202black | #fbf9f9snow |
| Primary | #7d7d7dgray | #7d7d7dgray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #7d7d7dgray | #7d7d7dgray |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e2d4d4gainsboro | #2b1d1dblack |
| Muted foreground | #423e3edarkslategray | #c1bdbdsilver |
| Accent | #7d7d7dgray | #7d7d7dgray |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #6b2401maroon | #ef5001orangered |
| Destructive foreground | #ffbf9fnavajowhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #7d7d7dgray | #7d7d7dgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.30:1 | AAA |
| Text on card | 19.30:1 | AAA |
| Primary button | 4.11:1 | AA Large |
| Secondary button | 4.11:1 | AA Large |
| Muted text | 7.35:1 | AAA |
| Accent | 4.11:1 | AA Large |
| Destructive | 7.05:1 | AAA |
| Text on background | 19.36:1 | AAA |
| Text on card | 19.36:1 | AAA |
| Primary button | 4.11:1 | AA Large |
| Secondary button | 4.11:1 | AA Large |
| Muted text | 8.73:1 | AAA |
| Accent | 4.11:1 | AA Large |
| Destructive | 3.61:1 | AA Large |
Paste this into your globals.css to use Pusher in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.006 17.263);
--foreground: oklch(0.114 0.029 22.711);
--muted: oklch(0.882 0.016 17.457);
--muted-foreground: oklch(0.367 0.005 17.396);
--popover: oklch(0.981 0.006 17.263);
--popover-foreground: oklch(0.114 0.029 22.711);
--card: oklch(0.981 0.006 17.263);
--card-foreground: oklch(0.114 0.029 22.711);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.59 0 164.055);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.59 0 164.055);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.59 0 164.055);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.363 0.109 41.887);
--destructive-foreground: oklch(0.854 0.086 47.693);
--ring: oklch(0.59 0 164.055);
--chart-1: oklch(0.59 0 164.055);
--chart-2: oklch(0.59 0 164.055);
--chart-3: oklch(0.59 0 164.055);
--chart-4: oklch(0.615 0 180);
--chart-5: oklch(0.583 0.009 17.421);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.121 0.017 19.883);
--foreground: oklch(0.984 0.002 17.184);
--muted: oklch(0.247 0.023 18.812);
--muted-foreground: oklch(0.803 0.004 17.247);
--popover: oklch(0.121 0.017 19.883);
--popover-foreground: oklch(0.984 0.002 17.184);
--card: oklch(0.121 0.017 19.883);
--card-foreground: oklch(0.984 0.002 17.184);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.59 0 164.055);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.59 0 164.055);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.59 0 164.055);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.644 0.206 39.086);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.59 0 164.055);
--chart-1: oklch(0.59 0 164.055);
--chart-2: oklch(0.59 0 164.055);
--chart-3: oklch(0.59 0 164.055);
--chart-4: oklch(0.615 0 180);
--chart-5: oklch(0.583 0.009 17.421);
}