NatOpacities

public enum NatOpacities

NatOpacities is a enum that has access to alpha properties from the Design System. This properties are used to set alpha property from views. According with the current Brand in the Design System this properties can change.

All properties returns a CGFloat.

Example of usage:

   containerView.alpha = NatOpacity.veryHigh
   profileView.alpha = NatOpacity.lower

Requires

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

   DesignSystem().configure(with: AvailableTheme)
  • Undocumented

    Declaration

    Swift

    public static var transparent: CGFloat { get }
  • Undocumented

    Declaration

    Swift

    public static var lower: CGFloat { get }
  • Undocumented

    Declaration

    Swift

    public static var veryLow: CGFloat { get }
  • low

    Undocumented

    Declaration

    Swift

    public static var low: CGFloat { get }
  • Undocumented

    Declaration

    Swift

    public static var mediumLow: CGFloat { get }
  • Undocumented

    Declaration

    Swift

    public static var disabledLow: CGFloat { get }
  • Undocumented

    Declaration

    Swift

    public static var disabled: CGFloat { get }
  • Undocumented

    Declaration

    Swift

    public static var medium: CGFloat { get }
  • Undocumented

    Declaration

    Swift

    public static var mediumHigh: CGFloat { get }
  • Undocumented

    Declaration

    Swift

    public static var high: CGFloat { get }
  • Undocumented

    Declaration

    Swift

    public static var veryHigh: CGFloat { get }
  • Undocumented

    Declaration

    Swift

    public static var opaque: CGFloat { get }
  • Undocumented

    Declaration

    Swift

    public static var opacity01: CGFloat { get }
  • Undocumented

    Declaration

    Swift

    public static var opacity02: CGFloat { get }
  • Undocumented

    Declaration

    Swift

    public static var opacity03: CGFloat { get }
  • Undocumented

    Declaration

    Swift

    public static var opacity04: CGFloat { get }
  • Undocumented

    Declaration

    Swift

    public static var opacity05: CGFloat { get }
  • Undocumented

    Declaration

    Swift

    public static var opacity06: CGFloat { get }
  • Undocumented

    Declaration

    Swift

    public static var opacity07: CGFloat { get }
  • Undocumented

    Declaration

    Swift

    public static var opacity08: CGFloat { get }
  • Undocumented

    Declaration

    Swift

    public static var opacity09: CGFloat { get }
  • Undocumented

    Declaration

    Swift

    public static var opacity10: CGFloat { get }
  • Undocumented

    Declaration

    Swift

    public static var full: CGFloat { get }