fix(stack): set correct colors for light theme

This commit is contained in:
Michael Aaron Murphy 2024-02-27 00:29:23 +01:00 committed by Victoria Brekenfeld
parent 21483b8d41
commit d9750ffb76
4 changed files with 45 additions and 13 deletions

View file

@ -861,7 +861,9 @@ impl Program for CosmicStackInternal {
theme::Container::custom(|theme| iced_widget::container::Appearance {
icon_color: Some(Color::from(theme.cosmic().background.on)),
text_color: Some(Color::from(theme.cosmic().background.on)),
background: Some(Background::Color(theme.cosmic().palette.neutral_3.into())),
background: Some(Background::Color(tab::primary_container_color(
theme.cosmic(),
))),
border_radius: BorderRadius::from([8.0, 8.0, 0.0, 0.0]),
border_width: 0.0,
border_color: Color::TRANSPARENT,