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,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
// Copyright 2022 System76 <info@system76.com>
|
||||
// SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
mod column;
|
||||
pub mod column;
|
||||
// mod item;
|
||||
|
||||
pub use self::column::{ListColumn, list_column};
|
||||
// pub use self::item::{ListItem, list_item};
|
||||
// pub use self::item::{ListItem, list_item};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue