fix(theme): use accent color for text button icons and text

This commit is contained in:
Jeremy Soller 2024-07-11 14:02:28 -06:00
parent a268a98311
commit 1e566c13aa
No known key found for this signature in database
GPG key ID: D02FD439211AF56F

View file

@ -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;
}