Crow is a shadcn/ui theme built around a blue primary color (#5891c6) with green accents (#91c658). The light mode uses a neutral background (#f7fafd). Dark mode keeps the blue primary (#5891c6) on a neutral background (#030508).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fafdghostwhite | #030508black |
| Foreground | #02080dblack | #f6f7f8whitesmoke |
| Card | #f7fafdghostwhite | #030508black |
| Card foreground | #02080dblack | #f6f7f8whitesmoke |
| Popover | #f7fafdghostwhite | #030508black |
| Popover foreground | #02080dblack | #f6f7f8whitesmoke |
| Primary | #5891c6steelblue | #5891c6steelblue |
| Primary foreground | #000000black | #000000black |
| Secondary | #c65891palevioletred | #c65891palevioletred |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e0d2d9gainsboro | #2d1f26darkslategray |
| Muted foreground | #564e52darkslategray | #b1a9aedarkgray |
| Accent | #91c658yellowgreen | #91c658yellowgreen |
| Accent foreground | #000000black | #000000black |
| Destructive | #702700maroon | #ff600aorangered |
| Destructive foreground | #ffc3a3navajowhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #5891c6steelblue | #5891c6steelblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.20:1 | AAA |
| Text on card | 19.20:1 | AAA |
| Primary button | 6.25:1 | AA |
| Secondary button | 4.04:1 | AA Large |
| Muted text | 5.50:1 | AA |
| Accent | 10.39:1 | AAA |
| Destructive | 6.84:1 | AA |
| Text on background | 19.02:1 | AAA |
| Text on card | 19.02:1 | AAA |
| Primary button | 6.25:1 | AA |
| Secondary button | 4.04:1 | AA Large |
| Muted text | 6.82:1 | AA |
| Accent | 10.39:1 | AAA |
| Destructive | 6.92:1 | AA |
Paste this into your globals.css to use Crow in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.983 0.006 246.034);
--foreground: oklch(0.128 0.019 236.878);
--muted: oklch(0.877 0.018 344.802);
--muted-foreground: oklch(0.432 0.013 345.023);
--popover: oklch(0.983 0.006 246.034);
--popover-foreground: oklch(0.128 0.019 236.878);
--card: oklch(0.983 0.006 246.034);
--card-foreground: oklch(0.128 0.019 236.878);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.639 0.1 248.118);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.614 0.153 350.371);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.765 0.152 130.729);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.378 0.113 42.747);
--destructive-foreground: oklch(0.864 0.081 49.555);
--ring: oklch(0.639 0.1 248.118);
--chart-1: oklch(0.639 0.1 248.118);
--chart-2: oklch(0.614 0.153 350.371);
--chart-3: oklch(0.765 0.152 130.729);
--chart-4: oklch(0.638 0.143 349.677);
--chart-5: oklch(0.639 0.106 248.302);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.113 0.01 239.26);
--foreground: oklch(0.977 0.002 245.986);
--muted: oklch(0.26 0.025 346.557);
--muted-foreground: oklch(0.744 0.011 344.663);
--popover: oklch(0.113 0.01 239.26);
--popover-foreground: oklch(0.977 0.002 245.986);
--card: oklch(0.113 0.01 239.26);
--card-foreground: oklch(0.977 0.002 245.986);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.639 0.1 248.118);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.614 0.153 350.371);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.765 0.152 130.729);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.688 0.208 41.133);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.639 0.1 248.118);
--chart-1: oklch(0.639 0.1 248.118);
--chart-2: oklch(0.614 0.153 350.371);
--chart-3: oklch(0.765 0.152 130.729);
--chart-4: oklch(0.638 0.143 349.677);
--chart-5: oklch(0.639 0.106 248.302);
}