Expand description
CSS-like model/provider stylesheet parser and applicator.
Selectors:
*(specificity 0) — matches all nodes.class(specificity 1) — matches nodes with that class#node_id(specificity 2) — matches a specific node
Later rules of equal specificity win. Explicit node attributes always override stylesheet values.
Structs§
- Style
Rule - A single stylesheet rule.
Enums§
- Selector
- A CSS-like selector.
Functions§
- apply_
stylesheet - Apply stylesheet rules to a pipeline graph.
- parse_
stylesheet - Parse a stylesheet string into rules.