escook Light for shadcn/ui

escook Light is a shadcn/ui theme built around a muted violet primary color (#6f5695) with vivid light yellow accents (#f8df9b). The light mode uses a yellow-tinted background (#fdf6e2). Dark mode keeps the muted violet primary (#6f5695) on a yellow-tinted background (#fdf6e2).

Color palette

TokenLightDark
Background
#fdf6e2oldlace
#fdf6e2oldlace
Foreground
#333333darkslategray
#333333darkslategray
Card
#fcf3d9papayawhip
#fcf3d9papayawhip
Card foreground
#262626darkslategray
#262626darkslategray
Popover
#fcf1d4papayawhip
#fcf1d4papayawhip
Popover foreground
#1a1a1ablack
#1a1a1ablack
Primary
#6f5695rebeccapurple
#6f5695rebeccapurple
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#bdb4casilver
#bdb4casilver
Secondary foreground
#25202ddarkslategray
#25202ddarkslategray
Muted
#e9e7e2gainsboro
#e9e7e2gainsboro
Muted foreground
#565143darkolivegreen
#565143darkolivegreen
Accent
#f8df9bkhaki
#f8df9bkhaki
Accent foreground
#5b4406saddlebrown
#5b4406saddlebrown
Destructive
#cf1507firebrick
#cf1507firebrick
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#f9edcdblanchedalmond
#f9edcdblanchedalmond
Input
#f7e8c0bisque
#f7e8c0bisque
Ring
#6f5695rebeccapurple
#6f5695rebeccapurple

Contrast

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

Light mode
Text on background11.70:1AAA
Text on card13.66:1AAA
Primary button6.12:1AA
Secondary button7.99:1AAA
Muted text6.39:1AA
Accent7.05:1AAA
Destructive5.59:1AA
Dark mode
Text on background11.70:1AAA
Text on card13.66:1AAA
Primary button6.12:1AA
Secondary button7.99:1AAA
Muted text6.39:1AA
Accent7.05:1AAA
Destructive5.59:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.973 0.027 90.306);
  --foreground: oklch(0.321 0 180);
  --muted: oklch(0.928 0.006 90.172);
  --muted-foreground: oklch(0.435 0.022 90.405);
  --popover: oklch(0.96 0.04 90.373);
  --popover-foreground: oklch(0.216 0 180);
  --card: oklch(0.964 0.036 90.353);
  --card-foreground: oklch(0.27 0 180);
  --border: oklch(0.947 0.043 90.388);
  --input: oklch(0.933 0.055 90.422);
  --primary: oklch(0.505 0.101 301.302);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.785 0.032 303.766);
  --secondary-foreground: oklch(0.254 0.025 302.915);
  --accent: oklch(0.909 0.091 90.341);
  --accent-foreground: oklch(0.401 0.079 86.024);
  --destructive: oklch(0.542 0.214 29.77);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.505 0.101 301.302);
  --chart-1: oklch(0.505 0.101 301.302);
  --chart-2: oklch(0.785 0.032 303.766);
  --chart-3: oklch(0.909 0.091 90.341);
  --chart-4: oklch(0.812 0.028 303.856);
  --chart-5: oklch(0.5 0.112 300.884);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.973 0.027 90.306);
  --foreground: oklch(0.321 0 180);
  --muted: oklch(0.928 0.006 90.172);
  --muted-foreground: oklch(0.435 0.022 90.405);
  --popover: oklch(0.96 0.04 90.373);
  --popover-foreground: oklch(0.216 0 180);
  --card: oklch(0.964 0.036 90.353);
  --card-foreground: oklch(0.27 0 180);
  --border: oklch(0.947 0.043 90.388);
  --input: oklch(0.933 0.055 90.422);
  --primary: oklch(0.505 0.101 301.302);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.785 0.032 303.766);
  --secondary-foreground: oklch(0.254 0.025 302.915);
  --accent: oklch(0.909 0.091 90.341);
  --accent-foreground: oklch(0.401 0.079 86.024);
  --destructive: oklch(0.542 0.214 29.77);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.505 0.101 301.302);
  --chart-1: oklch(0.505 0.101 301.302);
  --chart-2: oklch(0.785 0.032 303.766);
  --chart-3: oklch(0.909 0.091 90.341);
  --chart-4: oklch(0.812 0.028 303.856);
  --chart-5: oklch(0.5 0.112 300.884);
}