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 committed by Michael Murphy
parent cd56266ac9
commit ef657fb19d

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 => {