settings ui: Move settings data out of settings window (#39638)

Moved `user_settings_data` and `project_settings_data` into their own
module because those functions just represent static data.

Release Notes:

- N/A
This commit is contained in:
Anthony Eid
2025-10-06 19:29:36 +00:00
committed by GitHub
parent c80d213227
commit 075104a529
3 changed files with 2573 additions and 2561 deletions
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+8 -2
View File
@@ -390,7 +390,10 @@ impl<T: NumericStepperType> RenderOnce for NumericStepper<T> {
.p_1p5()
.size_full()
.justify_center()
.hover(|s| s.bg(cx.theme().colors().element_hover))
.hover(|s| {
s.bg(cx.theme().colors().element_hover)
.cursor(gpui::CursorStyle::PointingHand)
})
.border_r_1()
.border_color(cx.theme().colors().border_variant)
.child(Icon::new(IconName::Dash).size(IconSize::Small))
@@ -518,7 +521,10 @@ impl<T: NumericStepperType> RenderOnce for NumericStepper<T> {
.p_1p5()
.size_full()
.justify_center()
.hover(|s| s.bg(cx.theme().colors().element_hover))
.hover(|s| {
s.bg(cx.theme().colors().element_hover)
.cursor(gpui::CursorStyle::PointingHand)
})
.border_l_1()
.border_color(cx.theme().colors().border_variant)
.child(Icon::new(IconName::Plus).size(IconSize::Small))