Commit 1f3c55c6 authored by Alex朱枝文's avatar Alex朱枝文

新增颜色

parent 46eb3e82
......@@ -32,6 +32,18 @@ extension UIColor {
// 品牌主色 6
static let brandMainColor6: UIColor = UIColor(hexString: "#0046B4", transparency: 0.06)!
// 品牌新主色
static let brandGrayColor8: UIColor = UIColor(hexString: "#121A26")!
static let brandGrayColor7: UIColor = UIColor(hexString: "#6A7586")!
static let brandGrayColor6: UIColor = UIColor(hexString: "#8993A2")!
static let brandGrayColor5: UIColor = UIColor(hexString: "#B9C1CC")!
static let brandGrayColor4: UIColor = UIColor(hexString: "#D5DAE1")!
static let brandGrayColor3: UIColor = UIColor(hexString: "#E9ECFO")!
static let brandGrayColor2: UIColor = UIColor(hexString: "#F5F6F8")!
static let brandGrayColor1: UIColor = UIColor(hexString: "#F9FAFC")!
static let brandGrayColor0: UIColor = UIColor(hexString: "#FFFFFF")!
public static func brandMainColor(alpha: CGFloat) -> UIColor {
return UIColor(hexString: "#0046B4", transparency: alpha)!
}
......@@ -62,12 +74,19 @@ extension UIColor {
// 成功 color
static let successColor: UIColor = UIColor(hexString: "#49D2B1")!
static let successColor1: UIColor = UIColor(hexString: "#FOFBF7")!
static let successColor2: UIColor = UIColor(hexString: "#3CC694")!
// 失败 color
static let failColor: UIColor = UIColor(hexString: "#F81D22")!
// 用于错误背景色
static let failColor1: UIColor = UIColor(hexString: "#FFF2F2")!
// 警告 color
static let warnColor: UIColor = UIColor(hexString: "#FF9900")!
static let warnColor2: UIColor = UIColor(hexString: "#FF8000")!
// 用于警示背景色
static let warnColor1: UIColor = UIColor(hexString: "#FFF5EB")!
// 警告 背景色 color
static let warnColor8: UIColor = UIColor(hexString: "#FF9900", transparency: 0.08)!
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment