Crook for shadcn/ui

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).

Color palette

TokenLightDark
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

Contrast

WCAG 2 contrast ratios between each background and its foreground color.

Light mode
Text on background20.63:1AAA
Text on card20.27:1AAA
Primary button11.92:1AAA
Secondary button6.41:1AA
Muted text5.63:1AA
Accent16.08:1AAA
Destructive7.04:1AAA
Dark mode
Text on background20.61:1AAA
Text on card20.25:1AAA
Primary button11.92:1AAA
Secondary button6.41:1AA
Muted text7.29:1AAA
Accent16.08:1AAA
Destructive6.34:1AA

CSS variables

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);
}