chore: more style updates
This commit is contained in:
parent
8c4cb2e54f
commit
8ebd06bed0
3 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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()),
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue