The core Tailwind V4 stylesheets to implement the Cyan interface
Find a file
2026-03-25 16:04:49 +02:00
.gitignore Initial Cyan Core release 2025-06-21 15:01:13 +03:00
cyan-icon.png Initial Cyan Core release 2025-06-21 15:01:13 +03:00
index.css Initial Cyan Core release 2025-06-21 15:01:13 +03:00
LICENSE Initial Cyan Core release 2025-06-21 15:01:13 +03:00
package.bak.json Initial Cyan Core release 2025-06-21 15:01:13 +03:00
package.json Bump version from 3.0.0 to 3.0.1 2026-03-25 16:04:49 +02:00
pnpm-lock.yaml Initial Cyan Core release 2025-06-21 15:01:13 +03:00
pnpm-workspace.yaml Initial Cyan Core release 2025-06-21 15:01:13 +03:00
README.md Revise installation instructions in README.md 2026-03-25 15:59:53 +02:00
theme.css Fix variable name for shadow colors in theme.css 2026-03-25 16:04:29 +02:00
utilities.css Initial Cyan Core release 2025-06-21 15:01:13 +03:00

Cyan Core - The core Tailwind V4 stylesheets to implement the Cyan interface

Installing

pnpm add https://github.com/CyanDesign/Core.git

To use, import in your main stylesheet:

@import "@cyandesign/core";

You can also use the different parts separately:

@import "@cyandesign/core/theme.css";
/*Utility classes require the theme import*/
@import "@cyandesign/core/utilities.css";

Setup

Custom Variables

Cyan supports 4 themes out of the box:

  • Light
  • Dark
  • Darker
  • Black/AMOLED with light being the default, meaning no extra setup is needed. If your app follows standard CSS prefers-color-scheme, dark mode also works out of the box. To make all 3 dark modes work, you need to set custom variants as follows:
@custom-variant dark (&:where(.theme-dark, .theme-dark *, .theme-dark .theme-light, .theme-dark .theme-light *));
@custom-variant darker (&:where(.theme-darker, .theme-darker *));
@custom-variant black (&:where(.theme-midnight, .theme-midnight *));