diff --git a/crates/ui/src/highlighter/registry.rs b/crates/ui/src/highlighter/registry.rs index 2429f169f4..c088bc4b41 100644 --- a/crates/ui/src/highlighter/registry.rs +++ b/crates/ui/src/highlighter/registry.rs @@ -199,9 +199,9 @@ impl From for FontWeight { #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, JsonSchema, Serialize, Deserialize)] pub struct ThemeStyle { - color: Option, - font_style: Option, - font_weight: Option, + pub color: Option, + pub font_style: Option, + pub font_weight: Option, } impl From for HighlightStyle { @@ -291,7 +291,7 @@ impl SyntaxColors { #[derive(Debug, Default, Clone, PartialEq, Eq, Hash, JsonSchema, Serialize, Deserialize)] pub struct StatusColors { #[serde(rename = "error")] - error: Option, + pub error: Option, #[serde(rename = "error.background")] error_background: Option, #[serde(rename = "error.border")]