Crook is a shadcn/ui theme built around a vivid cyan primary color (#44d4ee) with vivid green accents (#d4ee44). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the vivid cyan primary (#44d4ee) on a neutral background (#010404).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfdfewhite | #010404black |
| Foreground | #000000black | #ffffffwhite |
| Card | #f7fcfdghostwhite | #020708black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fbfdfewhite | #010404black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #44d4eeturquoise | #44d4eeturquoise |
| Primary foreground | #000000black | #000000black |
| Secondary | #ee44d4orchid | #ee44d4orchid |
| Secondary foreground | #000000black | #000000black |
| Muted | #f2e3f0lavender | #1c0d19black |
| Muted foreground | #60575fdimgray | #a89fa6darkgray |
| Accent | #d4ee44greenyellow | #d4ee44greenyellow |
| Accent foreground | #000000black | #000000black |
| Destructive | #711d0amaroon | #ee5f3ftomato |
| Destructive foreground | #f8c0b4lightpink | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #44d4eeturquoise | #44d4eeturquoise |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.63:1 | AAA |
| Text on card | 20.27:1 | AAA |
| Primary button | 11.92:1 | AAA |
| Secondary button | 6.41:1 | AA |
| Muted text | 5.63:1 | AA |
| Accent | 16.08:1 | AAA |
| Destructive | 7.04:1 | AAA |
| Text on background | 20.61:1 | AAA |
| Text on card | 20.25:1 | AAA |
| Primary button | 11.92:1 | AAA |
| Secondary button | 6.41:1 | AA |
| Muted text | 7.29:1 | AAA |
| Accent | 16.08:1 | AAA |
| Destructive | 6.34:1 | AA |
Paste this into your globals.css to use Crook in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.002 209.461);
--foreground: oklch(0 0 0);
--muted: oklch(0.932 0.022 330.552);
--muted-foreground: oklch(0.469 0.017 330.706);
--popover: oklch(0.994 0.002 209.461);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.987 0.005 209.455);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.806 0.124 211.987);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.68 0.251 334.779);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.9 0.187 117.819);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.366 0.121 33.757);
--destructive-foreground: oklch(0.856 0.067 32.898);
--ring: oklch(0.806 0.124 211.987);
--chart-1: oklch(0.806 0.124 211.987);
--chart-2: oklch(0.68 0.251 334.779);
--chart-3: oklch(0.9 0.187 117.819);
--chart-4: oklch(0.696 0.238 334.361);
--chart-5: oklch(0.811 0.126 212.176);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.096 0.01 206.239);
--foreground: oklch(1 0 180);
--muted: oklch(0.186 0.033 332.35);
--muted-foreground: oklch(0.711 0.015 330.522);
--popover: oklch(0.096 0.01 206.239);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.121 0.012 206.239);
--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.806 0.124 211.987);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.68 0.251 334.779);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.9 0.187 117.819);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.665 0.184 34.153);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.806 0.124 211.987);
--chart-1: oklch(0.806 0.124 211.987);
--chart-2: oklch(0.68 0.251 334.779);
--chart-3: oklch(0.9 0.187 117.819);
--chart-4: oklch(0.696 0.238 334.361);
--chart-5: oklch(0.811 0.126 212.176);
}