Updates Delta purple color

This commit is contained in:
Riley Testut 2016-11-22 20:01:17 -08:00
parent d3b4f25f20
commit 0be355e01c
4 changed files with 5 additions and 10 deletions

View File

@ -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

View File

@ -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)

View File

@ -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)

View File

@ -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