Expand description
Style types: character shapes, paragraph shapes, and their partial variants.
The two-type pattern is central to Blueprint’s design:
PartialCharShape/PartialParaShape— all fieldsOption, used for YAML deserialization and inheritance merging.CharShape/ParaShape— all fields required, produced after inheritance resolution when every field has a concrete value.
This mirrors CSS inheritance: a child template can override only the fields it cares about, inheriting the rest from the parent.
Structs§
- Char
Shape - A fully-resolved character shape (all fields present).
- Indent
- Paragraph indentation.
- Line
Spacing - Line spacing configuration.
- Para
Shape - A fully-resolved paragraph shape (all fields present).
- Partial
Char Shape - Character shape with all optional fields (for YAML parsing and inheritance).
- Partial
Para Shape - Paragraph shape with all optional fields (for YAML parsing and inheritance).
- Partial
Style - A composite style entry (char + para shape) with optional fields for YAML.
- Spacing
- Vertical spacing (before and after a paragraph).