fix: derive PartialEq for Theme

This commit is contained in:
Ashley Wulber 2023-06-09 17:13:01 -04:00 committed by Ashley Wulber
parent 31d7c75098
commit 6699aa4756
5 changed files with 8 additions and 23 deletions

View file

@ -3,7 +3,7 @@ use palette::Srgba;
use serde::{Deserialize, Serialize};
/// utility wrapper for serializing and deserializing colors with arbitrary CSS
#[derive(Clone, Debug, Default, Deserialize, Serialize)]
#[derive(Clone, Debug, Default, Deserialize, Serialize, PartialEq)]
pub struct CssColor {
c: Color,
}