NatElevation

public struct NatElevation

NatElevation is a struct that has access to elevation attributes properties from the Design System. This properties are used with view.layer to create elevation visual effect. According with the current theme in the Design System this properties can change.

Example of usage:

   NatElevation.apply(onView: variantCardView, with: elevation09)

Requires

It’s necessary to configure the Design System with a theme or fatalError will be raised.

   DesignSystem().configure(with: AvailableTheme)