on master help sign in
Defaults to white color for texts
a4bb70dGunay Mert Karadogan
GMStepper/GMStepper/GMStepper.swift+2−2
@@ -26,13 +26,13 @@ public class GMStepper: UIControl {
26 public var leftButtonText = "-"
26 public var leftButtonText = "-"
27 public var rightButtonText = "+"
27 public var rightButtonText = "+"
28
28
29− public var buttonsTextColor = UIColor(red:0.93, green:0.94, blue:0.95, alpha:1)
29+ public var buttonsTextColor = UIColor.whiteColor()
30
30
31 public var buttonsBackgroundColor = UIColor(red:0.21, green:0.5, blue:0.74, alpha:1)
31 public var buttonsBackgroundColor = UIColor(red:0.21, green:0.5, blue:0.74, alpha:1)
32
32
33 public var buttonsFont = UIFont(name: "AvenirNext-Bold", size: 20.0)!
33 public var buttonsFont = UIFont(name: "AvenirNext-Bold", size: 20.0)!
34
34
35− public var labelTextColor = UIColor(red:0.93, green:0.94, blue:0.95, alpha:1)
35+ public var labelTextColor = UIColor.whiteColor()
36
36
37 public var labelBackgroundColor = UIColor(red:0.26, green:0.6, blue:0.87, alpha:1)
37 public var labelBackgroundColor = UIColor(red:0.26, green:0.6, blue:0.87, alpha:1)
38
38