From c1ab77b5f4dcf85aaf7fe5eecb049dfbbf79a0f8 Mon Sep 17 00:00:00 2001 From: l0ng-ai <24760907+l0ng-ai@users.noreply.github.com> Date: Tue, 14 Jul 2026 10:39:47 +0800 Subject: [PATCH] style(ssh settings): soften Add/Save buttons off the heavy primary fill Match the existing soft-sheet convention (Duplicate-to-Edit, About's update button): a solid near-black `.primary()` fill is too jarring against the mostly-outline settings sheet. Use the subtle default fill instead. --- src/ui/settings.rs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/ui/settings.rs b/src/ui/settings.rs index c18532c3..96467cf9 100644 --- a/src/ui/settings.rs +++ b/src/ui/settings.rs @@ -1325,9 +1325,11 @@ impl Tty7App { let header = v_flex() .gap_2() .child( + // Plain (not `.primary()`): a solid near-black fill reads far too + // heavy against this soft, mostly-outline sheet — a subtle default + // fill still reads as the primary create action above outline Import. Button::new("ssh-profiles-add") .label("Add profile") - .primary() .small() .w_full() .on_click(cx.listener(|this, _, window, cx| this.add_new_profile(window, cx))), @@ -1921,9 +1923,11 @@ impl Tty7App { })), ) .child( + // Plain, not `.primary()`: keep the soft sheet aesthetic (see + // the Add-profile / Duplicate-to-Edit buttons) — a near-black + // fill is too jarring here. Button::new("ssh-form-save") .label("Save") - .primary() .small() .on_click(cx.listener(|this, _, _w, cx| this.save_ssh_form(cx))), ),