Skullcap for shadcn/ui

Skullcap is a shadcn/ui theme built around a teal primary color (#96d4bb) with pink accents (#d496af). The light mode uses a neutral background (#ffffff). Dark mode keeps the teal primary (#96d4bb) on a teal-tinted background (#060f0b).

Color palette

TokenLightDark
Background
#ffffffwhite
#060f0bblack
Foreground
#000000black
#f8fbfamintcream
Card
#fcfcfcsnow
#07120eblack
Card foreground
#000000black
#fcfdfdwhite
Popover
#ffffffwhite
#060f0bblack
Popover foreground
#000000black
#f8fbfamintcream
Primary
#96d4bblightsteelblue
#96d4bblightsteelblue
Primary foreground
#10281eblack
#10281eblack
Secondary
#d496afrosybrown
#d496afrosybrown
Secondary foreground
#28101ablack
#28101ablack
Muted
#ebe0e4gainsboro
#1f1418black
Muted foreground
#6b575fdimgray
#a8949crosybrown
Accent
#d496afrosybrown
#d496afrosybrown
Accent foreground
#28101ablack
#28101ablack
Destructive
#ab3e07saddlebrown
#f6702ctomato
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#96d4bblightsteelblue
#96d4bblightsteelblue

Contrast

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

Light mode
Text on background21.00:1AAA
Text on card20.54:1AAA
Primary button9.25:1AAA
Secondary button7.44:1AAA
Muted text5.17:1AA
Accent7.44:1AAA
Destructive6.12:1AA
Dark mode
Text on background18.68:1AAA
Text on card18.64:1AAA
Primary button9.25:1AAA
Secondary button7.44:1AAA
Muted text6.29:1AA
Accent7.44:1AAA
Destructive7.26: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 0 0);
  --muted: oklch(0.917 0.013 351.02);
  --muted-foreground: oklch(0.479 0.028 352.209);
  --popover: oklch(1 0 180);
  --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.821 0.073 167.769);
  --primary-foreground: oklch(0.254 0.035 165.625);
  --secondary: oklch(0.741 0.081 353.538);
  --secondary-foreground: oklch(0.213 0.042 355.86);
  --accent: oklch(0.741 0.081 353.538);
  --accent-foreground: oklch(0.213 0.042 355.86);
  --destructive: oklch(0.511 0.154 40.826);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.821 0.073 167.769);
  --chart-1: oklch(0.821 0.073 167.769);
  --chart-2: oklch(0.741 0.081 353.538);
  --chart-3: oklch(0.741 0.081 353.538);
  --chart-4: oklch(0.767 0.072 353.131);
  --chart-5: oklch(0.825 0.077 167.566);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.156 0.017 168.687);
  --foreground: oklch(0.987 0.003 170.526);
  --muted: oklch(0.208 0.019 353.096);
  --muted-foreground: oklch(0.687 0.025 351.642);
  --popover: oklch(0.156 0.017 168.687);
  --popover-foreground: oklch(0.987 0.003 170.526);
  --card: oklch(0.171 0.02 167.283);
  --card-foreground: oklch(0.993 0.002 170.575);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.821 0.073 167.769);
  --primary-foreground: oklch(0.254 0.035 165.625);
  --secondary: oklch(0.741 0.081 353.538);
  --secondary-foreground: oklch(0.213 0.042 355.86);
  --accent: oklch(0.741 0.081 353.538);
  --accent-foreground: oklch(0.213 0.042 355.86);
  --destructive: oklch(0.697 0.182 43.736);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.821 0.073 167.769);
  --chart-1: oklch(0.821 0.073 167.769);
  --chart-2: oklch(0.741 0.081 353.538);
  --chart-3: oklch(0.741 0.081 353.538);
  --chart-4: oklch(0.767 0.072 353.131);
  --chart-5: oklch(0.825 0.077 167.566);
}