refactor: libcosmic rebase with Application API
This commit is contained in:
parent
d243e45094
commit
454894d82f
18 changed files with 1081 additions and 1198 deletions
|
|
@ -5,7 +5,8 @@ use cosmic::{iced_widget::core::BorderRadius, theme};
|
|||
|
||||
#[must_use]
|
||||
pub fn display_container_frame() -> cosmic::theme::Container {
|
||||
theme::Container::custom(|_theme| cosmic::iced::widget::container::Appearance {
|
||||
theme::Container::custom(|_theme| cosmic::widget::container::Appearance {
|
||||
icon_color: None,
|
||||
text_color: None,
|
||||
background: Some(cosmic::iced::Background::Color(cosmic::iced::Color::WHITE)),
|
||||
border_color: cosmic::iced::Color::WHITE,
|
||||
|
|
@ -16,7 +17,8 @@ pub fn display_container_frame() -> cosmic::theme::Container {
|
|||
|
||||
#[must_use]
|
||||
pub fn display_container_screen() -> cosmic::theme::Container {
|
||||
theme::Container::custom(|_theme| cosmic::iced::widget::container::Appearance {
|
||||
theme::Container::custom(|_theme| cosmic::widget::container::Appearance {
|
||||
icon_color: None,
|
||||
text_color: None,
|
||||
background: Some(cosmic::iced::Background::Color(cosmic::iced::Color::BLACK)),
|
||||
border_color: cosmic::iced::Color::BLACK,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue