editor: Use predefined `rounding` value for color swatches (#18708)

Marshall Bowers created

This PR updates the color swatches added in #18665 to use a predefined
`rounding` value instead of a literal value.

The underlying values are the same, but we don't want to diverge from
our design system.

Release Notes:

- N/A

Change summary

crates/editor/src/editor.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

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)