wip: use CosmicContainer
This commit is contained in:
parent
b0d6c29ab1
commit
becdbb6eb3
11 changed files with 573 additions and 171 deletions
|
|
@ -43,7 +43,7 @@ where
|
|||
pub fn nav_bar_style(theme: &Theme) -> iced_style::container::Appearance {
|
||||
let cosmic = &theme.cosmic();
|
||||
iced_style::container::Appearance {
|
||||
text_color: Some(cosmic.on.into()),
|
||||
text_color: Some(cosmic.on_bg_color().into()),
|
||||
background: Some(Background::Color(cosmic.primary.base.into())),
|
||||
border_radius: 8.0,
|
||||
border_width: 0.0,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue