CheckoutLength.px(_:), CheckoutLength.rem(_:), or CheckoutLength.em(_:) for the common units. Use CheckoutLength.custom(_:) for a different CSS value. A number literal is a length in CSS pixels, so 12 is the same as .px(12). In the checkout, one CSS pixel is one point.
Enumeration Cases
Initializers
init(floatLiteral:)
Creates a length in CSS pixels from a floating-point literal.init(from:)
Inherited fromDecodable.init(from:).
init(integerLiteral:)
Creates a length in CSS pixels from an integer literal.Instance Methods
encode(to:)
Inherited fromEncodable.encode(to:).

