File tree Expand file tree Collapse file tree 1 file changed +0
-27
lines changed
WooCommerce/Classes/POS/Utils Expand file tree Collapse file tree 1 file changed +0
-27
lines changed Original file line number Diff line number Diff line change 11import 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
285extension 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 }
You can’t perform that action at this time.
0 commit comments