Crowded is a shadcn/ui theme built around a red primary color (#c56d80) with orange accents (#c5866d). The light mode uses a neutral background (#ffffff). Dark mode keeps the red primary (#c56d80) on a red-tinted background (#0e0608).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0e0608black |
| Foreground | #160307black | #fcf8f9snow |
| Card | #fcfcfcsnow | #12080ablack |
| Card foreground | #120306black | #fdfbfcsnow |
| Popover | #fcfcfcsnow | #12080ablack |
| Popover foreground | #120306black | #fdfbfcsnow |
| Primary | #c56d80palevioletred | #c56d80palevioletred |
| Primary foreground | #000000black | #000000black |
| Secondary | #c56dacpalevioletred | #c56dacpalevioletred |
| Secondary foreground | #000000black | #000000black |
| Muted | #f5eff4whitesmoke | #100a0eblack |
| Muted foreground | #4f454cdarkslategray | #bab0b7silver |
| Accent | #c5866drosybrown | #c5866drosybrown |
| Accent foreground | #000000black | #000000black |
| Destructive | #d15715chocolate | #eb7637tomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #c56d80palevioletred | #c56d80palevioletred |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.99:1 | AAA |
| Text on card | 19.73:1 | AAA |
| Primary button | 5.87:1 | AA |
| Secondary button | 6.15:1 | AA |
| Muted text | 8.11:1 | AAA |
| Accent | 7.00:1 | AAA |
| Destructive | 4.14:1 | AA Large |
| Text on background | 19.00:1 | AAA |
| Text on card | 19.17:1 | AAA |
| Primary button | 5.87:1 | AA |
| Secondary button | 6.15:1 | AA |
| Muted text | 9.32:1 | AAA |
| Accent | 7.00:1 | AAA |
| Destructive | 7.20:1 | AAA |
Paste this into your globals.css to use Crowded in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.142 0.039 5.789);
--muted: oklch(0.959 0.008 335.349);
--muted-foreground: oklch(0.403 0.018 335.999);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.13 0.035 4.16);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.13 0.035 4.16);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.639 0.113 6.893);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.654 0.135 338.664);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.677 0.086 42.387);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.605 0.17 43.285);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.639 0.113 6.893);
--chart-1: oklch(0.639 0.113 6.893);
--chart-2: oklch(0.654 0.135 338.664);
--chart-3: oklch(0.677 0.086 42.387);
--chart-4: oklch(0.679 0.125 338.282);
--chart-5: oklch(0.638 0.12 7.282);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.137 0.017 3.124);
--foreground: oklch(0.982 0.004 2.187);
--muted: oklch(0.154 0.013 336.685);
--muted-foreground: oklch(0.768 0.016 335.557);
--popover: oklch(0.149 0.019 4.613);
--popover-foreground: oklch(0.991 0.002 2.126);
--card: oklch(0.149 0.019 4.613);
--card-foreground: oklch(0.991 0.002 2.126);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.639 0.113 6.893);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.654 0.135 338.664);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.677 0.086 42.387);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.692 0.163 46.198);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.639 0.113 6.893);
--chart-1: oklch(0.639 0.113 6.893);
--chart-2: oklch(0.654 0.135 338.664);
--chart-3: oklch(0.677 0.086 42.387);
--chart-4: oklch(0.679 0.125 338.282);
--chart-5: oklch(0.638 0.12 7.282);
}