Skip to content

Commit e3d0060

Browse files
committed
Fix serde
1 parent 887ad84 commit e3d0060

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/properties/custom.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -796,6 +796,7 @@ pub enum UnresolvedColor<'i> {
796796
/// The blue component.
797797
b: f32,
798798
/// The unresolved alpha component.
799+
#[cfg_attr(feature = "serde", serde(borrow))]
799800
alpha: TokenList<'i>,
800801
},
801802
/// An hsl() color.
@@ -807,6 +808,7 @@ pub enum UnresolvedColor<'i> {
807808
/// The lightness component.
808809
l: f32,
809810
/// The unresolved alpha component.
811+
#[cfg_attr(feature = "serde", serde(borrow))]
810812
alpha: TokenList<'i>,
811813
},
812814
}

0 commit comments

Comments
 (0)