Add support for themed application dialog
This commit is contained in:
parent
94905c5201
commit
16aaf10b56
5 changed files with 200 additions and 56 deletions
|
|
@ -530,11 +530,9 @@ impl container::StyleSheet for Theme {
|
|||
}
|
||||
|
||||
Container::Dialog => container::Appearance {
|
||||
icon_color: Some(Color::from(cosmic.primary.component.on)),
|
||||
text_color: Some(Color::from(cosmic.primary.component.on)),
|
||||
background: Some(iced::Background::Color(
|
||||
cosmic.primary.component.base.into(),
|
||||
)),
|
||||
icon_color: Some(Color::from(cosmic.primary.on)),
|
||||
text_color: Some(Color::from(cosmic.primary.on)),
|
||||
background: Some(iced::Background::Color(cosmic.primary.base.into())),
|
||||
border: Border {
|
||||
color: cosmic.primary.divider.into(),
|
||||
width: 1.0,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue