diff --git a/src/ui/gui.rs b/src/ui/gui.rs index a0dbb97..3c957bb 100644 --- a/src/ui/gui.rs +++ b/src/ui/gui.rs @@ -95,14 +95,14 @@ impl ThemeColors { if is_dark { Self { is_dark: true, - bg_app: Color32::from_rgb(11, 15, 25), + bg_app: Color32::from_rgb(15, 23, 42), bg_sidebar: Color32::from_rgb(15, 23, 42), bg_card: Color32::from_rgb(30, 41, 59), - bg_card_secondary: Color32::from_rgb(15, 23, 42), + bg_card_secondary: Color32::from_rgb(23, 32, 51), bg_card_active: Color32::from_rgb(30, 58, 138), bg_hover: Color32::from_rgb(51, 65, 85), stroke_border: Stroke::new(1.0_f32, Color32::from_rgb(51, 65, 85)), - stroke_subtle: Stroke::new(1.0_f32, Color32::from_rgba_premultiplied(255, 255, 255, 15)), + stroke_subtle: Stroke::new(1.0_f32, Color32::from_rgb(30, 41, 59)), text_primary: Color32::from_rgb(248, 250, 252), text_secondary: Color32::from_rgb(203, 213, 225), text_muted: Color32::from_rgb(148, 163, 184), @@ -111,14 +111,14 @@ impl ThemeColors { } else { Self { is_dark: false, - bg_app: Color32::from_rgb(241, 245, 249), - bg_sidebar: Color32::from_rgb(255, 255, 255), + bg_app: Color32::from_rgb(248, 250, 252), + bg_sidebar: Color32::from_rgb(248, 250, 252), bg_card: Color32::from_rgb(255, 255, 255), - bg_card_secondary: Color32::from_rgb(248, 250, 252), + bg_card_secondary: Color32::from_rgb(241, 245, 249), bg_card_active: Color32::from_rgb(219, 234, 254), bg_hover: Color32::from_rgb(226, 232, 240), - stroke_border: Stroke::new(1.0_f32, Color32::from_rgb(203, 213, 225)), - stroke_subtle: Stroke::new(1.0_f32, Color32::from_rgb(226, 232, 240)), + stroke_border: Stroke::new(1.0_f32, Color32::from_rgb(226, 232, 240)), + stroke_subtle: Stroke::new(1.0_f32, Color32::from_rgb(241, 245, 249)), text_primary: Color32::from_rgb(15, 23, 42), text_secondary: Color32::from_rgb(51, 65, 85), text_muted: Color32::from_rgb(100, 116, 139), @@ -5003,6 +5003,9 @@ impl eframe::App for ZeroSendApp { style.visuals.dark_mode = is_dark; style.visuals.panel_fill = theme.bg_app; style.visuals.window_fill = theme.bg_card; + style.visuals.window_stroke = Stroke::NONE; + style.visuals.faint_bg_color = theme.bg_card_secondary; + style.visuals.extreme_bg_color = theme.bg_card_secondary; 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;