Adjust welcome color

This commit is contained in:
kevinzhow
2015-10-31 08:15:08 +08:00
parent 2f2e5e0462
commit 5d4581d6a6
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -35,8 +35,8 @@ extension UIColor {
}
class func yepBorderColor() -> UIColor {
//return UIColor(red: 0.898, green: 0.898, blue: 0.898, alpha: 1)
return UIColor(red: 0.7, green: 0.7, blue: 0.7, alpha: 1)
return UIColor(red: 0.898, green: 0.898, blue: 0.898, alpha: 1)
// return UIColor(red: 0.7, green: 0.7, blue: 0.7, alpha: 1)
}
class func avatarBackgroundColor() -> UIColor {
@@ -65,7 +65,7 @@ class ShowViewController: UIViewController {
steps = [stepA, stepB, stepC]
pageControl.numberOfPages = steps.count
pageControl.pageIndicatorTintColor = UIColor.lightGrayColor()
pageControl.pageIndicatorTintColor = UIColor.yepBorderColor()
pageControl.currentPageIndicatorTintColor = UIColor.yepTintColor()
registerButton.setTitle(NSLocalizedString("Sign Up", comment: ""), forState: .Normal)
+2 -2
View File
@@ -32,8 +32,8 @@ class EdgeBorderButton: UIButton {
super.layoutSubviews()
let topPath = UIBezierPath()
topPath.moveToPoint(CGPoint(x: 0, y: 0))
topPath.addLineToPoint(CGPoint(x: CGRectGetWidth(bounds), y: 0))
topPath.moveToPoint(CGPoint(x: 0, y: 0.5))
topPath.addLineToPoint(CGPoint(x: CGRectGetWidth(bounds), y: 0.5))
topLineLayer.path = topPath.CGPath
}