diff --git a/Delta/Extensions/UIColor+Delta.swift b/Delta/Extensions/UIColor+Delta.swift index 6532698..3b65db4 100644 --- a/Delta/Extensions/UIColor+Delta.swift +++ b/Delta/Extensions/UIColor+Delta.swift @@ -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")! } diff --git a/Resources/Assets.xcassets/Colors/Contents.json b/Resources/Assets.xcassets/Colors/Contents.json new file mode 100644 index 0000000..da4a164 --- /dev/null +++ b/Resources/Assets.xcassets/Colors/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/Resources/Assets.xcassets/Colors/DarkGray.colorset/Contents.json b/Resources/Assets.xcassets/Colors/DarkGray.colorset/Contents.json new file mode 100644 index 0000000..b87ec52 --- /dev/null +++ b/Resources/Assets.xcassets/Colors/DarkGray.colorset/Contents.json @@ -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" + } + } + } + ] +} \ No newline at end of file diff --git a/Resources/Assets.xcassets/Colors/Purple.colorset/Contents.json b/Resources/Assets.xcassets/Colors/Purple.colorset/Contents.json new file mode 100644 index 0000000..f64f0d7 --- /dev/null +++ b/Resources/Assets.xcassets/Colors/Purple.colorset/Contents.json @@ -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" + } + } + } + ] +} \ No newline at end of file