Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Additional status bar styles
Nate Butler9d60e550bed8
diff --git a/assets/icons/check.svg b/assets/icons/check.svgnew file mode 100644index 00000000000..77b180892cf--- /dev/null+++ b/assets/icons/check.svg@@ -0,0 +1,3 @@+<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">+<path d="M3.98438 7.85115L6.13569 9.44983L9.98438 4.08141" stroke="black" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"/>+</svg>diff --git a/assets/icons/check_circle.svg b/assets/icons/check_circle.svgnew file mode 100644index 00000000000..85ba2e1f377--- /dev/null+++ b/assets/icons/check_circle.svg@@ -0,0 +1,4 @@+<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">+<path d="M5 8L6.5 9L9 5.5" stroke="black" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"/>+<circle cx="7" cy="7" r="4.875" stroke="black" stroke-width="1.25"/>+</svg>diff --git a/crates/diagnostics/src/items.rs b/crates/diagnostics/src/items.rsindex d1a32c72f10..89b4469d42d 100644--- a/crates/diagnostics/src/items.rs+++ b/crates/diagnostics/src/items.rs@@ -105,7 +105,7 @@ impl View for DiagnosticIndicator {let mut summary_row = Flex::row();if self.summary.error_count > 0 {summary_row.add_child(- Svg::new("icons/circle_x_mark_16.svg")+ Svg::new("icons/error.svg").with_color(style.icon_color_error).constrained().with_width(style.icon_width)@@ -121,7 +121,7 @@ impl View for DiagnosticIndicator {if self.summary.warning_count > 0 {summary_row.add_child(- Svg::new("icons/triangle_exclamation_16.svg")+ Svg::new("icons/warning.svg").with_color(style.icon_color_warning).constrained().with_width(style.icon_width)@@ -142,7 +142,7 @@ impl View for DiagnosticIndicator {if self.summary.error_count == 0 && self.summary.warning_count == 0 {summary_row.add_child(- Svg::new("icons/circle_check_16.svg")+ Svg::new("icons/check_circle.svg").with_color(style.icon_color_ok).constrained().with_width(style.icon_width)