chore: update iced
This commit is contained in:
parent
466e25d9f8
commit
147306d581
3 changed files with 11 additions and 3 deletions
2
iced
2
iced
|
|
@ -1 +1 @@
|
|||
Subproject commit 1444d5c43e8b103ca8077555606443ab77e03ce5
|
||||
Subproject commit 251254ad5179f05b849e420425b72d4c40091db1
|
||||
|
|
@ -1341,9 +1341,16 @@ impl iced_widget::text::Catalog for Theme {
|
|||
match class {
|
||||
Text::Accent => iced_widget::text::Style {
|
||||
color: Some(self.cosmic().accent_text_color().into()),
|
||||
..Default::default()
|
||||
},
|
||||
Text::Default => iced_widget::text::Style {
|
||||
color: None,
|
||||
..Default::default()
|
||||
},
|
||||
Text::Color(c) => iced_widget::text::Style {
|
||||
color: Some(*c),
|
||||
..Default::default()
|
||||
},
|
||||
Text::Default => iced_widget::text::Style { color: None },
|
||||
Text::Color(c) => iced_widget::text::Style { color: Some(*c) },
|
||||
Text::Custom(f) => f(self),
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -234,6 +234,7 @@ pub fn menu_items<
|
|||
color.alpha *= 0.75;
|
||||
TextStyle {
|
||||
color: Some(color.into()),
|
||||
..Default::default()
|
||||
}
|
||||
}
|
||||
let key_class = theme::Text::Custom(key_style);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue