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).
| Token | Light | Dark |
|---|---|---|
| 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 |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 8.39:1 | AAA |
| Secondary button | 7.68:1 | AAA |
| Muted text | 5.48:1 | AA |
| Accent | 8.12:1 | AAA |
| Destructive | 6.81:1 | AA |
| Text on background | 18.90:1 | AAA |
| Text on card | 18.90:1 | AAA |
| Primary button | 8.39:1 | AAA |
| Secondary button | 8.19:1 | AAA |
| Muted text | 6.89:1 | AA |
| Accent | 7.34:1 | AAA |
| Destructive | 4.26:1 | AA Large |
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);
}