diff --git a/crates/theme/src/schema.rs b/crates/theme/src/schema.rs index 603cf035d725ef37348b8bb14f4d687d1186187c..e88cff85f4591a88d4a21f32981a48efa9d462a3 100644 --- a/crates/theme/src/schema.rs +++ b/crates/theme/src/schema.rs @@ -92,6 +92,12 @@ impl ThemeStyleContent { .color .as_ref() .and_then(|color| try_parse_color(color).ok()), + font_style: style + .font_style + .map(|font_style| FontStyle::from(font_style)), + font_weight: style + .font_weight + .map(|font_weight| FontWeight::from(font_weight)), ..Default::default() }, )