diff --git a/crates/theme/src/schema.rs b/crates/theme/src/schema.rs index 603cf035d7..e88cff85f4 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() }, )