Plate is a shadcn/ui theme built around a muted light pink primary color (#e6e0e3) with muted light red accents (#e6e0e0). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted light pink primary (#e6e0e3) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #040102black | #ffffffwhite |
| Card | #fcfcfcsnow | #030303black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #040102black | #ffffffwhite |
| Primary | #e6e0e3gainsboro | #e6e0e3gainsboro |
| Primary foreground | #534149darkslategray | #534149darkslategray |
| Secondary | #e6e0e6gainsboro | #e6e0e6gainsboro |
| Secondary foreground | #534152darkslategray | #534152darkslategray |
| Muted | #ecdfeblavender | #20131fblack |
| Muted foreground | #534152darkslategray | #beacbdsilver |
| Accent | #e6e0e0gainsboro | #e6e0e0gainsboro |
| Accent foreground | #534241darkslategray | #534241darkslategray |
| Destructive | #c92703firebrick | #fc5a36tomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e6e0e3gainsboro | #e6e0e3gainsboro |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.78:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 7.25:1 | AAA |
| Secondary button | 7.18:1 | AAA |
| Muted text | 7.27:1 | AAA |
| Accent | 7.24:1 | AAA |
| Destructive | 5.55:1 | AA |
| Text on background | 21.00:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 7.25:1 | AAA |
| Secondary button | 7.18:1 | AAA |
| Muted text | 8.36:1 | AAA |
| Accent | 7.24:1 | AAA |
| Destructive | 6.66:1 | AA |
Paste this into your globals.css to use Plate in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.085 0.014 348.439);
--muted: oklch(0.918 0.021 327.769);
--muted-foreground: oklch(0.401 0.036 328.389);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.085 0.014 348.439);
--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.912 0.008 348.984);
--primary-foreground: oklch(0.397 0.027 350.552);
--secondary: oklch(0.913 0.011 327.665);
--secondary-foreground: oklch(0.401 0.036 328.389);
--accent: oklch(0.912 0.007 22.3);
--accent-foreground: oklch(0.397 0.023 22.954);
--destructive: oklch(0.541 0.2 32.556);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.912 0.008 348.984);
--chart-1: oklch(0.912 0.008 348.984);
--chart-2: oklch(0.913 0.011 327.665);
--chart-3: oklch(0.912 0.007 22.3);
--chart-4: oklch(0.937 0.008 327.63);
--chart-5: oklch(0.911 0.01 349.047);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.21 0.03 328.865);
--muted-foreground: oklch(0.765 0.031 327.932);
--popover: oklch(0 0 0);
--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.912 0.008 348.984);
--primary-foreground: oklch(0.397 0.027 350.552);
--secondary: oklch(0.913 0.011 327.665);
--secondary-foreground: oklch(0.401 0.036 328.389);
--accent: oklch(0.912 0.007 22.3);
--accent-foreground: oklch(0.397 0.023 22.954);
--destructive: oklch(0.68 0.204 34.094);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.912 0.008 348.984);
--chart-1: oklch(0.912 0.008 348.984);
--chart-2: oklch(0.913 0.011 327.665);
--chart-3: oklch(0.912 0.007 22.3);
--chart-4: oklch(0.937 0.008 327.63);
--chart-5: oklch(0.911 0.01 349.047);
}