Manos Chorianopoulos

wallet color changes

1 +{
2 + "images" : [
3 + {
4 + "filename" : "wallet_plus_green_dark.png",
5 + "idiom" : "universal",
6 + "scale" : "1x"
7 + },
8 + {
9 + "filename" : "wallet_plus_green_dark 1.png",
10 + "idiom" : "universal",
11 + "scale" : "2x"
12 + },
13 + {
14 + "filename" : "wallet_plus_green_dark 2.png",
15 + "idiom" : "universal",
16 + "scale" : "3x"
17 + }
18 + ],
19 + "info" : {
20 + "author" : "xcode",
21 + "version" : 1
22 + }
23 +}
...@@ -32,10 +32,10 @@ import UIKit ...@@ -32,10 +32,10 @@ import UIKit
32 badgeView.layer.cornerRadius = 16.0 32 badgeView.layer.cornerRadius = 16.0
33 33
34 badgeCountView.layer.cornerRadius = 4.0 34 badgeCountView.layer.cornerRadius = 4.0
35 - badgeCountView.backgroundColor = UIColor(red: 0.92, green: 0.75, blue: 0.41, alpha: 1.00) 35 + // badgeCountView.backgroundColor = UIColor(red: 0.92, green: 0.75, blue: 0.41, alpha: 1.00)
36 - // badgeCountView.backgroundColor = UIColor(rgb: 0xE20074) 36 + badgeCountView.backgroundColor = UIColor(rgb: 0xE20074)
37 37
38 - // badgeCountLabel.textColor = .white 38 + badgeCountLabel.textColor = .white
39 } 39 }
40 40
41 func configureCell(badgeId: String, badgeCount: Int) { 41 func configureCell(badgeId: String, badgeCount: Int) {
......
...@@ -39,14 +39,14 @@ import SwiftEventBus ...@@ -39,14 +39,14 @@ import SwiftEventBus
39 dotLeftWidth.constant = 12 39 dotLeftWidth.constant = 12
40 dotLeftHeight.constant = 12 40 dotLeftHeight.constant = 12
41 dotLeft.layer.cornerRadius = 6 41 dotLeft.layer.cornerRadius = 6
42 - dotLeft.backgroundColor = UIColor(rgb: 0x00A5E3) 42 + // dotLeft.backgroundColor = UIColor(rgb: 0x00A5E3)
43 - // dotLeft.backgroundColor = UIColor(rgb: 0xE20074) 43 + dotLeft.backgroundColor = UIColor(rgb: 0xE20074)
44 44
45 dotRightWidth.constant = 8 45 dotRightWidth.constant = 8
46 dotRightHeight.constant = 8 46 dotRightHeight.constant = 8
47 dotRight.layer.cornerRadius = 4 47 dotRight.layer.cornerRadius = 4
48 - dotRight.backgroundColor = UIColor(rgb: 0x00A5E3) 48 + // dotRight.backgroundColor = UIColor(rgb: 0x00A5E3)
49 - // dotRight.backgroundColor = UIColor(rgb: 0x767676) 49 + dotRight.backgroundColor = UIColor(rgb: 0x767676)
50 50
51 } 51 }
52 52
...@@ -117,23 +117,23 @@ extension WalletActiveCouponsScrollTableViewCell: UIScrollViewDelegate { ...@@ -117,23 +117,23 @@ extension WalletActiveCouponsScrollTableViewCell: UIScrollViewDelegate {
117 dotLeftWidth.constant = 8 117 dotLeftWidth.constant = 8
118 dotLeftHeight.constant = 8 118 dotLeftHeight.constant = 8
119 dotLeft.layer.cornerRadius = 4 119 dotLeft.layer.cornerRadius = 4
120 - // dotLeft.backgroundColor = UIColor(rgb: 0x767676) 120 + dotLeft.backgroundColor = UIColor(rgb: 0x767676)
121 121
122 dotRightWidth.constant = 12 122 dotRightWidth.constant = 12
123 dotRightHeight.constant = 12 123 dotRightHeight.constant = 12
124 dotRight.layer.cornerRadius = 6 124 dotRight.layer.cornerRadius = 6
125 - // dotRight.backgroundColor = UIColor(rgb: 0xE20074) 125 + dotRight.backgroundColor = UIColor(rgb: 0xE20074)
126 126
127 } else { 127 } else {
128 dotLeftWidth.constant = 12 128 dotLeftWidth.constant = 12
129 dotLeftHeight.constant = 12 129 dotLeftHeight.constant = 12
130 dotLeft.layer.cornerRadius = 6 130 dotLeft.layer.cornerRadius = 6
131 - // dotLeft.backgroundColor = UIColor(rgb: 0xE20074) 131 + dotLeft.backgroundColor = UIColor(rgb: 0xE20074)
132 132
133 dotRightWidth.constant = 8 133 dotRightWidth.constant = 8
134 dotRightHeight.constant = 8 134 dotRightHeight.constant = 8
135 dotRight.layer.cornerRadius = 4 135 dotRight.layer.cornerRadius = 4
136 - // dotRight.backgroundColor = UIColor(rgb: 0x767676) 136 + dotRight.backgroundColor = UIColor(rgb: 0x767676)
137 } 137 }
138 138
139 } 139 }
......
...@@ -27,12 +27,14 @@ import UIKit ...@@ -27,12 +27,14 @@ import UIKit
27 27
28 bannerView.layer.cornerRadius = 12.0 28 bannerView.layer.cornerRadius = 12.0
29 bannerView.layer.borderWidth = 1 29 bannerView.layer.borderWidth = 1
30 - bannerView.layer.borderColor = UIColor(red: 0.05, green: 0.65, blue: 0.00, alpha: 1.00).cgColor 30 + bannerView.layer.borderColor = UIColor(rgb: 0x0E8004).cgColor
31 +// bannerView.layer.borderColor = UIColor(red: 0.05, green: 0.65, blue: 0.00, alpha: 1.00).cgColor
31 // bannerView.layer.borderColor = UIColor(red: 0.90, green: 0.90, blue: 0.90, alpha: 1.00).cgColor 32 // bannerView.layer.borderColor = UIColor(red: 0.90, green: 0.90, blue: 0.90, alpha: 1.00).cgColor
32 33
33 bannerCenteredView.layer.cornerRadius = 12.0 34 bannerCenteredView.layer.cornerRadius = 12.0
34 bannerCenteredView.layer.borderWidth = 1 35 bannerCenteredView.layer.borderWidth = 1
35 - bannerCenteredView.layer.borderColor = UIColor(red: 0.05, green: 0.65, blue: 0.00, alpha: 1.00).cgColor 36 + bannerCenteredView.layer.borderColor = UIColor(rgb: 0x0E8004).cgColor
37 +// bannerCenteredView.layer.borderColor = UIColor(red: 0.05, green: 0.65, blue: 0.00, alpha: 1.00).cgColor
36 38
37 // Add shadow 39 // Add shadow
38 // bannerView.layer.shadowColor = UIColor(red: 0.00, green: 0.00, blue: 0.00, alpha: 0.2).cgColor 40 // bannerView.layer.shadowColor = UIColor(red: 0.00, green: 0.00, blue: 0.00, alpha: 0.2).cgColor
...@@ -40,12 +42,14 @@ import UIKit ...@@ -40,12 +42,14 @@ import UIKit
40 // bannerView.layer.shadowOpacity = 1.0 42 // bannerView.layer.shadowOpacity = 1.0
41 // bannerView.layer.shadowRadius = 1.0 43 // bannerView.layer.shadowRadius = 1.0
42 44
43 - bannerIconImage.image = UIImage(named: "wallet_plus", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) 45 + bannerIconImage.image = UIImage(named: "wallet_plus_green_dark", in: MyEmptyClass.resourceBundle(), compatibleWith: nil)
44 - bannerCenteredIconImage.image = UIImage(named: "wallet_plus", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) 46 + bannerCenteredIconImage.image = UIImage(named: "wallet_plus_green_dark", in: MyEmptyClass.resourceBundle(), compatibleWith: nil)
45 // bannerArrowImage.image = UIImage(named: "arrow_right_black", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) 47 // bannerArrowImage.image = UIImage(named: "arrow_right_black", in: MyEmptyClass.resourceBundle(), compatibleWith: nil)
46 48
47 bannerLabel.font = UIFont(name: "PeridotPE-Bold", size: 12) 49 bannerLabel.font = UIFont(name: "PeridotPE-Bold", size: 12)
50 + bannerLabel.textColor = UIColor(rgb: 0x0E8004)
48 bannerCenteredLabel.font = UIFont(name: "PeridotPE-Bold", size: 12) 51 bannerCenteredLabel.font = UIFont(name: "PeridotPE-Bold", size: 12)
52 + bannerCenteredLabel.textColor = UIColor(rgb: 0x0E8004)
49 } 53 }
50 54
51 public override func setSelected(_ selected: Bool, animated: Bool) { 55 public override func setSelected(_ selected: Bool, animated: Bool) {
......
...@@ -41,8 +41,8 @@ import UIKit ...@@ -41,8 +41,8 @@ import UIKit
41 // voucherBannerLabel.text = "Ενημερώσου για το υπόλοιπο επιδότησης" 41 // voucherBannerLabel.text = "Ενημερώσου για το υπόλοιπο επιδότησης"
42 42
43 voucherCountView.layer.cornerRadius = 4.0 43 voucherCountView.layer.cornerRadius = 4.0
44 - voucherCountView.backgroundColor = UIColor(red: 0.92, green: 0.75, blue: 0.41, alpha: 1.00) 44 + // voucherCountView.backgroundColor = UIColor(red: 0.92, green: 0.75, blue: 0.41, alpha: 1.00)
45 - // voucherCountView.backgroundColor = UIColor(rgb: 0xE20074) 45 + voucherCountView.backgroundColor = UIColor(rgb: 0xE20074)
46 } 46 }
47 47
48 public override func setSelected(_ selected: Bool, animated: Bool) { 48 public override func setSelected(_ selected: Bool, animated: Bool) {
......