WIP navigation demo for subpages on Desktop page
This commit is contained in:
parent
0ad2ffe2d4
commit
aa7b66c925
3 changed files with 174 additions and 94 deletions
|
|
@ -53,7 +53,7 @@ impl<'a, Message: 'static> From<ListColumn<'a, Message>> for Element<'a, Message
|
|||
}
|
||||
}
|
||||
|
||||
fn style(theme: &crate::Theme) -> iced::widget::container::Appearance {
|
||||
pub fn style(theme: &crate::Theme) -> iced::widget::container::Appearance {
|
||||
let cosmic = &theme.cosmic().primary;
|
||||
iced::widget::container::Appearance {
|
||||
text_color: Some(cosmic.on.into()),
|
||||
|
|
@ -62,4 +62,4 @@ fn style(theme: &crate::Theme) -> iced::widget::container::Appearance {
|
|||
border_width: 0.0,
|
||||
border_color: Color::TRANSPARENT,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue