diff --git a/src/theme/style/button.rs b/src/theme/style/button.rs index 1073fe85..0575ce67 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 e3da3f98..02818d81 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 ff759715..398f6fb2 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 } }