Updates Delta purple color
This commit is contained in:
parent
d3b4f25f20
commit
0be355e01c
@ -22,7 +22,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate
|
||||
Delta.register(SNES.core)
|
||||
Delta.register(GBA.core)
|
||||
|
||||
self.window?.tintColor = UIColor.deltaPurpleColor()
|
||||
self.window?.tintColor = UIColor.deltaPurple
|
||||
|
||||
// Database
|
||||
|
||||
|
||||
@ -10,16 +10,11 @@ import UIKit
|
||||
|
||||
extension UIColor
|
||||
{
|
||||
class func deltaPurpleColor() -> UIColor
|
||||
class var deltaPurple: UIColor
|
||||
{
|
||||
return UIColor(red: 120.0/255.0, green: 32.0/255.0, blue: 157.0/255.0, alpha: 1.0)
|
||||
return UIColor(red: 111.0/255.0, green: 14.0/255.0, blue: 199.0/255.0, alpha: 1.0)
|
||||
}
|
||||
|
||||
class func deltaLightPurpleColor() -> UIColor
|
||||
{
|
||||
return UIColor(red: 184.0/255.0, green: 97.0/255.0, blue: 253.0/255.0, alpha: 1.0)
|
||||
}
|
||||
}
|
||||
class var deltaDarkGray: UIColor
|
||||
{
|
||||
return UIColor(white: 0.15, alpha: 1.0)
|
||||
|
||||
@ -77,7 +77,7 @@ extension GamesViewController
|
||||
self.pageControl.translatesAutoresizingMaskIntoConstraints = false
|
||||
self.pageControl.hidesForSinglePage = false
|
||||
self.pageControl.numberOfPages = 3
|
||||
self.pageControl.currentPageIndicatorTintColor = UIColor.deltaPurpleColor()
|
||||
self.pageControl.currentPageIndicatorTintColor = UIColor.deltaPurple
|
||||
self.pageControl.pageIndicatorTintColor = UIColor.lightGray
|
||||
self.navigationController?.toolbar.addSubview(self.pageControl)
|
||||
|
||||
|
||||
@ -82,7 +82,7 @@ extension PauseViewController
|
||||
case "embedNavigationController":
|
||||
self.pauseNavigationController = segue.destination as! UINavigationController
|
||||
self.pauseNavigationController.delegate = self
|
||||
self.pauseNavigationController.navigationBar.tintColor = UIColor.deltaLightPurpleColor()
|
||||
self.pauseNavigationController.navigationBar.tintColor = UIColor.deltaPurple
|
||||
self.pauseNavigationController.view.backgroundColor = UIColor.clear
|
||||
|
||||
let pauseMenuViewController = self.pauseNavigationController.topViewController as! PauseMenuViewController
|
||||
|
||||
Loading…
Reference in New Issue
Block a user