Add ThemeChanged variant to Event in iced_sentinel

This commit is contained in:
Héctor Ramón Jiménez 2024-02-27 15:19:26 +01:00
parent 7f7c5ea337
commit c856d2b513
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
13 changed files with 69 additions and 4 deletions

View file

@ -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,