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) {
......
...@@ -40,14 +40,14 @@ import SwiftEventBus ...@@ -40,14 +40,14 @@ import SwiftEventBus
40 dotLeftWidth.constant = 12 40 dotLeftWidth.constant = 12
41 dotLeftHeight.constant = 12 41 dotLeftHeight.constant = 12
42 dotLeft.layer.cornerRadius = 6 42 dotLeft.layer.cornerRadius = 6
43 - dotLeft.backgroundColor = UIColor(rgb: 0x00A5E3) 43 + // dotLeft.backgroundColor = UIColor(rgb: 0x00A5E3)
44 - // dotLeft.backgroundColor = UIColor(rgb: 0xE20074) 44 + dotLeft.backgroundColor = UIColor(rgb: 0xE20074)
45 45
46 dotRightWidth.constant = 8 46 dotRightWidth.constant = 8
47 dotRightHeight.constant = 8 47 dotRightHeight.constant = 8
48 dotRight.layer.cornerRadius = 4 48 dotRight.layer.cornerRadius = 4
49 - dotRight.backgroundColor = UIColor(rgb: 0x00A5E3) 49 + // dotRight.backgroundColor = UIColor(rgb: 0x00A5E3)
50 - // dotRight.backgroundColor = UIColor(rgb: 0x767676) 50 + dotRight.backgroundColor = UIColor(rgb: 0x767676)
51 51
52 } 52 }
53 53
...@@ -131,23 +131,23 @@ extension WalletActiveCouponsScrollTableViewCell: UIScrollViewDelegate { ...@@ -131,23 +131,23 @@ extension WalletActiveCouponsScrollTableViewCell: UIScrollViewDelegate {
131 dotLeftWidth.constant = 8 131 dotLeftWidth.constant = 8
132 dotLeftHeight.constant = 8 132 dotLeftHeight.constant = 8
133 dotLeft.layer.cornerRadius = 4 133 dotLeft.layer.cornerRadius = 4
134 - // dotLeft.backgroundColor = UIColor(rgb: 0x767676) 134 + dotLeft.backgroundColor = UIColor(rgb: 0x767676)
135 135
136 dotRightWidth.constant = 12 136 dotRightWidth.constant = 12
137 dotRightHeight.constant = 12 137 dotRightHeight.constant = 12
138 dotRight.layer.cornerRadius = 6 138 dotRight.layer.cornerRadius = 6
139 - // dotRight.backgroundColor = UIColor(rgb: 0xE20074) 139 + dotRight.backgroundColor = UIColor(rgb: 0xE20074)
140 140
141 } else { 141 } else {
142 dotLeftWidth.constant = 12 142 dotLeftWidth.constant = 12
143 dotLeftHeight.constant = 12 143 dotLeftHeight.constant = 12
144 dotLeft.layer.cornerRadius = 6 144 dotLeft.layer.cornerRadius = 6
145 - // dotLeft.backgroundColor = UIColor(rgb: 0xE20074) 145 + dotLeft.backgroundColor = UIColor(rgb: 0xE20074)
146 146
147 dotRightWidth.constant = 8 147 dotRightWidth.constant = 8
148 dotRightHeight.constant = 8 148 dotRightHeight.constant = 8
149 dotRight.layer.cornerRadius = 4 149 dotRight.layer.cornerRadius = 4
150 - // dotRight.backgroundColor = UIColor(rgb: 0x767676) 150 + dotRight.backgroundColor = UIColor(rgb: 0x767676)
151 } 151 }
152 152
153 } 153 }
......
...@@ -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) {
......
...@@ -42,8 +42,8 @@ import SwiftEventBus ...@@ -42,8 +42,8 @@ import SwiftEventBus
42 // voucherBannerLabel.text = "Ενημερώσου για το υπόλοιπο επιδότησης" 42 // voucherBannerLabel.text = "Ενημερώσου για το υπόλοιπο επιδότησης"
43 43
44 voucherCountView.layer.cornerRadius = 4.0 44 voucherCountView.layer.cornerRadius = 4.0
45 - voucherCountView.backgroundColor = UIColor(red: 0.92, green: 0.75, blue: 0.41, alpha: 1.00) 45 + // voucherCountView.backgroundColor = UIColor(red: 0.92, green: 0.75, blue: 0.41, alpha: 1.00)
46 - // voucherCountView.backgroundColor = UIColor(rgb: 0xE20074) 46 + voucherCountView.backgroundColor = UIColor(rgb: 0xE20074)
47 } 47 }
48 48
49 public override func setSelected(_ selected: Bool, animated: Bool) { 49 public override func setSelected(_ selected: Bool, animated: Bool) {
......