Expand description
CSS-subset themes for pdfboss document composition: element-type selectors resolved into concrete text and box styles.
Re-exports§
pub use parse::StyleError;pub use style::Align;pub use style::Declared;pub use style::Decoration;pub use style::Edges;pub use style::Element;pub use style::FontFamily;pub use style::FontSize;pub use style::TextStyle;pub use theme::Theme;
Modules§
- parse
- Strict CSS-subset parser: element-type selectors and the fixed
property set from
style.rs, driven directly offcssparsertokens so every error carries a 1-indexed source location. - style
- Element-type selectors and the concrete text/box styles they resolve to: the vocabulary later tasks parse a CSS subset into and cascade through a theme.
- theme
- Theme: cascade of CSS rules into concrete styles by element type.