Add ThemeChanged variant to Event in iced_sentinel
This commit is contained in:
parent
7f7c5ea337
commit
c856d2b513
13 changed files with 69 additions and 4 deletions
|
|
@ -8,6 +8,7 @@ use palette::{FromColor, Hsl, Mix};
|
|||
|
||||
/// A color palette.
|
||||
#[derive(Debug, Clone, Copy, PartialEq)]
|
||||
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
|
||||
pub struct Palette {
|
||||
/// The background [`Color`] of the [`Palette`].
|
||||
pub background: Color,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue