mirror of
https://github.com/wahyd4/Yep.git
synced 2026-08-14 15:26:40 +10:00
Adjust welcome color
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user