Adds Delta colors to asset catalog
This commit is contained in:
parent
97b456d9b7
commit
c4487433cd
@ -10,13 +10,6 @@ import UIKit
|
||||
|
||||
extension UIColor
|
||||
{
|
||||
class var deltaPurple: UIColor
|
||||
{
|
||||
return UIColor(red: 139.0/255.0, green: 40.0/255.0, blue: 247.0/255.0, alpha: 1.0)
|
||||
}
|
||||
|
||||
class var deltaDarkGray: UIColor
|
||||
{
|
||||
return UIColor(white: 0.15, alpha: 1.0)
|
||||
}
|
||||
static let deltaPurple = UIColor(named: "Purple")!
|
||||
static let deltaDarkGray = UIColor(named: "DarkGray")!
|
||||
}
|
||||
|
||||
6
Resources/Assets.xcassets/Colors/Contents.json
Normal file
6
Resources/Assets.xcassets/Colors/Contents.json
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,20 @@
|
||||
{
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
},
|
||||
"colors" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"color" : {
|
||||
"color-space" : "srgb",
|
||||
"components" : {
|
||||
"red" : "0.150",
|
||||
"alpha" : "1.000",
|
||||
"blue" : "0.150",
|
||||
"green" : "0.150"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@ -0,0 +1,20 @@
|
||||
{
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
},
|
||||
"colors" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"color" : {
|
||||
"color-space" : "srgb",
|
||||
"components" : {
|
||||
"red" : "139",
|
||||
"alpha" : "1.000",
|
||||
"blue" : "247",
|
||||
"green" : "40"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user