UIColor

extension UIColor
  • Undocumented

    Declaration

    Swift

    public var hexDescription: String { get }
  • Undocumented

    Declaration

    Swift

    public var hexWithAlphaDescription: String { get }
  • Undocumented

    Declaration

    Swift

    public convenience init(hex: String?)
  • This instance of UIColor will get its value from the error color of the Theme.

    Declaration

    Swift

    public static var error: UIColor { get }
  • This instance of UIColor will get its value from the Primary color of the Theme.

    Declaration

    Swift

    public static var primary: UIColor { get }
  • This instance of UIColor will get its value from the Secondary color of the Theme.

    Declaration

    Swift

    public static var secondary: UIColor { get }
  • This instance of UIColor will get its value from the Accent color of the Theme.

    Declaration

    Swift

    public static var primaryVariant: UIColor { get }
  • Undocumented

    Declaration

    Swift

    public static var textColor: UIColor { get }
  • Check whether the given color is light color.

    Declaration

    Swift

    public var isLight: Bool { get }