fix(applet): applet popups should have a 1px border
This commit is contained in:
parent
7cc791a3f5
commit
589b661752
1 changed files with 11 additions and 7 deletions
|
|
@ -166,13 +166,17 @@ impl Context {
|
||||||
};
|
};
|
||||||
|
|
||||||
Container::<Message, Renderer>::new(Container::<Message, Renderer>::new(content).style(
|
Container::<Message, Renderer>::new(Container::<Message, Renderer>::new(content).style(
|
||||||
theme::Container::custom(|theme| Appearance {
|
theme::Container::custom(|theme| {
|
||||||
text_color: Some(theme.cosmic().background.on.into()),
|
let cosmic = theme.cosmic();
|
||||||
background: Some(Color::from(theme.cosmic().background.base).into()),
|
|
||||||
border_radius: 12.0.into(),
|
Appearance {
|
||||||
border_width: 0.0,
|
text_color: Some(cosmic.background.on.into()),
|
||||||
border_color: Color::TRANSPARENT,
|
background: Some(Color::from(cosmic.background.base).into()),
|
||||||
icon_color: Some(theme.cosmic().background.on.into()),
|
border_radius: 12.0.into(),
|
||||||
|
border_width: 1.0,
|
||||||
|
border_color: cosmic.background.divider.into(),
|
||||||
|
icon_color: Some(cosmic.background.on.into()),
|
||||||
|
}
|
||||||
}),
|
}),
|
||||||
))
|
))
|
||||||
.width(Length::Shrink)
|
.width(Length::Shrink)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue