File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
WordPress/Classes/Utility/App Configuration Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -87,25 +87,31 @@ struct UIAppColor {
8787
8888#if IS_JETPACK
8989 static let tint = UIColor . label
90+
9091 static let brand = UIColor ( light: CSColor . JetpackGreen. shade ( . shade40) , dark: CSColor . JetpackGreen. shade ( . shade30) )
9192
9293 static func brand( _ shade: ColorStudioShade ) -> UIColor {
9394 CSColor . JetpackGreen. shade ( shade)
9495 }
9596
97+ static let primary = CSColor . JetpackGreen. base
98+
9699 static func primary( _ shade: ColorStudioShade ) -> UIColor {
97100 CSColor . JetpackGreen. shade ( shade)
98101 }
99102#endif
100103
101104#if IS_WORDPRESS
102105 static let tint = brand
106+
103107 static let brand = CSColor . WordPressBlue. base
104108
105109 static func brand( _ shade: ColorStudioShade ) -> UIColor {
106110 CSColor . WordPressBlue. shade ( shade)
107111 }
108112
113+ static let primary = CSColor . Blue. base
114+
109115 static func primary( _ shade: ColorStudioShade ) -> UIColor {
110116 CSColor . Blue. shade ( shade)
111117 }
@@ -116,9 +122,6 @@ struct UIAppColor {
116122 static let gray = CSColor . Gray. base
117123 static let blue = CSColor . Blue. base
118124
119- /// - warning: soft-deprecated, use `UIAppColor.tint`.
120- static let primary = brand
121-
122125 static let success = CSColor . Green. base
123126 static let text = CSColor . Gray. shade ( . shade80)
124127 static let textSubtle = CSColor . Gray. shade ( . shade50)
You can’t perform that action at this time.
0 commit comments