We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Elevation
Equatable
1 parent 82e91cf commit 52710b1Copy full SHA for 52710b1
Sources/YCoreUI/Foundations/Elevation.swift
@@ -13,7 +13,7 @@ import UIKit
13
/// This data structure is designed to closely match how shadows are exported from Figma
14
/// and also how they are specified for web/CSS.
15
/// cf. https://www.w3.org/TR/css-backgrounds-3/#box-shadow
16
-public struct Elevation {
+public struct Elevation: Equatable {
17
/// Specifies the horizontal offset of the shadow.
18
///
19
/// A positive value draws a shadow that is offset to the right of the box, a negative length to the left.
0 commit comments