Module generator

Module generator 

Source
Expand description

Define the main generate function used to scan content and to generate CSS styles.

Structs§

ContextCanHandle
The context used in the Plugin::can_handle method.
ContextHandle
The context used in the Plugin::handle method.

Functions§

generate
Generate the CSS styles needed based on the given sources.
generate_at_rules
Generate the needed CSS at-rules (e.g @media).
generate_class
Generate a CSS rule with a class.
generate_wrapper
Generate the complete CSS wrapper needed for a single rule.