From 1e566c13aaa86a48695876a8badda38c8b828596 Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Thu, 11 Jul 2024 14:02:28 -0600 Subject: [PATCH] fix(theme): use accent color for text button icons and text --- src/theme/style/button.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/theme/style/button.rs b/src/theme/style/button.rs index e79496cd..2c07fe18 100644 --- a/src/theme/style/button.rs +++ b/src/theme/style/button.rs @@ -64,7 +64,7 @@ pub fn appearance( let (background, text, icon) = color(style_component); appearance.background = Some(Background::Color(background)); - if !matches!(style, Button::Standard | Button::Text) { + if !matches!(style, Button::Standard) { appearance.text_color = text; appearance.icon_color = icon; }