API Reference igniter_css v#1.0.0

Copy Markdown View Source

Modules

Semantic patches for CSS files that a user owns, powered by a Rust parser (Biome's lossless CSS CST) integrated via NIFs.

Statistics about a stylesheet. Read-only; produced by IgniterCss.analyze/2.

A @keyframes animation and the selectors that use it.

One at-rule, read back whole.

Igniter-facing wrappers: they take and return an Igniter struct, so callers get Igniter's normal diff preview and confirmation flow for free.

A module that contains helper functions for IgniterCss. For example it helps to normalize the output of the NIFs, read and validate the file, and call the NIF function with the given file path or content.

The result of a codemod.

Parser options handed to the native layer.

The full CSS toolkit surface, on the {:ok, :function_name, result} calling convention shared with igniter_js.

Whole-file transforms. These are not codemods.

Whether a stylesheet is understood well enough to patch.