Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
editor: Use predefined `rounding` value for color swatches (#18708)
Marshall Bowersfd22c9bef9a4
diff --git a/crates/editor/src/editor.rs b/crates/editor/src/editor.rsindex e2355461046..6fdcb22605d 100644--- a/crates/editor/src/editor.rs+++ b/crates/editor/src/editor.rs@@ -1230,7 +1230,7 @@ impl CompletionsMenu {let color_swatch = completion.color()- .map(|color| div().size_4().bg(color).rounded(px(2.)));+ .map(|color| div().size_4().bg(color).rounded_sm());div().min_w(px(220.)).max_w(px(540.)).child(ListItem::new(mat.candidate_id)