fix: adapt to cosmic-theme background(transparent) accessor
Some checks are pending
Continuous Integration / formatting (push) Waiting to run
Continuous Integration / linting (push) Waiting to run

Leyoda 2026 – GPLv3
This commit is contained in:
Lionel DARNIS 2026-07-02 19:28:24 +02:00
parent 7df503977d
commit 4636d93eba
4 changed files with 117 additions and 111 deletions

View file

@ -2787,7 +2787,7 @@ impl cosmic::Application for CosmicAppList {
//TODO: move style to libcosmic
.class(theme::Container::custom(|theme| {
let cosmic = theme.cosmic();
let component = &cosmic.background.component;
let component = &cosmic.background(false).component;
container::Style {
icon_color: Some(component.on.into()),
text_color: Some(component.on.into()),