fix: applet & cosmic-sctk example

This commit is contained in:
Ashley Wulber 2023-02-27 19:33:04 -05:00 committed by Jeremy Soller
parent e279566481
commit 3245ff1b0e
2 changed files with 2 additions and 14 deletions

View file

@ -131,7 +131,7 @@ impl CosmicAppletHelper {
Container::<Message, Renderer>::new(Container::<Message, Renderer>::new(content).style(
crate::theme::Container::Custom(|theme| Appearance {
text_color: Some(theme.cosmic().on.into()),
text_color: Some(theme.cosmic().background.on.into()),
background: Some(Color::from(theme.cosmic().background.base).into()),
border_radius: 12.0,
border_width: 0.0,