fix(theme): use accent color for text button icons and text
This commit is contained in:
parent
a268a98311
commit
1e566c13aa
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ pub fn appearance(
|
||||||
|
|
||||||
let (background, text, icon) = color(style_component);
|
let (background, text, icon) = color(style_component);
|
||||||
appearance.background = Some(Background::Color(background));
|
appearance.background = Some(Background::Color(background));
|
||||||
if !matches!(style, Button::Standard | Button::Text) {
|
if !matches!(style, Button::Standard) {
|
||||||
appearance.text_color = text;
|
appearance.text_color = text;
|
||||||
appearance.icon_color = icon;
|
appearance.icon_color = icon;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue