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 } }