improv(stack): use system theme colors

This commit is contained in:
Michael Aaron Murphy 2025-07-31 16:55:54 +02:00 • committed by Victoria Brekenfeld
parent 7ccfd7381e
commit 86493b7898
4 changed files with 28 additions and 52 deletions

View file

@ -511,9 +511,9 @@ where
&theme::Container::custom(|theme| widget::container::Style {
icon_color: None,
text_color: None,
background: Some(Background::Color(super::tab::primary_container_color(
theme.cosmic(),
))),
background: Some(Background::Color(
theme.cosmic().primary_container_color().into(),
)),
border: Border {
radius: 0.0.into(),
width: 0.0,