Crowded is a shadcn/ui theme built around a vivid deep green primary color (#02400b) with vivid deep red accents (#400b02). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid deep green primary (#02400b) on a neutral background (#030704).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #030704black |
| Foreground | #041606black | #f6f9f6whitesmoke |
| Card | #ffffffwhite | #030704black |
| Card foreground | #041606black | #f6f9f6whitesmoke |
| Popover | #ffffffwhite | #030704black |
| Popover foreground | #041606black | #f6f9f6whitesmoke |
| Primary | #02400bdarkgreen | #02400bdarkgreen |
| Primary foreground | #18f735limegreen | #18f735limegreen |
| Secondary | #0b0240midnightblue | #0b0240midnightblue |
| Secondary foreground | #e1ddfelavender | #e1ddfelavender |
| Muted | #dbd8e8gainsboro | #191727black |
| Muted foreground | #5a5964dimgray | #9c9ba6darkgray |
| Accent | #400b02black | #400b02black |
| Accent foreground | #fa8b7asalmon | #fa8b7asalmon |
| Destructive | #d21414firebrick | #db1414crimson |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #02400bdarkgreen | #02400bdarkgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.70:1 | AAA |
| Text on card | 18.70:1 | AAA |
| Primary button | 8.27:1 | AAA |
| Secondary button | 14.55:1 | AAA |
| Muted text | 4.93:1 | AA |
| Accent | 7.14:1 | AAA |
| Destructive | 5.45:1 | AA |
| Text on background | 19.11:1 | AAA |
| Text on card | 19.11:1 | AAA |
| Primary button | 8.27:1 | AAA |
| Secondary button | 14.55:1 | AAA |
| Muted text | 6.43:1 | AA |
| Accent | 7.14:1 | AAA |
| Destructive | 5.07:1 | AA |
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.177 0.041 147.214);
--muted: oklch(0.89 0.022 292.081);
--muted-foreground: oklch(0.468 0.018 291.804);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.177 0.041 147.214);
--card: oklch(1 0 180);
--card-foreground: oklch(0.177 0.041 147.214);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.323 0.101 144.413);
--primary-foreground: oklch(0.847 0.273 143.647);
--secondary: oklch(0.182 0.108 275.177);
--secondary-foreground: oklch(0.91 0.045 291.593);
--accent: oklch(0.246 0.084 33.31);
--accent-foreground: oklch(0.754 0.138 29.851);
--destructive: oklch(0.548 0.217 28.423);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.323 0.101 144.413);
--chart-1: oklch(0.323 0.101 144.413);
--chart-2: oklch(0.182 0.108 275.177);
--chart-3: oklch(0.246 0.084 33.31);
--chart-4: oklch(0.207 0.125 273.576);
--chart-5: oklch(0.326 0.103 144.368);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.12 0.013 148.999);
--foreground: oklch(0.978 0.004 149.636);
--muted: oklch(0.214 0.031 289.609);
--muted-foreground: oklch(0.694 0.016 292.095);
--popover: oklch(0.12 0.013 148.999);
--popover-foreground: oklch(0.978 0.004 149.636);
--card: oklch(0.12 0.013 148.999);
--card-foreground: oklch(0.978 0.004 149.636);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.323 0.101 144.413);
--primary-foreground: oklch(0.847 0.273 143.647);
--secondary: oklch(0.182 0.108 275.177);
--secondary-foreground: oklch(0.91 0.045 291.593);
--accent: oklch(0.246 0.084 33.31);
--accent-foreground: oklch(0.754 0.138 29.851);
--destructive: oklch(0.566 0.224 28.451);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.323 0.101 144.413);
--chart-1: oklch(0.323 0.101 144.413);
--chart-2: oklch(0.182 0.108 275.177);
--chart-3: oklch(0.246 0.084 33.31);
--chart-4: oklch(0.207 0.125 273.576);
--chart-5: oklch(0.326 0.103 144.368);
}