Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
ui: Use VersionControl colors for added and removed diff stats (#64083)
kvechkanov9862d8ea2138
diff --git a/crates/ui/src/components/diff_stat.rs b/crates/ui/src/components/diff_stat.rsindex d6d644db437..bacadaa0789 100644--- a/crates/ui/src/components/diff_stat.rs+++ b/crates/ui/src/components/diff_stat.rs@@ -44,12 +44,12 @@ impl RenderOnce for DiffStat {.gap_1().child(Label::new(format!("+\u{2009}{added}"))- .color(Color::Success)+ .color(Color::VersionControlAdded).size(self.label_size),).child(Label::new(format!("\u{2012}\u{2009}{removed}"))- .color(Color::Error)+ .color(Color::VersionControlDeleted).size(self.label_size),).when_some(tooltip, |this, tooltip| {