grimoire_css_lib

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§

Modules§

  • This module provides color parsing and manipulation strictly following the CSS Color Module Level 4 specification.
  • This module provides mappings between CSS properties and their abbreviations (short syntax).
  • This module provides the configuration management for GrimoireCSS.
  • Provides the CSSBuilder struct and its associated methods for compiling and building CSS files based on a configuration.
  • This module defines the CSSOptimizer trait, which provides an interface for optimizing raw CSS.
  • This module defines the GrimoireCSSError enum, which encapsulates various error types that can occur within the GrimoireCSS project.
  • This module defines the Spell struct, which represents a parsed CSS spell string.

Structs§