Module core

Source
Expand description

The core module contains the essential building blocks of the Grimoire CSS system.

This module defines the core structures and logic required to build and optimize CSS. It includes utilities for parsing, generating, and managing CSS, as well as error handling and configuration management. The public submodules provide the necessary components to work with the Grimoire CSS pipeline, from initial configuration to the final optimized output.

Re-exports§

pub use color::*;
pub use config::*;
pub use css_builder::*;
pub use css_optimizer::*;
pub use grimoire_css_error::*;

Modules§

color
This module provides color parsing and manipulation strictly following the CSS Color Module Level 4 specification.
component
This module provides mappings between CSS properties and their abbreviations (short syntax).
config
Configuration management for GrimoireCSS.
css_builder
The CSS builder module provides flexible CSS generation and processing.
css_optimizer
This module defines the CssOptimizer trait, which provides an interface for optimizing raw CSS.
grimoire_css_error
This module defines the GrimoireCssError enum, which encapsulates various error types that can occur within the GrimoireCSS project.
spell
This module defines the Spell struct, which represents a parsed CSS spell string.

Structs§

CompiledCssInMemory
In-memory representation of compiled CSS with a name identifier
Filesystem
Provides filesystem operations for the Grimoire CSS system.

Type Aliases§

CompiledCssFs
A vector of tuples containing output file paths and their CSS content