Empty is a shadcn/ui theme built around a near-white primary color (#ffffff) with muted red accents (#c7b2b2). The light mode uses a neutral background (#fcf8f8). Dark mode keeps the near-white primary (#ffffff) on a red-tinted background (#0c0303).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf8f8snow | #0c0303black |
| Foreground | #120202black | #fbf9f9snow |
| Card | #fcf8f8snow | #0c0303black |
| Card foreground | #120202black | #fbf9f9snow |
| Popover | #fcf8f8snow | #0c0303black |
| Popover foreground | #120202black | #fbf9f9snow |
| Primary | #ffffffwhite | #ffffffwhite |
| Primary foreground | #333333darkslategray | #333333darkslategray |
| Secondary | #d9d3d3lightgrey | #151414black |
| Secondary foreground | #423838darkslategray | #b1aaaadarkgray |
| Muted | #f0e0e0mistyrose | #1f0f0fblack |
| Muted foreground | #4e4646darkslategray | #b9b1b1darkgray |
| Accent | #c7b2b2silver | #291f1fblack |
| Accent foreground | #291e1eblack | #c6b3b3silver |
| Destructive | #7c170emaroon | #e94435tomato |
| Destructive foreground | #f8c8c3pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #ffffffwhite | #ffffffwhite |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.23:1 | AAA |
| Text on card | 19.23:1 | AAA |
| Primary button | 12.63:1 | AAA |
| Secondary button | 7.66:1 | AAA |
| Muted text | 7.17:1 | AAA |
| Accent | 8.05:1 | AAA |
| Destructive | 7.07:1 | AAA |
| Text on background | 19.40:1 | AAA |
| Text on card | 19.40:1 | AAA |
| Primary button | 12.63:1 | AAA |
| Secondary button | 8.07:1 | AAA |
| Muted text | 8.82:1 | AAA |
| Accent | 8.04:1 | AAA |
| Destructive | 3.94:1 | AA Large |
Paste this into your globals.css to use Empty in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.004 17.226);
--foreground: oklch(0.127 0.036 23.78);
--muted: oklch(0.919 0.018 17.488);
--muted-foreground: oklch(0.402 0.01 17.576);
--popover: oklch(0.982 0.004 17.226);
--popover-foreground: oklch(0.127 0.036 23.78);
--card: oklch(0.982 0.004 17.226);
--card-foreground: oklch(0.127 0.036 23.78);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(1 0 180);
--primary-foreground: oklch(0.321 0 180);
--secondary: oklch(0.872 0.007 17.295);
--secondary-foreground: oklch(0.352 0.014 17.828);
--accent: oklch(0.782 0.024 17.687);
--accent-foreground: oklch(0.249 0.018 18.429);
--destructive: oklch(0.383 0.137 29.871);
--destructive-foreground: oklch(0.873 0.056 24.322);
--ring: oklch(1 0 180);
--chart-1: oklch(1 0 180);
--chart-2: oklch(0.872 0.007 17.295);
--chart-3: oklch(0.782 0.024 17.687);
--chart-4: oklch(0.896 0.006 17.265);
--chart-5: oklch(1 0 180);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.119 0.02 20.52);
--foreground: oklch(0.983 0.002 17.193);
--muted: oklch(0.191 0.028 20.014);
--muted-foreground: oklch(0.768 0.008 17.34);
--popover: oklch(0.119 0.02 20.52);
--popover-foreground: oklch(0.983 0.002 17.193);
--card: oklch(0.119 0.02 20.52);
--card-foreground: oklch(0.983 0.002 17.193);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(1 0 180);
--primary-foreground: oklch(0.321 0 180);
--secondary: oklch(0.191 0.003 17.388);
--secondary-foreground: oklch(0.744 0.008 17.325);
--accent: oklch(0.25 0.016 18.248);
--accent-foreground: oklch(0.784 0.021 17.616);
--destructive: oklch(0.624 0.204 29.299);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(1 0 180);
--chart-1: oklch(1 0 180);
--chart-2: oklch(0.191 0.003 17.388);
--chart-3: oklch(0.25 0.016 18.248);
--chart-4: oklch(0.224 0.003 17.417);
--chart-5: oklch(1 0 180);
}