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
CssOptimizertrait, which provides an interface for optimizing raw CSS. - grimoire_
css_ error - This module defines the
GrimoireCssErrorenum, which encapsulates various error types that can occur within the GrimoireCSS project. - spell
- This module defines the
Spellstruct, which represents a parsed CSS spell string.
Structs§
- Compiled
CssIn Memory - In-memory representation of compiled CSS with a name identifier
- Filesystem
- Provides filesystem operations for the Grimoire CSS system.
Type Aliases§
- Compiled
CssFs - A vector of tuples containing output file paths and their CSS content