Skip to main content
Documentation
On this page

Framework guides

Choose the tool that owns your global stylesheet. Each guide starts from the tool's normal project structure, loads Cirth once, builds for production and checks that forced light and dark regions still work.

If you only need a plain HTML page, use the Installation quickstart instead.

Guides #

Build tools

JavaScript frameworks

HTML enhancement

Server-rendered apps

Frameworks and template systems that generate HTML on the server and serve Cirth as a static stylesheet.

Content management

Static site generators

WebAssembly and Rust

Logos belong to their projects; none of these projects is affiliated with Cirth or endorses it (sources and terms).

What a guide covers #

Every guide answers four stack-specific questions:

  1. Which file should import or link Cirth?
  2. Does the tool transform already compiled CSS?
  3. Does its browser target need to be changed?
  4. How can you verify the production result?

The package command, default import and general browser requirements remain authoritative on Installation, Package and builds and Compatibility. The guides do not redefine those shared contracts.

Verification status #

All 53 guides are currently marked Verified.

“Verified” means the documented steps were performed in a new project made with the tool's own starter, the production build completed, and the result was checked in Chromium with a light page and a forced dark subtree. The individual guide records:

  • the versions used;
  • the verification date;
  • what the CSS pipeline did;
  • the observed result.

The current checks were performed between 1 October 2026 and 9 October 2026. A later release of a tool may change its starter or CSS processing. Treat the recorded versions as evidence, then repeat the guide's final production check in your project.

Other possible labels are Docs verified, when a guide follows official documentation but has not been built here; Reported, when a result has not been reproduced; and Not supported. A guide must not present one of those levels as a verified build.

If your stack is not listed #

Use the stack's official global-CSS mechanism:

  1. install @cirthcss/cirth;
  2. import @cirthcss/cirth once;
  3. build for production;
  4. confirm that light-dark( remains in the emitted stylesheet;
  5. render a data-theme="dark" region while the system uses a light scheme.

The full diagnostic procedure is in Bundlers and CSS pipelines. Open a focused contribution if the setup is repeatable and useful to other readers.

Logos and project names #

Project names identify the tools their guides cover. Logo files are shown only under the recorded source and usage decision for that project. Cirth is not affiliated with or endorsed by the listed projects.

Framework logo attributions contains the complete inventory, source links, terms and text-only decisions.

Search documentation

Type at least two characters to search.