chore: more style updates

This commit is contained in:
Ashley Wulber 2025-07-23 17:42:15 -04:00 committed by Michael Murphy
parent 8c4cb2e54f
commit 8ebd06bed0
3 changed files with 3 additions and 3 deletions

View file

@ -118,7 +118,7 @@ pub fn appearance(
Button::Link => {
appearance.background = None;
appearance.icon_color = Some(cosmic.accent.base.into());
appearance.icon_color = Some(cosmic.accent_text_color().into());
appearance.text_color = Some(cosmic.accent_text_color().into());
corner_radii = &cosmic.corner_radii.radius_0;
}

View file

@ -766,7 +766,7 @@ impl menu::Catalog for Theme {
radius: cosmic.corner_radii.radius_m.into(),
..Default::default()
},
selected_text_color: cosmic.accent.base.into(),
selected_text_color: cosmic.accent_text_color().into(),
selected_background: Background::Color(cosmic.background.component.hover.into()),
}
}

View file

@ -243,7 +243,7 @@ pub fn hover(
) -> ItemStatusAppearance {
ItemStatusAppearance {
background: Some(Background::Color(component.hover.with_alpha(0.2).into())),
text_color: cosmic.accent.base.into(),
text_color: cosmic.accent_text_color().into(),
..*default
}
}