fix: panel appearance

This commit is contained in:
Ashley Wulber 2024-02-20 15:52:21 -05:00 committed by Michael Murphy
parent 1bf1b39bff
commit d25bd34fb6

View file

@ -161,8 +161,8 @@ pub(crate) fn style<
inner.backgrounds.as_slice(),
match panel_config.background {
CosmicPanelBackground::ThemeDefault => Some(0),
CosmicPanelBackground::Dark => Some(1),
CosmicPanelBackground::Light => Some(2),
CosmicPanelBackground::Light => Some(1),
CosmicPanelBackground::Dark => Some(2),
CosmicPanelBackground::Color(_) => None,
},
Message::Appearance,