Plush is a shadcn/ui theme built around a vivid orange primary color (#a76501) with vivid violet accents (#6501a7). The light mode uses a neutral background (#fbfaf8). Dark mode keeps the vivid orange primary (#a76501) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfaf8snow | #000000black |
| Foreground | #040301black | #fbfaf9snow |
| Card | #fbfaf8snow | #000000black |
| Card foreground | #040301black | #fbfaf9snow |
| Popover | #fbfaf8snow | #000000black |
| Popover foreground | #040301black | #fbfaf9snow |
| Primary | #a76501darkgoldenrod | #a76501darkgoldenrod |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #01a765darkcyan | #01a765darkcyan |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e6f4efhoneydew | #0b1913black |
| Muted foreground | #525654darkslategray | #a9adabdarkgray |
| Accent | #6501a7indigo | #6501a7indigo |
| Accent foreground | #f1dbfflavender | #f1dbfflavender |
| Destructive | #bf3212firebrick | #eb4824orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #a76501darkgoldenrod | #a76501darkgoldenrod |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.80:1 | AAA |
| Text on card | 19.80:1 | AAA |
| Primary button | 4.65:1 | AA |
| Secondary button | 3.11:1 | AA Large |
| Muted text | 6.58:1 | AA |
| Accent | 7.71:1 | AAA |
| Destructive | 5.70:1 | AA |
| Text on background | 20.14:1 | AAA |
| Text on card | 20.14:1 | AAA |
| Primary button | 4.65:1 | AA |
| Secondary button | 3.11:1 | AA Large |
| Muted text | 7.96:1 | AAA |
| Accent | 7.71:1 | AAA |
| Destructive | 3.83:1 | AA Large |
Paste this into your globals.css to use Plush in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.986 0.003 78.304);
--foreground: oklch(0.096 0.01 84.835);
--muted: oklch(0.956 0.016 170.124);
--muted-foreground: oklch(0.449 0.005 170.314);
--popover: oklch(0.986 0.003 78.304);
--popover-foreground: oklch(0.096 0.01 84.835);
--card: oklch(0.986 0.003 78.304);
--card-foreground: oklch(0.096 0.01 84.835);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.567 0.126 66.082);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.642 0.154 156.657);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.412 0.216 302.865);
--accent-foreground: oklch(0.921 0.052 311.937);
--destructive: oklch(0.533 0.183 33.459);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.567 0.126 66.082);
--chart-1: oklch(0.567 0.126 66.082);
--chart-2: oklch(0.642 0.154 156.657);
--chart-3: oklch(0.412 0.216 302.865);
--chart-4: oklch(0.685 0.164 156.512);
--chart-5: oklch(0.572 0.128 65.516);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.985 0.001 78.309);
--muted: oklch(0.198 0.023 166.716);
--muted-foreground: oklch(0.743 0.004 170.459);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.985 0.001 78.309);
--card: oklch(0 0 0);
--card-foreground: oklch(0.985 0.001 78.309);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.567 0.126 66.082);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.642 0.154 156.657);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.412 0.216 302.865);
--accent-foreground: oklch(0.921 0.052 311.937);
--destructive: oklch(0.63 0.205 33.841);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.567 0.126 66.082);
--chart-1: oklch(0.567 0.126 66.082);
--chart-2: oklch(0.642 0.154 156.657);
--chart-3: oklch(0.412 0.216 302.865);
--chart-4: oklch(0.685 0.164 156.512);
--chart-5: oklch(0.572 0.128 65.516);
}