Lashes for shadcn/ui

Lashes is a shadcn/ui theme built around a deep indigo primary color (#0c092a) with deep violet accents (#1c092a). The light mode uses a neutral background (#f7f7fd). Dark mode keeps the deep indigo primary (#0c092a) on an indigo-tinted background (#04030c).

Color palette

TokenLightDark
Background
#f7f7fdghostwhite
#04030cblack
Foreground
#050410black
#fcfcfdwhite
Card
#f3f3fcaliceblue
#050410black
Card foreground
#04030cblack
#ffffffwhite
Popover
#f7f7fdghostwhite
#04030cblack
Popover foreground
#050410black
#fcfcfdwhite
Primary
#0c092ablack
#0c092ablack
Primary foreground
#d8d5f6lavender
#d8d5f6lavender
Secondary
#09172ablack
#09172ablack
Secondary foreground
#82ace3skyblue
#82ace3skyblue
Muted
#d7dde5gainsboro
#1a2028black
Muted foreground
#5a5c5edimgray
#a1a3a5darkgray
Accent
#1c092ablack
#1c092ablack
Accent foreground
#b982e3orchid
#b982e3orchid
Destructive
#d12300firebrick
#ff370forangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#0c092ablack
#0c092ablack

Contrast

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

Light mode
Text on background19.06:1AAA
Text on card18.57:1AAA
Primary button13.56:1AAA
Secondary button7.65:1AAA
Muted text4.90:1AA
Accent6.56:1AA
Destructive5.31:1AA
Dark mode
Text on background19.99:1AAA
Text on card20.33:1AAA
Primary button13.56:1AAA
Secondary button7.65:1AAA
Muted text6.46:1AA
Accent6.56:1AA
Destructive3.61:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.978 0.008 289.32);
  --foreground: oklch(0.119 0.031 285.039);
  --muted: oklch(0.895 0.013 255.03);
  --muted-foreground: oklch(0.472 0.004 254.998);
  --popover: oklch(0.978 0.008 289.32);
  --popover-foreground: oklch(0.119 0.031 285.039);
  --card: oklch(0.966 0.012 289.237);
  --card-foreground: oklch(0.107 0.026 285.595);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.17 0.063 280.285);
  --primary-foreground: oklch(0.886 0.044 288.526);
  --secondary: oklch(0.204 0.041 255.765);
  --secondary-foreground: oklch(0.735 0.092 255.39);
  --accent: oklch(0.19 0.064 307.483);
  --accent-foreground: oklch(0.699 0.147 309.146);
  --destructive: oklch(0.553 0.21 31.893);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.17 0.063 280.285);
  --chart-1: oklch(0.17 0.063 280.285);
  --chart-2: oklch(0.204 0.041 255.765);
  --chart-3: oklch(0.19 0.064 307.483);
  --chart-4: oklch(0.235 0.052 255.914);
  --chart-5: oklch(0.168 0.066 279.663);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.108 0.025 285.818);
  --foreground: oklch(0.992 0.001 289.464);
  --muted: oklch(0.242 0.018 255.246);
  --muted-foreground: oklch(0.715 0.004 254.981);
  --popover: oklch(0.108 0.025 285.818);
  --popover-foreground: oklch(0.992 0.001 289.464);
  --card: oklch(0.12 0.029 285.285);
  --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.17 0.063 280.285);
  --primary-foreground: oklch(0.886 0.044 288.526);
  --secondary: oklch(0.204 0.041 255.765);
  --secondary-foreground: oklch(0.735 0.092 255.39);
  --accent: oklch(0.19 0.064 307.483);
  --accent-foreground: oklch(0.699 0.147 309.146);
  --destructive: oklch(0.65 0.238 32.305);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.17 0.063 280.285);
  --chart-1: oklch(0.17 0.063 280.285);
  --chart-2: oklch(0.204 0.041 255.765);
  --chart-3: oklch(0.19 0.064 307.483);
  --chart-4: oklch(0.235 0.052 255.914);
  --chart-5: oklch(0.168 0.066 279.663);
}