refactor opaque fallback
This commit is contained in:
parent
9d51e8fda4
commit
b814f54f67
12 changed files with 346 additions and 162 deletions
|
|
@ -173,7 +173,9 @@ pub fn nav_bar_style(theme: &Theme) -> iced_widget::container::Style {
|
|||
iced_widget::container::Style {
|
||||
icon_color: Some(cosmic.on_bg_color().into()),
|
||||
text_color: Some(cosmic.on_bg_color().into()),
|
||||
background: Some(Background::Color(cosmic.primary.base.into())),
|
||||
background: Some(Background::Color(
|
||||
cosmic.primary(theme.transparent).base.into(),
|
||||
)),
|
||||
border: Border {
|
||||
width: 0.0,
|
||||
color: Color::TRANSPARENT,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue