From 8ebd06bed0f6d162ae9297fd0bbf088653e6872d Mon Sep 17 00:00:00 2001 From: Ashley Wulber Date: Wed, 23 Jul 2025 17:42:15 -0400 Subject: [PATCH] chore: more style updates --- src/theme/style/button.rs | 2 +- src/theme/style/iced.rs | 2 +- src/theme/style/segmented_button.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/theme/style/button.rs b/src/theme/style/button.rs index 1073fe8..0575ce6 100644 --- a/src/theme/style/button.rs +++ b/src/theme/style/button.rs @@ -118,7 +118,7 @@ pub fn appearance( Button::Link => { appearance.background = None; - appearance.icon_color = Some(cosmic.accent.base.into()); + appearance.icon_color = Some(cosmic.accent_text_color().into()); appearance.text_color = Some(cosmic.accent_text_color().into()); corner_radii = &cosmic.corner_radii.radius_0; } diff --git a/src/theme/style/iced.rs b/src/theme/style/iced.rs index e3da3f9..02818d8 100644 --- a/src/theme/style/iced.rs +++ b/src/theme/style/iced.rs @@ -766,7 +766,7 @@ impl menu::Catalog for Theme { radius: cosmic.corner_radii.radius_m.into(), ..Default::default() }, - selected_text_color: cosmic.accent.base.into(), + selected_text_color: cosmic.accent_text_color().into(), selected_background: Background::Color(cosmic.background.component.hover.into()), } } diff --git a/src/theme/style/segmented_button.rs b/src/theme/style/segmented_button.rs index ff75971..398f6fb 100644 --- a/src/theme/style/segmented_button.rs +++ b/src/theme/style/segmented_button.rs @@ -243,7 +243,7 @@ pub fn hover( ) -> ItemStatusAppearance { ItemStatusAppearance { background: Some(Background::Color(component.hover.with_alpha(0.2).into())), - text_color: cosmic.accent.base.into(), + text_color: cosmic.accent_text_color().into(), ..*default } }