Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Allow overriding font style and weight via experimental.theme_overrides in settings (#9122)
Ivan Žužakb4ddc83e859b
diff --git a/crates/theme/src/schema.rs b/crates/theme/src/schema.rsindex 603cf035d72..e88cff85f45 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()},)