Polyester is a shadcn/ui theme built around a vivid light red primary color (#ffb9a4) with muted light red accents (#e7e1df). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid light red primary (#ffb9a4) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #0d0502black | #ffffffwhite |
| Card | #fcfcfcsnow | #030303black |
| Card foreground | #090301black | #ffffffwhite |
| Popover | #fcfcfcsnow | #030303black |
| Popover foreground | #090301black | #ffffffwhite |
| Primary | #ffb9a4lightpink | #ffb9a4lightpink |
| Primary foreground | #701a01maroon | #701a01maroon |
| Secondary | #e7e1dfgainsboro | #191615black |
| Secondary foreground | #544540darkslategray | #b6adaadarkgray |
| Muted | #dfd5d3gainsboro | #2c2320darkslategray |
| Muted foreground | #70615cdimgray | #a3948frosybrown |
| Accent | #e7e1dfgainsboro | #191615black |
| Accent foreground | #544540darkslategray | #b6adaadarkgray |
| Destructive | #6b1d00maroon | #ff4f0forangered |
| Destructive foreground | #ffb89elightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #ffb9a4lightpink | #ffb9a4lightpink |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.19:1 | AAA |
| Text on card | 20.04:1 | AAA |
| Primary button | 6.91:1 | AA |
| Secondary button | 7.04:1 | AAA |
| Muted text | 4.11:1 | AA Large |
| Accent | 7.04:1 | AAA |
| Destructive | 7.00:1 | AAA |
| Text on background | 21.00:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 6.91:1 | AA |
| Secondary button | 8.18:1 | AAA |
| Muted text | 5.24:1 | AA |
| Accent | 8.18:1 | AAA |
| Destructive | 3.28:1 | AA Large |
Paste this into your globals.css to use Polyester in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.126 0.022 48.053);
--muted: oklch(0.881 0.011 37.684);
--muted-foreground: oklch(0.505 0.022 37.606);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.11 0.019 48.753);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.11 0.019 48.753);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.845 0.087 37.62);
--primary-foreground: oklch(0.361 0.123 35.916);
--secondary: oklch(0.914 0.007 37.708);
--secondary-foreground: oklch(0.404 0.022 37.595);
--accent: oklch(0.914 0.007 37.708);
--accent-foreground: oklch(0.404 0.022 37.595);
--destructive: oklch(0.355 0.117 37.765);
--destructive-foreground: oklch(0.842 0.09 40.83);
--ring: oklch(0.845 0.087 37.62);
--chart-1: oklch(0.845 0.087 37.62);
--chart-2: oklch(0.914 0.007 37.708);
--chart-3: oklch(0.914 0.007 37.708);
--chart-4: oklch(0.937 0.005 37.717);
--chart-5: oklch(0.845 0.089 37.624);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.266 0.015 37.593);
--muted-foreground: oklch(0.677 0.02 37.631);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.092 0 180);
--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.845 0.087 37.62);
--primary-foreground: oklch(0.361 0.123 35.916);
--secondary: oklch(0.203 0.005 37.646);
--secondary-foreground: oklch(0.754 0.012 37.672);
--accent: oklch(0.203 0.005 37.646);
--accent-foreground: oklch(0.754 0.012 37.672);
--destructive: oklch(0.67 0.221 36.602);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.845 0.087 37.62);
--chart-1: oklch(0.845 0.087 37.62);
--chart-2: oklch(0.203 0.005 37.646);
--chart-3: oklch(0.203 0.005 37.646);
--chart-4: oklch(0.236 0.006 37.639);
--chart-5: oklch(0.845 0.089 37.624);
}