gpui: Rename rounded_sm to rounded_xs (#26221)

This PR renames the `rounded_sm` style method to `rounded_xs`.

This will allow us to add an additional step in the scale.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers
2025-03-06 16:08:19 +00:00
committed by GitHub
parent aef25a3bc3
commit 99216acdec
12 changed files with 17 additions and 17 deletions
+1 -1
View File
@@ -120,7 +120,7 @@ impl RenderOnce for KeyBinding {
h_flex()
.flex_none()
.py_0p5()
.rounded_sm()
.rounded_xs()
.text_color(cx.theme().colors().text_muted)
.when(use_text, |el| {
el.child(
+1 -1
View File
@@ -75,7 +75,7 @@ impl RenderOnce for NumericStepper {
h_flex()
.gap_1()
.px_1()
.rounded_sm()
.rounded_xs()
.bg(cx.theme().colors().editor_background)
.child(
IconButton::new("decrement", IconName::Dash)
+1 -1
View File
@@ -197,7 +197,7 @@ impl RenderOnce for Checkbox {
.items_center()
.m(DynamicSpacing::Base04.px(cx))
.size(DynamicSpacing::Base16.rems(cx))
.rounded_sm()
.rounded_xs()
.bg(bg_color)
.border_1()
.border_color(border_color)