editor: Use predefined rounding value for color swatches (#18708)
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
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user