Plush is a shadcn/ui theme built around a neutral gray primary color (#4e514d) with neutral gray accents (#514d4e). The light mode uses a neutral background (#ffffff). Dark mode keeps the neutral gray primary (#4e514d) on a neutral background (#020302).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #020302black |
| Foreground | #000000black | #fcfdfcwhite |
| Card | #fcfcfcsnow | #040703black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #ffffffwhite | #020302black |
| Popover foreground | #000000black | #fcfdfcwhite |
| Primary | #4e514ddarkslategray | #4e514ddarkslategray |
| Primary foreground | #e8e9e7linen | #e8e9e7linen |
| Secondary | #4d4e51darkslategray | #4d4e51darkslategray |
| Secondary foreground | #e7e8e9lavender | #e7e8e9lavender |
| Muted | #eaecf6lavender | #090c15black |
| Muted foreground | #545454dimgray | #abababdarkgray |
| Accent | #514d4edarkslategray | #514d4edarkslategray |
| Accent foreground | #e9e7e8lavender | #e9e7e8lavender |
| Destructive | #a61603darkred | #f62004red |
| Destructive foreground | #fee0dcmistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #4e514ddarkslategray | #4e514ddarkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 6.58:1 | AA |
| Secondary button | 6.81:1 | AA |
| Muted text | 6.43:1 | AA |
| Accent | 6.78:1 | AA |
| Destructive | 6.19:1 | AA |
| Text on background | 20.22:1 | AAA |
| Text on card | 20.26:1 | AAA |
| Primary button | 6.58:1 | AA |
| Secondary button | 6.81:1 | AA |
| Muted text | 8.50:1 | AAA |
| Accent | 6.78:1 | AA |
| Destructive | 4.09:1 | AA Large |
Paste this into your globals.css to use Plush in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0 0 0);
--muted: oklch(0.945 0.013 274.867);
--muted-foreground: oklch(0.446 0 180);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.431 0.009 139.439);
--primary-foreground: oklch(0.932 0.002 139.444);
--secondary: oklch(0.423 0.006 274.847);
--secondary-foreground: oklch(0.93 0.002 275.014);
--accent: oklch(0.424 0.006 3.594);
--accent-foreground: oklch(0.93 0.002 3.229);
--destructive: oklch(0.463 0.179 30.948);
--destructive-foreground: oklch(0.93 0.034 26.728);
--ring: oklch(0.431 0.009 139.439);
--chart-1: oklch(0.431 0.009 139.439);
--chart-2: oklch(0.423 0.006 274.847);
--chart-3: oklch(0.424 0.006 3.594);
--chart-4: oklch(0.451 0.007 274.845);
--chart-5: oklch(0.435 0.018 139.435);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.096 0.011 138.388);
--foreground: oklch(0.993 0.003 139.443);
--muted: oklch(0.156 0.02 273.034);
--muted-foreground: oklch(0.741 0 171.254);
--popover: oklch(0.096 0.011 138.388);
--popover-foreground: oklch(0.993 0.003 139.443);
--card: oklch(0.121 0.013 138.388);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.431 0.009 139.439);
--primary-foreground: oklch(0.932 0.002 139.444);
--secondary: oklch(0.423 0.006 274.847);
--secondary-foreground: oklch(0.93 0.002 275.014);
--accent: oklch(0.424 0.006 3.594);
--accent-foreground: oklch(0.93 0.002 3.229);
--destructive: oklch(0.62 0.243 30.595);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.431 0.009 139.439);
--chart-1: oklch(0.431 0.009 139.439);
--chart-2: oklch(0.423 0.006 274.847);
--chart-3: oklch(0.424 0.006 3.594);
--chart-4: oklch(0.451 0.007 274.845);
--chart-5: oklch(0.435 0.018 139.435);
}