Entrapment Cicada for shadcn/ui

Entrapment Cicada is a shadcn/ui theme built around a vivid deep cyan primary color (#045962) with muted light cyan accents (#cfd7d8). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid deep cyan primary (#045962) on a neutral background (#010404).

Color palette

TokenLightDark
Background
#ffffffwhite
#010404black
Foreground
#040f10black
#fbfdfdwhite
Card
#fcfcfcsnow
#020708black
Card foreground
#030b0cblack
#ffffffwhite
Popover
#ffffffwhite
#010404black
Popover foreground
#040f10black
#fbfdfdwhite
Primary
#045962darkslategray
#045962darkslategray
Primary foreground
#9df2fbpaleturquoise
#9df2fbpaleturquoise
Secondary
#cfd7d8lightgrey
#222e2fdarkslategray
Secondary foreground
#344041darkslategray
#b8caccsilver
Muted
#dee3e3gainsboro
#1c2121black
Muted foreground
#3b4445darkslategray
#bac3c4silver
Accent
#cfd7d8lightgrey
#222e2fdarkslategray
Accent foreground
#344041darkslategray
#b8caccsilver
Destructive
#85110fmaroon
#e72a27crimson
Destructive foreground
#f9cdcdpink
#ffffffwhite
Border
#e4e7e7gainsboro
#242829darkslategray
Input
#e4e7e7gainsboro
#242829darkslategray
Ring
#045962darkslategray
#045962darkslategray

Contrast

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

Light mode
Text on background19.42:1AAA
Text on card19.43:1AAA
Primary button6.36:1AA
Secondary button7.36:1AAA
Muted text7.69:1AAA
Accent7.36:1AAA
Destructive7.02:1AAA
Dark mode
Text on background20.18:1AAA
Text on card20.22:1AAA
Primary button6.36:1AA
Secondary button8.22:1AAA
Muted text9.08:1AAA
Accent8.22:1AAA
Destructive4.40:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.157 0.017 203.821);
  --muted: oklch(0.911 0.005 204.945);
  --muted-foreground: oklch(0.378 0.012 204.782);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.157 0.017 203.821);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.141 0.015 202.855);
  --border: oklch(0.925 0.003 204.965);
  --input: oklch(0.925 0.003 204.965);
  --primary: oklch(0.423 0.071 207.476);
  --primary-foreground: oklch(0.909 0.083 204.733);
  --secondary: oklch(0.874 0.009 204.91);
  --secondary-foreground: oklch(0.361 0.015 204.736);
  --accent: oklch(0.874 0.009 204.91);
  --accent-foreground: oklch(0.361 0.015 204.736);
  --destructive: oklch(0.397 0.15 28.124);
  --destructive-foreground: oklch(0.887 0.05 19.281);
  --ring: oklch(0.423 0.071 207.476);
  --chart-1: oklch(0.423 0.071 207.476);
  --chart-2: oklch(0.874 0.009 204.91);
  --chart-3: oklch(0.874 0.009 204.91);
  --chart-4: oklch(0.897 0.008 204.925);
  --chart-5: oklch(0.427 0.073 207.635);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.097 0.01 202.354);
  --foreground: oklch(0.994 0.002 204.975);
  --muted: oklch(0.242 0.007 204.791);
  --muted-foreground: oklch(0.811 0.01 204.897);
  --popover: oklch(0.097 0.01 202.354);
  --popover-foreground: oklch(0.994 0.002 204.975);
  --card: oklch(0.123 0.013 202.354);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.273 0.006 204.837);
  --input: oklch(0.273 0.006 204.837);
  --primary: oklch(0.423 0.071 207.476);
  --primary-foreground: oklch(0.909 0.083 204.733);
  --secondary: oklch(0.291 0.016 204.699);
  --secondary-foreground: oklch(0.825 0.019 204.828);
  --accent: oklch(0.291 0.016 204.699);
  --accent-foreground: oklch(0.825 0.019 204.828);
  --destructive: oklch(0.6 0.222 27.808);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.423 0.071 207.476);
  --chart-1: oklch(0.423 0.071 207.476);
  --chart-2: oklch(0.291 0.016 204.699);
  --chart-3: oklch(0.291 0.016 204.699);
  --chart-4: oklch(0.324 0.019 204.695);
  --chart-5: oklch(0.427 0.073 207.635);
}