change(ios): relocates app-only colors to app project

This commit is contained in:
jahorton 2020-01-23 15:37:32 +07:00
parent cb72643f16
commit 96e17dfefd
2 changed files with 26 additions and 26 deletions

View file

@ -115,4 +115,30 @@ extension Colors {
}
}
}
public static var helpBubbleGradient1: UIColor {
get {
if #available(iOSApplicationExtension 11.0, *) {
return UIColor(named: "HelpBubbleGradient1")!
} else {
return UIColor(red: 253.0 / 255.0,
green: 244.0 / 255.0,
blue: 196.0 / 255.0,
alpha: 1.0)
}
}
}
public static var helpBubbleGradient2: UIColor {
get {
if #available(iOSApplicationExtension 11.0, *) {
return UIColor(named: "HelpBubbleGradient2")!
} else {
return UIColor(red: 233.0 / 255.0,
green: 224.0 / 255.0,
blue: 176.0 / 255.0,
alpha: 1.0)
}
}
}
}

View file

@ -83,32 +83,6 @@ public class Colors {
}
}
public static var helpBubbleGradient1: UIColor {
get {
if #available(iOSApplicationExtension 11.0, *) {
return UIColor(named: "HelpBubbleGradient1")!
} else {
return UIColor(red: 253.0 / 255.0,
green: 244.0 / 255.0,
blue: 196.0 / 255.0,
alpha: 1.0)
}
}
}
public static var helpBubbleGradient2: UIColor {
get {
if #available(iOSApplicationExtension 11.0, *) {
return UIColor(named: "HelpBubbleGradient2")!
} else {
return UIColor(red: 233.0 / 255.0,
green: 224.0 / 255.0,
blue: 176.0 / 255.0,
alpha: 1.0)
}
}
}
public static var keyboardBackground: UIColor {
get {
if #available(iOSApplicationExtension 11.0, *) {