Crowded is a shadcn/ui theme built around an indigo primary color (#ada3dc) with green accents (#d1dca3). The light mode uses a neutral background (#f8f7fd). Dark mode keeps the indigo primary (#ada3dc) on an indigo-tinted background (#06050a).
| Token | Light | Dark |
|---|---|---|
| Background | #f8f7fdghostwhite | #06050ablack |
| Foreground | #04020dblack | #ffffffwhite |
| Card | #f5f3fbwhitesmoke | #08070dblack |
| Card foreground | #030109black | #ffffffwhite |
| Popover | #f8f7fdghostwhite | #06050ablack |
| Popover foreground | #04020dblack | #ffffffwhite |
| Primary | #ada3dclightsteelblue | #ada3dclightsteelblue |
| Primary foreground | #1b1537midnightblue | #1b1537midnightblue |
| Secondary | #d1dca3palegoldenrod | #d1dca3palegoldenrod |
| Secondary foreground | #313715darkslategray | #313715darkslategray |
| Muted | #e8eae1beige | #1c1e15black |
| Muted foreground | #4f5049darkslategray | #b5b6afdarkgray |
| Accent | #d1dca3palegoldenrod | #d1dca3palegoldenrod |
| Accent foreground | #313715darkslategray | #313715darkslategray |
| Destructive | #6d1c03maroon | #f95624tomato |
| Destructive foreground | #fdbaa5lightpink | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #ada3dclightsteelblue | #ada3dclightsteelblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.35:1 | AAA |
| Text on card | 18.88:1 | AAA |
| Primary button | 7.45:1 | AAA |
| Secondary button | 8.57:1 | AAA |
| Muted text | 6.69:1 | AA |
| Accent | 8.57:1 | AAA |
| Destructive | 7.00:1 | AAA |
| Text on background | 20.28:1 | AAA |
| Text on card | 20.05:1 | AAA |
| Primary button | 7.45:1 | AAA |
| Secondary button | 8.57:1 | AAA |
| Muted text | 8.27:1 | AAA |
| Accent | 8.57:1 | AAA |
| Destructive | 6.39:1 | AA |
Paste this into your globals.css to use Crowded in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.979 0.007 294.684);
--foreground: oklch(0.103 0.034 292.379);
--muted: oklch(0.932 0.011 115.041);
--muted-foreground: oklch(0.429 0.012 115.36);
--popover: oklch(0.979 0.007 294.684);
--popover-foreground: oklch(0.103 0.034 292.379);
--card: oklch(0.968 0.011 294.611);
--card-foreground: oklch(0.089 0.03 292.778);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.743 0.082 292.685);
--primary-foreground: oklch(0.225 0.064 288.551);
--secondary: oklch(0.872 0.076 116.452);
--secondary-foreground: oklch(0.324 0.054 118.176);
--accent: oklch(0.872 0.076 116.452);
--accent-foreground: oklch(0.324 0.054 118.176);
--destructive: oklch(0.358 0.119 35.983);
--destructive-foreground: oklch(0.845 0.083 37.615);
--ring: oklch(0.743 0.082 292.685);
--chart-1: oklch(0.743 0.082 292.685);
--chart-2: oklch(0.872 0.076 116.452);
--chart-3: oklch(0.872 0.076 116.452);
--chart-4: oklch(0.887 0.067 116.23);
--chart-5: oklch(0.739 0.088 292.518);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.122 0.013 294.249);
--foreground: oklch(1 0 180);
--muted: oklch(0.229 0.015 116.064);
--muted-foreground: oklch(0.774 0.011 115.081);
--popover: oklch(0.122 0.013 294.249);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.134 0.015 293.749);
--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.743 0.082 292.685);
--primary-foreground: oklch(0.225 0.064 288.551);
--secondary: oklch(0.872 0.076 116.452);
--secondary-foreground: oklch(0.324 0.054 118.176);
--accent: oklch(0.872 0.076 116.452);
--accent-foreground: oklch(0.324 0.054 118.176);
--destructive: oklch(0.669 0.208 36.344);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.743 0.082 292.685);
--chart-1: oklch(0.743 0.082 292.685);
--chart-2: oklch(0.872 0.076 116.452);
--chart-3: oklch(0.872 0.076 116.452);
--chart-4: oklch(0.887 0.067 116.23);
--chart-5: oklch(0.739 0.088 292.518);
}