Update to latest libcosmic commit (#29)

This commit is contained in:
Ian Douglas Scott 2023-05-01 09:57:45 -07:00 committed by GitHub
parent 61861b3f18
commit 9fb6e2f2c8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 31 additions and 37 deletions

View file

@ -93,7 +93,7 @@ impl Application for SettingsApp {
search_selections: Vec::default(),
show_maximize: true,
show_minimize: true,
theme: Theme::Dark,
theme: Theme::dark(),
window_width: 0,
};

View file

@ -72,7 +72,7 @@ pub fn settings() -> Section<crate::pages::Message> {
.width(Length::Units(300))
)
.padding(4)
.style(theme::Container::Box),
.style(theme::Container::Background),
horizontal_space(Length::Fill),
)
.into(),

View file

@ -98,7 +98,7 @@ pub fn sub_page_button(entity: page::Entity, page: &page::Info) -> Element<page:
.spacing(16)
.apply(container)
.padding([20, 24])
.style(theme::Container::Custom(list::column::style))
.style(theme::Container::custom(list::column::style))
.apply(button)
.padding(0)
.style(theme::Button::Transparent)