fix(menu_bar): root text will inherit icon color from header

This commit is contained in:
Michael Aaron Murphy 2024-05-21 04:34:35 +02:00
parent aa3f5d3401
commit f9f8eb51cb
No known key found for this signature in database
GPG key ID: B2732D4240C9212C
8 changed files with 26 additions and 24 deletions

View file

@ -120,8 +120,8 @@ pub fn appearance(
}
Button::MenuRoot => {
appearance.background = None;
appearance.icon_color = Some(cosmic.accent.base.into());
appearance.text_color = Some(cosmic.accent.base.into());
appearance.icon_color = None;
appearance.text_color = None;
}
Button::MenuItem => {
let (background, _, _) = color(&cosmic.background.component);