fix: adapt to cosmic-theme background(transparent) accessor
Leyoda 2026 – GPLv3
This commit is contained in:
parent
7df503977d
commit
4636d93eba
4 changed files with 117 additions and 111 deletions
|
|
@ -66,7 +66,7 @@ impl Button {
|
|||
.class(if symbolic {
|
||||
cosmic::theme::Svg::Custom(std::rc::Rc::new(|theme| {
|
||||
cosmic::iced::widget::svg::Style {
|
||||
color: Some(theme.cosmic().background.on.into()),
|
||||
color: Some(theme.cosmic().background(false).on.into()),
|
||||
}
|
||||
}))
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue