Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
agent_ui: Fix markdown heading sizes (#54766)
Danilo Leal442790c9bb6b
diff --git a/crates/markdown/src/markdown.rs b/crates/markdown/src/markdown.rsindex fce79630c8d..e6c046645ce 100644--- a/crates/markdown/src/markdown.rs+++ b/crates/markdown/src/markdown.rs@@ -265,6 +265,34 @@ impl MarkdownStyle {}),..Default::default()},+ heading_level_styles: matches!(font, MarkdownFont::Agent).then_some(+ HeadingLevelStyles {+ h1: Some(TextStyleRefinement {+ font_size: Some(rems(1.15).into()),+ ..Default::default()+ }),+ h2: Some(TextStyleRefinement {+ font_size: Some(rems(1.1).into()),+ ..Default::default()+ }),+ h3: Some(TextStyleRefinement {+ font_size: Some(rems(1.05).into()),+ ..Default::default()+ }),+ h4: Some(TextStyleRefinement {+ font_size: Some(rems(1.).into()),+ ..Default::default()+ }),+ h5: Some(TextStyleRefinement {+ font_size: Some(rems(0.95).into()),+ ..Default::default()+ }),+ h6: Some(TextStyleRefinement {+ font_size: Some(rems(0.875).into()),+ ..Default::default()+ }),+ },+ ),..Default::default()}}