Cyanoceramic is a shadcn/ui theme built around a vivid cyan primary color (#06b6d4) with light blue accents (#f1f5f9). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid cyan primary (#0891b2) on a blue-tinted background (#0f172a).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0f172ablack |
| Foreground | #000000black | #ffffffwhite |
| Card | #ffffffwhite | #334155darkslategray |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #ffffffwhite | #475569darkslategray |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #06b6d4darkturquoise | #0891b2darkcyan |
| Primary foreground | #f8fafcghostwhite | #ffffffwhite |
| Secondary | #f1f5f9whitesmoke | #1e293bdarkslategray |
| Secondary foreground | #0f172ablack | #f8fafcghostwhite |
| Muted | #f1f5f9whitesmoke | #1e293bdarkslategray |
| Muted foreground | #64748bslategray | #94a3b8darkgray |
| Accent | #f1f5f9whitesmoke | #1e293bdarkslategray |
| Accent foreground | #0f172ablack | #ffffffwhite |
| Destructive | #ef4444tomato | #dc2626crimson |
| Destructive foreground | #f8fafcghostwhite | #ffffffwhite |
| Border | #e2e8f0lavender | #1e293bdarkslategray |
| Input | #e2e8f0lavender | #1e293bdarkslategray |
| Ring | #2563ebroyalblue | #1d4ed8royalblue |
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 | 2.32:1 | Fail |
| Secondary button | 16.30:1 | AAA |
| Muted text | 4.34:1 | AA Large |
| Accent | 16.30:1 | AAA |
| Destructive | 3.59:1 | AA Large |
| Text on background | 17.85:1 | AAA |
| Text on card | 10.35:1 | AAA |
| Primary button | 3.68:1 | AA Large |
| Secondary button | 13.95:1 | AAA |
| Muted text | 5.69:1 | AA |
| Accent | 14.60:1 | AAA |
| Destructive | 4.82:1 | AA |
Paste this into your globals.css to use Cyanoceramic in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.033 0.009 250.469);
--muted: oklch(0.968 0.007 247.895);
--muted-foreground: oklch(0.555 0.041 257.44);
--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.929 0.013 255.532);
--input: oklch(0.929 0.013 255.532);
--primary: oklch(0.715 0.126 215.227);
--primary-foreground: oklch(0.984 0.003 247.859);
--secondary: oklch(0.968 0.007 247.895);
--secondary-foreground: oklch(0.208 0.04 265.727);
--accent: oklch(0.968 0.007 247.895);
--accent-foreground: oklch(0.208 0.04 265.727);
--destructive: oklch(0.637 0.208 25.33);
--destructive-foreground: oklch(0.984 0.003 247.859);
--ring: oklch(0.546 0.215 262.872);
--chart-1: oklch(0.677 0.157 35.19);
--chart-2: oklch(0.631 0.101 183.491);
--chart-3: oklch(0.379 0.044 225.539);
--chart-4: oklch(0.834 0.119 88.146);
--chart-5: oklch(0.783 0.126 58.749);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.208 0.04 265.752);
--foreground: oklch(1 0 180);
--muted: oklch(0.28 0.037 259.974);
--muted-foreground: oklch(0.711 0.035 256.788);
--popover: oklch(0.446 0.037 257.275);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.372 0.039 257.281);
--card-foreground: oklch(1 0 180);
--border: oklch(0.28 0.037 259.974);
--input: oklch(0.28 0.037 259.974);
--primary: oklch(0.609 0.111 221.73);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.28 0.037 259.974);
--secondary-foreground: oklch(0.984 0.003 247.859);
--accent: oklch(0.28 0.037 259.974);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.577 0.215 27.324);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.488 0.217 264.388);
--chart-1: oklch(0.529 0.193 262.129);
--chart-2: oklch(0.698 0.134 165.463);
--chart-3: oklch(0.723 0.15 60.631);
--chart-4: oklch(0.619 0.204 312.728);
--chart-5: oklch(0.612 0.209 6.386);
}