Skeletal for shadcn/ui

Skeletal is a shadcn/ui theme built around a vivid deep pink primary color (#93015d) with vivid deep blue accents (#015d93). The light mode uses a neutral background (#fdf7fb). Dark mode keeps the vivid deep pink primary (#93015d) on a pink-tinted background (#0a0508).

Color palette

TokenLightDark
Background
#fdf7fbsnow
#0a0508black
Foreground
#0c0309black
#fbf9fasnow
Card
#fcf3f9lavenderblush
#0d070bblack
Card foreground
#080206black
#fdfcfdwhite
Popover
#fcf3f9lavenderblush
#0d070bblack
Popover foreground
#080206black
#fdfcfdwhite
Primary
#93015dpurple
#93015dpurple
Primary foreground
#ffc7eamistyrose
#ffc7eamistyrose
Secondary
#5d9301olivedrab
#5d9301olivedrab
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#eaf0e0beige
#191f0fblack
Muted foreground
#666c5adimgray
#9ea593darkgray
Accent
#015d93teal
#015d93teal
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#932001darkred
#fe5c2ftomato
Destructive foreground
#ffd3c7peachpuff
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#93015dpurple
#93015dpurple

Contrast

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

Light mode
Text on background19.23:1AAA
Text on card18.89:1AAA
Primary button6.07:1AA
Secondary button3.71:1AA Large
Muted text4.66:1AA
Accent6.98:1AA
Destructive6.26:1AA
Dark mode
Text on background19.27:1AAA
Text on card19.48:1AAA
Primary button6.07:1AA
Secondary button3.71:1AA Large
Muted text6.66:1AA
Accent6.98:1AA
Destructive6.77:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.982 0.008 338.893);
  --foreground: oklch(0.122 0.027 339.406);
  --muted: oklch(0.946 0.021 123.268);
  --muted-foreground: oklch(0.522 0.028 123.777);
  --popover: oklch(0.972 0.012 338.983);
  --popover-foreground: oklch(0.106 0.023 339.011);
  --card: oklch(0.972 0.012 338.983);
  --card-foreground: oklch(0.106 0.023 339.011);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.437 0.181 351.079);
  --primary-foreground: oklch(0.89 0.077 340.488);
  --secondary: oklch(0.603 0.164 130.662);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.463 0.114 244.098);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.435 0.155 34.314);
  --destructive-foreground: oklch(0.902 0.052 35.955);
  --ring: oklch(0.437 0.181 351.079);
  --chart-1: oklch(0.437 0.181 351.079);
  --chart-2: oklch(0.603 0.164 130.662);
  --chart-3: oklch(0.463 0.114 244.098);
  --chart-4: oklch(0.648 0.176 130.783);
  --chart-5: oklch(0.441 0.184 351.421);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.127 0.013 338.863);
  --foreground: oklch(0.984 0.003 338.788);
  --muted: oklch(0.227 0.029 125.02);
  --muted-foreground: oklch(0.71 0.026 123.504);
  --popover: oklch(0.14 0.015 340.034);
  --popover-foreground: oklch(0.992 0.002 338.754);
  --card: oklch(0.14 0.015 340.034);
  --card-foreground: oklch(0.992 0.002 338.754);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.437 0.181 351.079);
  --primary-foreground: oklch(0.89 0.077 340.488);
  --secondary: oklch(0.603 0.164 130.662);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.463 0.114 244.098);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.684 0.206 35.801);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.437 0.181 351.079);
  --chart-1: oklch(0.437 0.181 351.079);
  --chart-2: oklch(0.603 0.164 130.662);
  --chart-3: oklch(0.463 0.114 244.098);
  --chart-4: oklch(0.648 0.176 130.783);
  --chart-5: oklch(0.441 0.184 351.421);
}