diff --git a/crates/signed_app/src/titlebar/repository_switcher.rs b/crates/signed_app/src/titlebar/repository_switcher.rs index 7ae0ce3..4190776 100644 --- a/crates/signed_app/src/titlebar/repository_switcher.rs +++ b/crates/signed_app/src/titlebar/repository_switcher.rs @@ -223,7 +223,7 @@ impl Render for RepositorySwitcher { .h(row_height) .px_3() .gap_2() - .rounded(theme.radius.control) + .rounded(theme.radius.full) .text_sm() .hover(|row| row.bg(theme.colors.muted)) .child(entry.avatar(&list_directory, cx)) diff --git a/crates/ui/src/components/button.rs b/crates/ui/src/components/button.rs index 9d00861..6936b83 100644 --- a/crates/ui/src/components/button.rs +++ b/crates/ui/src/components/button.rs @@ -159,7 +159,7 @@ impl Button { disabled: false, loading: false, padded: true, - fully_rounded: false, + fully_rounded: true, full_width: false, side: ButtonSide::default(), tab_stop: true, @@ -238,7 +238,7 @@ impl Button { self } - /// Renders the button as a circle instead of the control radius. + /// Overrides the pill shape; buttons are fully rounded by default. pub fn fully_rounded(mut self, fully_rounded: bool) -> Self { self.fully_rounded = fully_rounded; self diff --git a/crates/ui/src/components/dropdown_menu.rs b/crates/ui/src/components/dropdown_menu.rs index 257e3a2..7d98d12 100644 --- a/crates/ui/src/components/dropdown_menu.rs +++ b/crates/ui/src/components/dropdown_menu.rs @@ -194,7 +194,7 @@ impl RenderOnce for DropdownMenu { fn render(self, window: &mut Window, cx: &mut App) -> impl IntoElement { let theme = cx.theme(); let colors = theme.colors; - let radius = theme.radius.control; + let radius = theme.radius.full; let ring = colors.ring; diff --git a/crates/ui/src/components/menu.rs b/crates/ui/src/components/menu.rs index 89c9669..ba78c63 100644 --- a/crates/ui/src/components/menu.rs +++ b/crates/ui/src/components/menu.rs @@ -201,7 +201,7 @@ pub(crate) struct MenuChrome { primary_foreground: gpui::Hsla, destructive: gpui::Hsla, destructive_foreground: gpui::Hsla, - radius_sm: Pixels, + radius_full: Pixels, } /// A floating menu of [`MenuItem`] rows anchored below its trigger. @@ -235,7 +235,7 @@ impl MenuChrome { primary_foreground: theme.colors.primary_foreground, destructive: theme.ramps.destructive.base, destructive_foreground: theme.colors.destructive_foreground, - radius_sm: theme.radius.sm, + radius_full: theme.radius.full, }, theme.motion.overlay, ) @@ -965,7 +965,7 @@ fn row_shell( .px_4() .text_sm() .line_height(relative(1.0)) - .rounded(chrome.radius_sm) + .rounded(chrome.radius_full) .map(|row| { if item.disabled { row diff --git a/crates/ui/src/components/segmented.rs b/crates/ui/src/components/segmented.rs index e2417e0..2ddb2ec 100644 --- a/crates/ui/src/components/segmented.rs +++ b/crates/ui/src/components/segmented.rs @@ -229,7 +229,7 @@ where h_flex() .id(("segment", index)) - .gap_2() + .gap_1() .justify_center() .cursor_pointer() .h_full()