Communist Lynx Screen Blue for shadcn/ui

Communist Lynx Screen Blue is a shadcn/ui theme built around a vivid cyan primary color (#24afeb) with neutral gray accents (#c4bbbb). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid cyan primary (#24afeb) on a cyan-tinted background (#040c10).

Color palette

TokenLightDark
Background
#ffffffwhite
#040c10black
Foreground
#000000black
#f8fbfcghostwhite
Card
#ffffffwhite
#040c10black
Card foreground
#000000black
#f8fbfcghostwhite
Popover
#ffffffwhite
#040c10black
Popover foreground
#000000black
#f8fbfcghostwhite
Primary
#24afebdodgerblue
#24afebdodgerblue
Primary foreground
#000000black
#000000black
Secondary
#d1d1d1lightgrey
#222b2fdarkslategray
Secondary foreground
#383838darkslategray
#b8c6ccsilver
Muted
#f4ebeblinen
#0b1114black
Muted foreground
#745858dimgray
#8b9fa7darkgray
Accent
#c4bbbbsilver
#2b414adarkslategray
Accent foreground
#292424darkslategray
#c8d8dflightgrey
Destructive
#8f1e0fdarkred
#e7341dorangered
Destructive foreground
#fbdad5mistyrose
#ffffffwhite
Border
#f2f2f3whitesmoke
#1b1c1dblack
Input
#f2f2f3whitesmoke
#1b1c1dblack
Ring
#24afebdodgerblue
#24afebdodgerblue

Contrast

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

Light mode
Text on background21.00:1AAA
Text on card21.00:1AAA
Primary button8.39:1AAA
Secondary button7.68:1AAA
Muted text5.48:1AA
Accent8.12:1AAA
Destructive6.81:1AA
Dark mode
Text on background18.90:1AAA
Text on card18.90:1AAA
Primary button8.39:1AAA
Secondary button8.19:1AAA
Muted text6.89:1AA
Accent7.34:1AAA
Destructive4.26:1AA Large

CSS variables

Paste this into your globals.css to use Communist Lynx Screen Blue in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.948 0.009 17.32);
  --muted-foreground: oklch(0.489 0.038 18.536);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.962 0 224.988);
  --input: oklch(0.962 0 224.988);
  --primary: oklch(0.711 0.14 233.465);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.861 0 180);
  --secondary-foreground: oklch(0.341 0 158.199);
  --accent: oklch(0.799 0.01 17.368);
  --accent-foreground: oklch(0.265 0.008 17.675);
  --destructive: oklch(0.426 0.151 31.04);
  --destructive-foreground: oklch(0.914 0.037 26.763);
  --ring: oklch(0.711 0.14 233.465);
  --chart-1: oklch(0.711 0.14 233.465);
  --chart-2: oklch(0.861 0 180);
  --chart-3: oklch(0.799 0.01 17.368);
  --chart-4: oklch(0.885 0 180);
  --chart-5: oklch(0.716 0.143 233.937);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.149 0.016 223.538);
  --foreground: oklch(0.985 0.003 225.02);
  --muted: oklch(0.173 0.011 225.921);
  --muted-foreground: oklch(0.689 0.026 225.474);
  --popover: oklch(0.149 0.016 223.538);
  --popover-foreground: oklch(0.985 0.003 225.02);
  --card: oklch(0.149 0.016 223.538);
  --card-foreground: oklch(0.985 0.003 225.02);
  --border: oklch(0.227 0.001 225.05);
  --input: oklch(0.227 0.001 225.05);
  --primary: oklch(0.711 0.14 233.465);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.284 0.015 225.711);
  --secondary-foreground: oklch(0.817 0.017 225.235);
  --accent: oklch(0.36 0.031 226.491);
  --accent-foreground: oklch(0.873 0.019 225.251);
  --destructive: oklch(0.607 0.217 31.041);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.711 0.14 233.465);
  --chart-1: oklch(0.711 0.14 233.465);
  --chart-2: oklch(0.284 0.015 225.711);
  --chart-3: oklch(0.36 0.031 226.491);
  --chart-4: oklch(0.315 0.017 225.748);
  --chart-5: oklch(0.716 0.143 233.937);
}