diff options
| author | Polesznyák Márk <contact@pml68.dev> | 2025-11-22 08:40:09 +0100 |
|---|---|---|
| committer | Polesznyák Márk <contact@pml68.dev> | 2025-11-22 08:40:09 +0100 |
| commit | 5801d7253e199b842270476ee0af8d0d0d0f4dc9 (patch) | |
| tree | 80482c98341f26971bac872b9566e54891431c06 /src/panes/style.rs | |
| parent | chore: update deps (diff) | |
| download | iced-builder-5801d7253e199b842270476ee0af8d0d0d0f4dc9.tar.gz | |
chore: update iced_material
Diffstat (limited to 'src/panes/style.rs')
| -rw-r--r-- | src/panes/style.rs | 12 |
1 files changed, 6 insertions, 6 deletions
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() |
