Skullcap for shadcn/ui

Skullcap is a shadcn/ui theme built around a light orange primary color (#efe1d7) with muted light orange accents (#d7d3d0). The light mode uses a neutral background (#ffffff). Dark mode keeps the light orange primary (#efe1d7) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#040201black
#fdfcfcsnow
Card
#fcfcfcsnow
#030303black
Card foreground
#000000black
#ffffffwhite
Popover
#fcfcfcsnow
#030303black
Popover foreground
#000000black
#ffffffwhite
Primary
#efe1d7antiquewhite
#efe1d7antiquewhite
Primary foreground
#6a452asaddlebrown
#6a452asaddlebrown
Secondary
#d7d3d0lightgrey
#24211eblack
Secondary foreground
#3f3a36darkslategray
#c0b9b5silver
Muted
#e6dfdbgainsboro
#241e19black
Muted foreground
#68605adimgray
#a59d97darkgray
Accent
#d7d3d0lightgrey
#24211eblack
Accent foreground
#3f3a36darkslategray
#c0b9b5silver
Destructive
#9b3e08saddlebrown
#f4772ftomato
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#efe1d7antiquewhite
#efe1d7antiquewhite

Contrast

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

Light mode
Text on background20.70:1AAA
Text on card20.54:1AAA
Primary button6.57:1AA
Secondary button7.55:1AAA
Muted text4.69:1AA
Accent7.55:1AAA
Destructive6.80:1AA
Dark mode
Text on background20.50:1AAA
Text on card20.67:1AAA
Primary button6.57:1AA
Secondary button8.29:1AAA
Muted text6.18:1AA
Accent8.29:1AAA
Destructive7.52:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.093 0.009 65.935);
  --muted: oklch(0.909 0.01 58.21);
  --muted-foreground: oklch(0.494 0.014 57.982);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.918 0.021 58.051);
  --primary-foreground: oklch(0.425 0.065 55.534);
  --secondary: oklch(0.869 0.006 58.267);
  --secondary-foreground: oklch(0.352 0.01 57.961);
  --accent: oklch(0.869 0.006 58.267);
  --accent-foreground: oklch(0.352 0.01 57.961);
  --destructive: oklch(0.485 0.137 43.819);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.918 0.021 58.051);
  --chart-1: oklch(0.918 0.021 58.051);
  --chart-2: oklch(0.869 0.006 58.267);
  --chart-3: oklch(0.869 0.006 58.267);
  --chart-4: oklch(0.893 0.005 58.286);
  --chart-5: oklch(0.918 0.022 58.029);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.992 0.001 58.353);
  --muted: oklch(0.24 0.014 57.54);
  --muted-foreground: oklch(0.701 0.012 58.117);
  --popover: oklch(0.092 0 180);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.092 0 180);
  --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.918 0.021 58.051);
  --primary-foreground: oklch(0.425 0.065 55.534);
  --secondary: oklch(0.249 0.006 58.013);
  --secondary-foreground: oklch(0.79 0.01 58.191);
  --accent: oklch(0.249 0.006 58.013);
  --accent-foreground: oklch(0.79 0.01 58.191);
  --destructive: oklch(0.705 0.174 46.762);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.918 0.021 58.051);
  --chart-1: oklch(0.918 0.021 58.051);
  --chart-2: oklch(0.249 0.006 58.013);
  --chart-3: oklch(0.249 0.006 58.013);
  --chart-4: oklch(0.281 0.007 57.992);
  --chart-5: oklch(0.918 0.022 58.029);
}