Module style

Module style 

Source
Expand description

Style types: character shapes, paragraph shapes, and their partial variants.

The two-type pattern is central to Blueprint’s design:

This mirrors CSS inheritance: a child template can override only the fields it cares about, inheriting the rest from the parent.

Structs§

CharShape
A fully-resolved character shape (all fields present).
Indent
Paragraph indentation.
LineSpacing
Line spacing configuration.
ParaShape
A fully-resolved paragraph shape (all fields present).
PartialCharShape
Character shape with all optional fields (for YAML parsing and inheritance).
PartialParaShape
Paragraph shape with all optional fields (for YAML parsing and inheritance).
PartialStyle
A composite style entry (char + para shape) with optional fields for YAML.
Spacing
Vertical spacing (before and after a paragraph).