From 5801d7253e199b842270476ee0af8d0d0d0f4dc9 Mon Sep 17 00:00:00 2001 From: Polesznyák Márk Date: Sat, 22 Nov 2025 08:40:09 +0100 Subject: chore: update iced_material --- src/panes/style.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/panes/style.rs') diff --git a/src/panes/style.rs b/src/panes/style.rs index df21a04..f2e3251 100644 --- a/src/panes/style.rs +++ b/src/panes/style.rs @@ -6,8 +6,8 @@ pub fn title_bar(theme: &Theme) -> Style { let surface = theme.colors().surface; Style { - text_color: Some(surface.on_surface), - background: Some(Background::Color(surface.surface_container.high)), + text_color: Some(surface.text), + background: Some(Background::Color(surface.container.high)), ..Default::default() } } @@ -16,10 +16,10 @@ pub fn pane_active(theme: &Theme) -> Style { let surface = theme.colors().surface; Style { - background: Some(Background::Color(surface.surface_container.low)), + background: Some(Background::Color(surface.container.low)), border: Border { width: 1.0, - color: surface.surface_container.high, + color: surface.container.high, ..Border::default() }, ..Default::default() @@ -30,10 +30,10 @@ pub fn pane_focused(theme: &Theme) -> Style { let surface = theme.colors().surface; Style { - background: Some(Background::Color(surface.surface_container.low)), + background: Some(Background::Color(surface.container.low)), border: Border { width: 2.0, - color: surface.surface_container.high, + color: surface.container.high, ..Border::default() }, ..Default::default() -- cgit v1.2.3