P. \ Citadel for shadcn/ui

P. \ Citadel is a shadcn/ui theme built around a vivid teal primary color (#1dfcd6) with deep cyan accents (#15596f). The light mode uses a cyan-tinted background (#09262f). Dark mode keeps the vivid teal primary (#1dfcd6) on a cyan-tinted background (#09262f).

Color palette

TokenLightDark
Background
#09262fblack
#09262fblack
Foreground
#e3b09cburlywood
#e3b09cburlywood
Card
#071f27black
#071f27black
Card foreground
#e9c0aflightpink
#e9c0aflightpink
Popover
#071b22black
#071b22black
Popover foreground
#eecfc3peachpuff
#eecfc3peachpuff
Primary
#1dfcd6turquoise
#1dfcd6turquoise
Primary foreground
#014b3fdarkslategray
#014b3fdarkslategray
Secondary
#2d534cdarkslategray
#2d534cdarkslategray
Secondary foreground
#cde4e0gainsboro
#cde4e0gainsboro
Muted
#22292bdarkslategray
#22292bdarkslategray
Muted foreground
#9babb0darkgray
#9babb0darkgray
Accent
#15596fdarkslategray
#15596fdarkslategray
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#ea1a0bred
#ea1a0bred
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#113540darkslategray
#113540darkslategray
Input
#143f4ddarkslategray
#143f4ddarkslategray
Ring
#1dfcd6turquoise
#1dfcd6turquoise

Contrast

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

Light mode
Text on background8.27:1AAA
Text on card10.24:1AAA
Primary button7.64:1AAA
Secondary button6.43:1AA
Muted text6.26:1AA
Accent7.81:1AAA
Destructive4.52:1AA
Dark mode
Text on background8.27:1AAA
Text on card10.24:1AAA
Primary button7.64:1AAA
Secondary button6.43:1AA
Muted text6.26:1AA
Accent7.81:1AAA
Destructive4.52:1AA

CSS variables

Paste this into your globals.css to use P. \ Citadel in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.25 0.038 223.597);
  --foreground: oklch(0.798 0.066 42.592);
  --muted: oklch(0.273 0.011 219.88);
  --muted-foreground: oklch(0.731 0.02 219.739);
  --popover: oklch(0.21 0.03 222.553);
  --popover-foreground: oklch(0.878 0.038 42.798);
  --card: oklch(0.224 0.033 222.996);
  --card-foreground: oklch(0.838 0.052 42.694);
  --border: oklch(0.308 0.045 223.298);
  --input: oklch(0.343 0.052 223.561);
  --primary: oklch(0.886 0.162 176.519);
  --primary-foreground: oklch(0.37 0.068 176.82);
  --secondary: oklch(0.411 0.045 182.084);
  --secondary-foreground: oklch(0.902 0.025 184.716);
  --accent: oklch(0.434 0.074 225.32);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.595 0.235 29.756);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.886 0.162 176.519);
  --chart-1: oklch(0.886 0.162 176.519);
  --chart-2: oklch(0.411 0.045 182.084);
  --chart-3: oklch(0.434 0.074 225.32);
  --chart-4: oklch(0.444 0.05 182.023);
  --chart-5: oklch(0.895 0.164 176.278);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.25 0.038 223.597);
  --foreground: oklch(0.798 0.066 42.592);
  --muted: oklch(0.273 0.011 219.88);
  --muted-foreground: oklch(0.731 0.02 219.739);
  --popover: oklch(0.21 0.03 222.553);
  --popover-foreground: oklch(0.878 0.038 42.798);
  --card: oklch(0.224 0.033 222.996);
  --card-foreground: oklch(0.838 0.052 42.694);
  --border: oklch(0.308 0.045 223.298);
  --input: oklch(0.343 0.052 223.561);
  --primary: oklch(0.886 0.162 176.519);
  --primary-foreground: oklch(0.37 0.068 176.82);
  --secondary: oklch(0.411 0.045 182.084);
  --secondary-foreground: oklch(0.902 0.025 184.716);
  --accent: oklch(0.434 0.074 225.32);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.595 0.235 29.756);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.886 0.162 176.519);
  --chart-1: oklch(0.886 0.162 176.519);
  --chart-2: oklch(0.411 0.045 182.084);
  --chart-3: oklch(0.434 0.074 225.32);
  --chart-4: oklch(0.444 0.05 182.023);
  --chart-5: oklch(0.895 0.164 176.278);
}