fix: icon button should not use on_accent color for text when hovered
This commit is contained in:
parent
cd56266ac9
commit
ef657fb19d
1 changed files with 0 additions and 5 deletions
|
|
@ -76,11 +76,6 @@ pub fn appearance(
|
||||||
appearance.background = Some(Background::Color(background));
|
appearance.background = Some(Background::Color(background));
|
||||||
appearance.text_color = text;
|
appearance.text_color = text;
|
||||||
appearance.icon_color = icon;
|
appearance.icon_color = icon;
|
||||||
|
|
||||||
if focused {
|
|
||||||
appearance.text_color = Some(cosmic.accent.on.into());
|
|
||||||
appearance.icon_color = Some(cosmic.accent.on.into());
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Button::Image => {
|
Button::Image => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue