Toenail for shadcn/ui

Toenail is a shadcn/ui theme built around a vivid deep blue primary color (#082f4f) with vivid deep indigo accents (#080b4f). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid deep blue primary (#082f4f) on a neutral background (#020508).

Color palette

TokenLightDark
Background
#ffffffwhite
#020508black
Foreground
#040e15black
#f9fafbghostwhite
Card
#fcfcfcsnow
#03080cblack
Card foreground
#030b11black
#fcfdfdwhite
Popover
#ffffffwhite
#020508black
Popover foreground
#040e15black
#f9fafbghostwhite
Primary
#082f4fmidnightblue
#082f4fmidnightblue
Primary foreground
#94c9f4lightskyblue
#94c9f4lightskyblue
Secondary
#084f4bdarkslategray
#084f4bdarkslategray
Secondary foreground
#37ebe2turquoise
#37ebe2turquoise
Muted
#dbe6e5gainsboro
#192423black
Muted foreground
#666666dimgray
#999999darkgray
Accent
#080b4fmidnightblue
#080b4fmidnightblue
Accent foreground
#9499f4mediumpurple
#9499f4mediumpurple
Destructive
#ae220ffirebrick
#ed4b35tomato
Destructive foreground
#fef2f1seashell
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#082f4fmidnightblue
#082f4fmidnightblue

Contrast

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

Light mode
Text on background19.46:1AAA
Text on card19.38:1AAA
Primary button7.80:1AAA
Secondary button6.34:1AA
Muted text4.49:1AA Large
Accent6.92:1AA
Destructive6.34:1AA
Dark mode
Text on background19.51:1AAA
Text on card19.72:1AAA
Primary button7.80:1AAA
Secondary button6.34:1AA
Muted text5.59:1AA
Accent6.92:1AA
Destructive3.70:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.156 0.023 241.189);
  --muted: oklch(0.916 0.011 193.366);
  --muted-foreground: oklch(0.51 0 171.87);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.156 0.023 241.189);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.143 0.019 238.324);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.297 0.072 248.234);
  --primary-foreground: oklch(0.815 0.083 243.705);
  --secondary: oklch(0.387 0.064 189.447);
  --secondary-foreground: oklch(0.854 0.138 189.69);
  --accent: oklch(0.216 0.118 269.031);
  --accent-foreground: oklch(0.717 0.132 280.209);
  --destructive: oklch(0.487 0.178 31.018);
  --destructive-foreground: oklch(0.971 0.012 26.528);
  --ring: oklch(0.297 0.072 248.234);
  --chart-1: oklch(0.297 0.072 248.234);
  --chart-2: oklch(0.387 0.064 189.447);
  --chart-3: oklch(0.216 0.118 269.031);
  --chart-4: oklch(0.432 0.072 189.343);
  --chart-5: oklch(0.298 0.074 248.508);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.113 0.013 234.133);
  --foreground: oklch(0.984 0.002 242.22);
  --muted: oklch(0.249 0.015 192.442);
  --muted-foreground: oklch(0.683 0 180);
  --popover: oklch(0.113 0.013 234.133);
  --popover-foreground: oklch(0.984 0.002 242.22);
  --card: oklch(0.13 0.015 234.956);
  --card-foreground: oklch(0.992 0.001 242.207);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.297 0.072 248.234);
  --primary-foreground: oklch(0.815 0.083 243.705);
  --secondary: oklch(0.387 0.064 189.447);
  --secondary-foreground: oklch(0.854 0.138 189.69);
  --accent: oklch(0.216 0.118 269.031);
  --accent-foreground: oklch(0.717 0.132 280.209);
  --destructive: oklch(0.639 0.203 30.761);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.297 0.072 248.234);
  --chart-1: oklch(0.297 0.072 248.234);
  --chart-2: oklch(0.387 0.064 189.447);
  --chart-3: oklch(0.216 0.118 269.031);
  --chart-4: oklch(0.432 0.072 189.343);
  --chart-5: oklch(0.298 0.074 248.508);
}