Eyelashes for shadcn/ui

Eyelashes is a shadcn/ui theme built around a light purple primary color (#f4ccf5) with light green accents (#cdf5cc). The light mode uses a neutral background (#ffffff). Dark mode keeps the light purple primary (#f4ccf5) on a neutral background (#080208).

Color palette

TokenLightDark
Background
#ffffffwhite
#080208black
Foreground
#0d020dblack
#fdfbfdsnow
Card
#ffffffwhite
#080208black
Card foreground
#0d020dblack
#fdfbfdsnow
Popover
#ffffffwhite
#080208black
Popover foreground
#0d020dblack
#fdfbfdsnow
Primary
#f4ccf5lavender
#f4ccf5lavender
Primary foreground
#751778purple
#751778purple
Secondary
#cdf5ccgainsboro
#cdf5ccgainsboro
Secondary foreground
#072207black
#072207black
Muted
#d6e6d6gainsboro
#192919black
Muted foreground
#455a44darkslategray
#a6bba5darkgray
Accent
#cdf5ccgainsboro
#cdf5ccgainsboro
Accent foreground
#072207black
#072207black
Destructive
#611705maroon
#f43e10orangered
Destructive foreground
#fab09elightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#f4ccf5lavender
#f4ccf5lavender

Contrast

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

Light mode
Text on background20.35:1AAA
Text on card20.35:1AAA
Primary button6.86:1AA
Secondary button14.14:1AAA
Muted text5.77:1AA
Accent14.14:1AAA
Destructive7.18:1AAA
Dark mode
Text on background19.93:1AAA
Text on card19.93:1AAA
Primary button6.86:1AA
Secondary button14.14:1AAA
Muted text7.44:1AAA
Accent14.14:1AAA
Destructive3.79:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.121 0.039 326.657);
  --muted: oklch(0.909 0.028 144.418);
  --muted-foreground: oklch(0.444 0.044 143.95);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.121 0.039 326.657);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.121 0.039 326.657);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.891 0.071 325.107);
  --primary-foreground: oklch(0.408 0.168 326.616);
  --secondary: oklch(0.931 0.07 144.124);
  --secondary-foreground: oklch(0.225 0.06 142.641);
  --accent: oklch(0.931 0.07 144.124);
  --accent-foreground: oklch(0.225 0.06 142.641);
  --destructive: oklch(0.33 0.11 34.694);
  --destructive-foreground: oklch(0.824 0.091 34.581);
  --ring: oklch(0.891 0.071 325.107);
  --chart-1: oklch(0.891 0.071 325.107);
  --chart-2: oklch(0.931 0.07 144.124);
  --chart-3: oklch(0.931 0.07 144.124);
  --chart-4: oklch(0.948 0.052 144.257);
  --chart-5: oklch(0.89 0.074 325.128);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.108 0.026 326.335);
  --foreground: oklch(0.991 0.003 324.639);
  --muted: oklch(0.263 0.037 143.654);
  --muted-foreground: oklch(0.77 0.039 144.287);
  --popover: oklch(0.108 0.026 326.335);
  --popover-foreground: oklch(0.991 0.003 324.639);
  --card: oklch(0.108 0.026 326.335);
  --card-foreground: oklch(0.991 0.003 324.639);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.891 0.071 325.107);
  --primary-foreground: oklch(0.408 0.168 326.616);
  --secondary: oklch(0.931 0.07 144.124);
  --secondary-foreground: oklch(0.225 0.06 142.641);
  --accent: oklch(0.931 0.07 144.124);
  --accent-foreground: oklch(0.225 0.06 142.641);
  --destructive: oklch(0.635 0.223 33.666);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.891 0.071 325.107);
  --chart-1: oklch(0.891 0.071 325.107);
  --chart-2: oklch(0.931 0.07 144.124);
  --chart-3: oklch(0.931 0.07 144.124);
  --chart-4: oklch(0.948 0.052 144.257);
  --chart-5: oklch(0.89 0.074 325.128);
}