mirror of
https://github.com/keymanapp/keyman.git
synced 2026-09-26 17:47:40 +00:00
change(ios): relocates app-only colors to app project
This commit is contained in:
parent
cb72643f16
commit
96e17dfefd
2 changed files with 26 additions and 26 deletions
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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, *) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue