We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 780a18d commit dba9c7dCopy full SHA for dba9c7d
WooCommerce/Classes/Extensions/UILabel+SalesChannel.swift
@@ -6,8 +6,8 @@ extension UILabel {
6
func applySalesChannelStyle() {
7
applyFootnoteStyle()
8
applyLayerSettings()
9
- backgroundColor = .lightGray
10
- textColor = .black
+ backgroundColor = Layout.salesChannelLabelBackgroundColor
+ textColor = Layout.salesChannelLabelTextColor
11
}
12
13
/// Setup: Layer
@@ -23,5 +23,7 @@ private extension UILabel {
23
enum Layout {
24
static let borderWidth = CGFloat(0.0)
25
static let cornerRadius = CGFloat(4.0)
26
+ static let salesChannelLabelTextColor = UIColor(named: "posPrimary")
27
+ static let salesChannelLabelBackgroundColor = UIColor(named: "posSecondary")
28
29
0 commit comments