From ef657fb19de8f13d4d0a853e0c15ea5d136fa88a Mon Sep 17 00:00:00 2001 From: Ashley Wulber Date: Fri, 29 Dec 2023 15:37:43 -0500 Subject: [PATCH] fix: icon button should not use on_accent color for text when hovered --- src/theme/style/button.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/theme/style/button.rs b/src/theme/style/button.rs index ec263eb5..8ec901de 100644 --- a/src/theme/style/button.rs +++ b/src/theme/style/button.rs @@ -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 => {