Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
edit predictions: Fix translucent "jump to edit" background color (#24473)
Danilo Leal07f1b612cf44
diff --git a/crates/editor/src/element.rs b/crates/editor/src/element.rsindex 04bcf722625..fe829e2ad6f 100644--- a/crates/editor/src/element.rs+++ b/crates/editor/src/element.rs@@ -5800,6 +5800,9 @@ fn inline_completion_accept_indicator(.child(accept_keystroke.key.clone());let padding_right = if icon.is_some() { px(4.) } else { px(8.) };+ let accent_color = cx.theme().colors().text_accent;+ let editor_bg_color = cx.theme().colors().editor_background;+ let bg_color = editor_bg_color.blend(accent_color.opacity(0.2));Some(h_flex()@@ -5807,7 +5810,7 @@ fn inline_completion_accept_indicator(.pl_1().pr(padding_right).gap_1()- .bg(cx.theme().colors().text_accent.opacity(0.15))+ .bg(bg_color).border_1().border_color(cx.theme().colors().text_accent.opacity(0.8)).rounded_md()