Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Use status colors for contact availability indicators (#3704)
Marshall Bowers734bbfa66f26
diff --git a/crates/ui2/src/components/avatar.rs b/crates/ui2/src/components/avatar.rsindex 33c8d716251..0ab6ce2d85b 100644--- a/crates/ui2/src/components/avatar.rs+++ b/crates/ui2/src/components/avatar.rs@@ -47,7 +47,11 @@ impl RenderOnce for Avatar {div().absolute().z_index(1)- .bg(if is_free { gpui::green() } else { gpui::red() })+ .bg(if is_free {+ cx.theme().status().created+ } else {+ cx.theme().status().deleted+ }).size(indicator_size).rounded(indicator_size).bottom_0()