Skip to content

Commit 588295a

Browse files
committed
Remove all unused legacy POS colors.
1 parent 12d588e commit 588295a

File tree

1 file changed

+0
-27
lines changed

1 file changed

+0
-27
lines changed

WooCommerce/Classes/POS/Utils/Color+WooCommercePOS.swift

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,8 @@
11
import SwiftUI
22

3-
extension Color {
4-
5-
static var posAccent: Color {
6-
return Color(
7-
UIColor(
8-
light: .withColorStudio(.wooCommercePurple, shade: .shade40),
9-
dark: .withColorStudio(.wooCommercePurple, shade: .shade30)
10-
)
11-
)
12-
}
13-
14-
// MARK: - Text
15-
16-
private static var posGray: Color {
17-
return Color(
18-
UIColor(
19-
light: UIColor(.posLightGray),
20-
dark: UIColor(.posDarkGray)
21-
)
22-
)
23-
}
24-
}
25-
263
// MARK: - Non-adaptive colors
274

285
extension Color {
29-
private static var posLightGray: Color {
30-
return .init(red: 60.0 / 255.0, green: 60.0 / 255.0, blue: 67.0 / 255.0)
31-
}
32-
336
static var posDarkGray: Color {
347
return .init(red: 235.0 / 255.0, green: 235.0 / 255.0, blue: 245.0 / 255.0)
358
}

0 commit comments

Comments
 (0)