refactor(theme): create Container::ContextDrawer style variant
This commit is contained in:
parent
88da3fcc14
commit
db5d989972
4 changed files with 82 additions and 59 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue