diff --git a/src/ui/gui.rs b/src/ui/gui.rs index 9f55710..a0dbb97 100644 --- a/src/ui/gui.rs +++ b/src/ui/gui.rs @@ -82,6 +82,7 @@ pub struct ThemeColors { pub bg_card_active: Color32, pub bg_hover: Color32, pub stroke_border: Stroke, + #[allow(dead_code)] pub stroke_subtle: Stroke, pub text_primary: Color32, pub text_secondary: Color32, @@ -5004,9 +5005,13 @@ impl eframe::App for ZeroSendApp { style.visuals.window_fill = theme.bg_card; style.visuals.override_text_color = Some(theme.text_primary); style.visuals.widgets.noninteractive.bg_fill = theme.bg_card; + style.visuals.widgets.noninteractive.bg_stroke = Stroke::NONE; + style.visuals.widgets.noninteractive.fg_stroke = Stroke::new(1.0_f32, theme.text_muted); style.visuals.widgets.inactive.bg_fill = theme.bg_card_secondary; + style.visuals.widgets.inactive.bg_stroke = Stroke::NONE; style.visuals.widgets.inactive.rounding = Rounding::same(6.0); style.visuals.widgets.hovered.bg_fill = theme.bg_hover; + style.visuals.widgets.hovered.bg_stroke = Stroke::NONE; style.visuals.widgets.hovered.rounding = Rounding::same(6.0); style.visuals.widgets.active.bg_fill = Color32::from_rgb(37, 99, 235); style.visuals.widgets.active.rounding = Rounding::same(6.0); @@ -5014,11 +5019,11 @@ impl eframe::App for ZeroSendApp { SidePanel::left("sidebar_panel") .resizable(false) - .exact_width(195.0) + .show_separator_line(false) + .exact_width(200.0) .frame( Frame::none() .fill(theme.bg_sidebar) - .stroke(theme.stroke_subtle) .inner_margin(Margin::same(12.0)), ) .show(ctx, |ui| {