refactor(theme): create Container::ContextDrawer style variant

This commit is contained in:
Michael Aaron Murphy 2024-03-05 15:01:32 +01:00 committed by Jeremy Soller
parent 88da3fcc14
commit db5d989972
4 changed files with 82 additions and 59 deletions

View file

@ -238,7 +238,6 @@ impl Theme {
/// get current container
/// can be used in a component that is intended to be a child of a `CosmicContainer`
#[must_use]
pub fn current_container(&self) -> &cosmic_theme::Container {
match self.layer {
cosmic_theme::Layer::Background => &self.cosmic().background,