fix: absorb libcosmic theme-v2 API (private containers, text::Style, wgpu 28)

Leyoda 2026 – GPLv3
This commit is contained in:
Lionel DARNIS 2026-07-03 12:36:51 +02:00
parent 4fa39e5ea3
commit ba1232cffc
5 changed files with 22 additions and 47 deletions

View file

@ -831,11 +831,8 @@ impl Program for CosmicWindowInternal {
fn background_color(&self, theme: &cosmic::Theme) -> Color {
if self.window.is_maximized(false) {
theme
.cosmic()
.background(theme.cosmic().frosted_windows)
.base
.into()
theme.cosmic().background(false).base.into()
theme.cosmic().background(false).base.into()
} else {
Color::TRANSPARENT
}