Fingernail for shadcn/ui

Fingernail is a shadcn/ui theme built around a muted pink primary color (#5d4b53) with muted blue accents (#4b535d). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted pink primary (#5d4b53) on a pink-tinted background (#0c0307).

Color palette

TokenLightDark
Background
#ffffffwhite
#0c0307black
Foreground
#15050cblack
#fbf9fasnow
Card
#fcfcfcsnow
#100409black
Card foreground
#100409black
#fdfcfcsnow
Popover
#fcfcfcsnow
#100409black
Popover foreground
#100409black
#fdfcfcsnow
Primary
#5d4b53dimgray
#5d4b53dimgray
Primary foreground
#efebedlinen
#efebedlinen
Secondary
#535d4bdarkolivegreen
#535d4bdarkolivegreen
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#dbddd9gainsboro
#232622black
Muted foreground
#5f6d54dimgray
#9cab92darkseagreen
Accent
#4b535ddarkslategray
#4b535ddarkslategray
Accent foreground
#ebedeflavender
#ebedeflavender
Destructive
#92300csaddlebrown
#ec4d13orangered
Destructive foreground
#fcdfd5antiquewhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#5d4b53dimgray
#5d4b53dimgray

Contrast

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

Light mode
Text on background19.83:1AAA
Text on card19.69:1AAA
Primary button6.84:1AA
Secondary button6.88:1AA
Muted text4.05:1AA Large
Accent6.64:1AA
Destructive6.28:1AA
Dark mode
Text on background19.40:1AAA
Text on card19.62:1AAA
Primary button6.84:1AA
Secondary button6.88:1AA
Muted text6.31:1AA
Accent6.64:1AA
Destructive3.72:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.147 0.033 352.498);
  --muted: oklch(0.896 0.006 131.146);
  --muted-foreground: oklch(0.517 0.042 131.84);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.134 0.029 350.51);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.134 0.029 350.51);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.434 0.028 350.433);
  --primary-foreground: oklch(0.944 0.005 348.874);
  --secondary: oklch(0.465 0.032 131.712);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.439 0.02 255.154);
  --accent-foreground: oklch(0.945 0.004 254.974);
  --destructive: oklch(0.451 0.14 37.777);
  --destructive-foreground: oklch(0.924 0.035 41.062);
  --ring: oklch(0.434 0.028 350.433);
  --chart-1: oklch(0.434 0.028 350.433);
  --chart-2: oklch(0.465 0.032 131.712);
  --chart-3: oklch(0.439 0.02 255.154);
  --chart-4: oklch(0.494 0.034 131.72);
  --chart-5: oklch(0.432 0.036 350.9);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.121 0.024 348.713);
  --foreground: oklch(0.984 0.002 348.786);
  --muted: oklch(0.264 0.009 131.373);
  --muted-foreground: oklch(0.722 0.039 131.573);
  --popover: oklch(0.134 0.028 350.462);
  --popover-foreground: oklch(0.992 0.001 348.759);
  --card: oklch(0.134 0.028 350.462);
  --card-foreground: oklch(0.992 0.001 348.759);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.434 0.028 350.433);
  --primary-foreground: oklch(0.944 0.005 348.874);
  --secondary: oklch(0.465 0.032 131.712);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.439 0.02 255.154);
  --accent-foreground: oklch(0.945 0.004 254.974);
  --destructive: oklch(0.637 0.204 37.163);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.434 0.028 350.433);
  --chart-1: oklch(0.434 0.028 350.433);
  --chart-2: oklch(0.465 0.032 131.712);
  --chart-3: oklch(0.439 0.02 255.154);
  --chart-4: oklch(0.494 0.034 131.72);
  --chart-5: oklch(0.432 0.036 350.9);
}