zdanlester is a shadcn/ui theme built around a muted light red primary color (#d6beb8) with muted light yellow accents (#d6cdb8). The light mode uses a neutral background (#fefcfb). Dark mode keeps the muted light red primary (#d6beb8) on a red-tinted background (#0a0605).
| Token | Light | Dark |
|---|---|---|
| Background | #fefcfbsnow | #0a0605black |
| Foreground | #080302black | #ffffffwhite |
| Card | #fcf9f8snow | #0d0807black |
| Card foreground | #040201black | #ffffffwhite |
| Popover | #fefcfbsnow | #0a0605black |
| Popover foreground | #080302black | #ffffffwhite |
| Primary | #d6beb8silver | #d6beb8silver |
| Primary foreground | #3a2622darkslategray | #3a2622darkslategray |
| Secondary | #d6b8c1silver | #d6b8c1silver |
| Secondary foreground | #3a2229darkslategray | #3a2229darkslategray |
| Muted | #dbd7d8gainsboro | #282425darkslategray |
| Muted foreground | #4a4043darkslategray | #bfb5b8silver |
| Accent | #d6cdb8silver | #d6cdb8silver |
| Accent foreground | #3a3322darkslategray | #3a3322darkslategray |
| Destructive | #c51f16firebrick | #d82218crimson |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e6e5e5gainsboro | #252323black |
| Input | #e6e5e5gainsboro | #252323black |
| Ring | #d6beb8silver | #d6beb8silver |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.00:1 | AAA |
| Text on card | 19.70:1 | AAA |
| Primary button | 8.03:1 | AAA |
| Secondary button | 7.95:1 | AAA |
| Muted text | 6.97:1 | AA |
| Accent | 7.92:1 | AAA |
| Destructive | 5.85:1 | AA |
| Text on background | 20.14:1 | AAA |
| Text on card | 19.87:1 | AAA |
| Primary button | 8.03:1 | AAA |
| Secondary button | 7.95:1 | AAA |
| Muted text | 7.65:1 | AAA |
| Accent | 7.92:1 | AAA |
| Destructive | 5.06:1 | AA |
Paste this into your globals.css to use zdanlester in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0.002 34.314);
--foreground: oklch(0.111 0.013 40.559);
--muted: oklch(0.882 0.004 356.804);
--muted-foreground: oklch(0.382 0.014 357.692);
--popover: oklch(0.992 0.002 34.314);
--popover-foreground: oklch(0.111 0.013 40.559);
--card: oklch(0.983 0.004 34.31);
--card-foreground: oklch(0.088 0.01 40.559);
--border: oklch(0.923 0.001 34.315);
--input: oklch(0.923 0.001 34.315);
--primary: oklch(0.82 0.029 34.307);
--primary-foreground: oklch(0.293 0.032 34.564);
--secondary: oklch(0.811 0.037 357.926);
--secondary-foreground: oklch(0.285 0.04 0.493);
--accent: oklch(0.85 0.03 87.556);
--accent-foreground: oklch(0.323 0.03 87.394);
--destructive: oklch(0.53 0.201 29.163);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.82 0.029 34.307);
--chart-1: oklch(0.82 0.029 34.307);
--chart-2: oklch(0.811 0.037 357.926);
--chart-3: oklch(0.85 0.03 87.556);
--chart-4: oklch(0.837 0.031 357.713);
--chart-5: oklch(0.819 0.032 34.313);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.129 0.008 37.541);
--foreground: oklch(1 0 180);
--muted: oklch(0.266 0.006 357.305);
--muted-foreground: oklch(0.783 0.012 357.083);
--popover: oklch(0.129 0.008 37.541);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.143 0.01 36.598);
--card-foreground: oklch(1 0 180);
--border: oklch(0.258 0.003 34.302);
--input: oklch(0.258 0.003 34.302);
--primary: oklch(0.82 0.029 34.307);
--primary-foreground: oklch(0.293 0.032 34.564);
--secondary: oklch(0.811 0.037 357.926);
--secondary-foreground: oklch(0.285 0.04 0.493);
--accent: oklch(0.85 0.03 87.556);
--accent-foreground: oklch(0.323 0.03 87.394);
--destructive: oklch(0.566 0.215 29.199);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.82 0.029 34.307);
--chart-1: oklch(0.82 0.029 34.307);
--chart-2: oklch(0.811 0.037 357.926);
--chart-3: oklch(0.85 0.03 87.556);
--chart-4: oklch(0.837 0.031 357.713);
--chart-5: oklch(0.819 0.032 34.313);
}