Permafrost Swordtail for shadcn/ui

Permafrost Swordtail is a shadcn/ui theme built around a vivid light cyan primary color (#9fedf9) with vivid light red accents (#f9ab9f). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid light cyan primary (#9fedf9) on a cyan-tinted background (#040a0b).

Color palette

TokenLightDark
Background
#ffffffwhite
#040a0bblack
Foreground
#051315black
#fcfdfdwhite
Card
#ffffffwhite
#040a0bblack
Card foreground
#051315black
#fcfdfdwhite
Popover
#ffffffwhite
#040a0bblack
Popover foreground
#051315black
#fcfdfdwhite
Primary
#9fedf9paleturquoise
#9fedf9paleturquoise
Primary foreground
#065460darkslategray
#065460darkslategray
Secondary
#f9ab9flightpink
#f9ab9flightpink
Secondary foreground
#601206maroon
#601206maroon
Muted
#e8d2cegainsboro
#311a17black
Muted foreground
#4a4140darkslategray
#bfb7b5silver
Accent
#f9ab9flightpink
#f9ab9flightpink
Accent foreground
#601206maroon
#601206maroon
Destructive
#e21603red
#fc2f1dorangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#eff0f0whitesmoke
#1d2020black
Input
#eff0f0whitesmoke
#1d2020black
Ring
#9fedf9paleturquoise
#9fedf9paleturquoise

Contrast

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

Light mode
Text on background18.91:1AAA
Text on card18.91:1AAA
Primary button6.53:1AA
Secondary button7.15:1AAA
Muted text6.85:1AA
Accent7.15:1AAA
Destructive4.82:1AA
Dark mode
Text on background19.53:1AAA
Text on card19.53:1AAA
Primary button6.53:1AA
Secondary button7.15:1AAA
Muted text8.25:1AAA
Accent7.15:1AAA
Destructive3.78:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.173 0.021 207.617);
  --muted: oklch(0.881 0.025 28.104);
  --muted-foreground: oklch(0.385 0.012 28.116);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.173 0.021 207.617);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.173 0.021 207.617);
  --border: oklch(0.955 0.001 207.927);
  --input: oklch(0.955 0.001 207.927);
  --primary: oklch(0.9 0.079 208.042);
  --primary-foreground: oklch(0.411 0.07 211.813);
  --secondary: oklch(0.813 0.095 28.971);
  --secondary-foreground: oklch(0.322 0.113 31.873);
  --accent: oklch(0.813 0.095 28.971);
  --accent-foreground: oklch(0.322 0.113 31.873);
  --destructive: oklch(0.579 0.23 30.047);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.9 0.079 208.042);
  --chart-1: oklch(0.9 0.079 208.042);
  --chart-2: oklch(0.813 0.095 28.971);
  --chart-3: oklch(0.813 0.095 28.971);
  --chart-4: oklch(0.84 0.08 28.714);
  --chart-5: oklch(0.902 0.081 208.065);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.139 0.012 205.628);
  --foreground: oklch(0.993 0.001 207.929);
  --muted: oklch(0.248 0.036 29.353);
  --muted-foreground: oklch(0.785 0.01 27.998);
  --popover: oklch(0.139 0.012 205.628);
  --popover-foreground: oklch(0.993 0.001 207.929);
  --card: oklch(0.139 0.012 205.628);
  --card-foreground: oklch(0.993 0.001 207.929);
  --border: oklch(0.24 0.004 207.87);
  --input: oklch(0.24 0.004 207.87);
  --primary: oklch(0.9 0.079 208.042);
  --primary-foreground: oklch(0.411 0.07 211.813);
  --secondary: oklch(0.813 0.095 28.971);
  --secondary-foreground: oklch(0.322 0.113 31.873);
  --accent: oklch(0.813 0.095 28.971);
  --accent-foreground: oklch(0.322 0.113 31.873);
  --destructive: oklch(0.639 0.238 30.046);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.9 0.079 208.042);
  --chart-1: oklch(0.9 0.079 208.042);
  --chart-2: oklch(0.813 0.095 28.971);
  --chart-3: oklch(0.813 0.095 28.971);
  --chart-4: oklch(0.84 0.08 28.714);
  --chart-5: oklch(0.902 0.081 208.065);
}