fix: icon button should not use on_accent color for text when hovered

This commit is contained in:
Ashley Wulber 2023-12-29 15:37:43 -05:00
parent a731ebc1b2
commit daaa421098
No known key found for this signature in database
GPG key ID: 5216D4F46A90A820

View file

@ -76,11 +76,6 @@ pub fn appearance(
appearance.background = Some(Background::Color(background));
appearance.text_color = text;
appearance.icon_color = icon;
if focused {
appearance.text_color = Some(cosmic.accent.on.into());
appearance.icon_color = Some(cosmic.accent.on.into());
}
}
Button::Image => {