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 11:08:19 -05:00 committed by GitHub
parent aef25a3bc3
commit 99216acdec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 17 additions and 17 deletions

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(

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)

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)