Craw for shadcn/ui

Craw is a shadcn/ui theme built around a pink primary color (#dc93ab) with teal accents (#93dcc4). The light mode uses a neutral background (#fdfcfc). Dark mode keeps the pink primary (#dc93ab) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fdfcfcsnow
#000000black
Foreground
#16040ablack
#ffffffwhite
Card
#fcf8f9snow
#030303black
Card foreground
#110308black
#ffffffwhite
Popover
#fdfcfcsnow
#000000black
Popover foreground
#16040ablack
#ffffffwhite
Primary
#dc93abpalevioletred
#dc93abpalevioletred
Primary foreground
#2e0f19black
#2e0f19black
Secondary
#93dcc4lightblue
#93dcc4lightblue
Secondary foreground
#0f2e24black
#0f2e24black
Muted
#e3f2edlavender
#0d1c17black
Muted foreground
#5a6c66dimgray
#93a59fdarkgray
Accent
#93dcc4lightblue
#93dcc4lightblue
Accent foreground
#0f2e24black
#0f2e24black
Destructive
#992f06saddlebrown
#f75a1dorangered
Destructive foreground
#fddfd3antiquewhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#dc93abpalevioletred
#dc93abpalevioletred

Contrast

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

Light mode
Text on background19.37:1AAA
Text on card19.15:1AAA
Primary button7.35:1AAA
Secondary button9.24:1AAA
Muted text4.83:1AA
Accent9.24:1AAA
Destructive6.04:1AA
Dark mode
Text on background21.00:1AAA
Text on card20.67:1AAA
Primary button7.35:1AAA
Secondary button9.24:1AAA
Muted text6.78:1AA
Accent9.24:1AAA
Destructive6.44:1AA

CSS variables

Paste this into your globals.css to use Craw in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.002 354.651);
  --foreground: oklch(0.145 0.037 358.288);
  --muted: oklch(0.949 0.018 174.033);
  --muted-foreground: oklch(0.516 0.023 173.192);
  --popover: oklch(0.991 0.002 354.651);
  --popover-foreground: oklch(0.145 0.037 358.288);
  --card: oklch(0.982 0.004 354.715);
  --card-foreground: oklch(0.132 0.032 356.278);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.743 0.093 357.997);
  --primary-foreground: oklch(0.222 0.053 1.408);
  --secondary: oklch(0.84 0.081 171.357);
  --secondary-foreground: oklch(0.275 0.042 168.523);
  --accent: oklch(0.84 0.081 171.357);
  --accent-foreground: oklch(0.275 0.042 168.523);
  --destructive: oklch(0.461 0.148 37.832);
  --destructive-foreground: oklch(0.925 0.038 42.816);
  --ring: oklch(0.743 0.093 357.997);
  --chart-1: oklch(0.743 0.093 357.997);
  --chart-2: oklch(0.84 0.081 171.357);
  --chart-3: oklch(0.84 0.081 171.357);
  --chart-4: oklch(0.856 0.073 171.805);
  --chart-5: oklch(0.742 0.098 358.208);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.211 0.024 170.65);
  --muted-foreground: oklch(0.705 0.022 173.651);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.092 0 180);
  --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.093 357.997);
  --primary-foreground: oklch(0.222 0.053 1.408);
  --secondary: oklch(0.84 0.081 171.357);
  --secondary-foreground: oklch(0.275 0.042 168.523);
  --accent: oklch(0.84 0.081 171.357);
  --accent-foreground: oklch(0.275 0.042 168.523);
  --destructive: oklch(0.67 0.203 38.837);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.743 0.093 357.997);
  --chart-1: oklch(0.743 0.093 357.997);
  --chart-2: oklch(0.84 0.081 171.357);
  --chart-3: oklch(0.84 0.081 171.357);
  --chart-4: oklch(0.856 0.073 171.805);
  --chart-5: oklch(0.742 0.098 358.208);
}