feat(render): parse presentational attributes and font sizes for beautiful layout

This commit is contained in:
SGavrl committed 2026-07-02 20:20:26 +00:00
1 parent 9c8d62e13b
commit 42874989eb
4 files changed
+90 -26

No files matched your search

+1 -1
View File
@@ -68,8 +68,8 @@ pub struct LayoutStyle {
pub background_color: Option<[u8; 4]>,
/// Foreground (text) color for the paint step.
pub color: Option<[u8; 4]>,
/// Border color for the paint step.
pub border_color: Option<[u8; 4]>,
pub font_size: Option<f32>,
}
/// A node in the input layout tree. `text` is carried for the paint phase; it