Manos Chorianopoulos

wallet color changes

{
"images" : [
{
"filename" : "wallet_plus_green_dark.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "wallet_plus_green_dark 1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "wallet_plus_green_dark 2.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
......@@ -32,10 +32,10 @@ import UIKit
badgeView.layer.cornerRadius = 16.0
badgeCountView.layer.cornerRadius = 4.0
badgeCountView.backgroundColor = UIColor(red: 0.92, green: 0.75, blue: 0.41, alpha: 1.00)
// badgeCountView.backgroundColor = UIColor(rgb: 0xE20074)
// badgeCountView.backgroundColor = UIColor(red: 0.92, green: 0.75, blue: 0.41, alpha: 1.00)
badgeCountView.backgroundColor = UIColor(rgb: 0xE20074)
// badgeCountLabel.textColor = .white
badgeCountLabel.textColor = .white
}
func configureCell(badgeId: String, badgeCount: Int) {
......
......@@ -39,14 +39,14 @@ import SwiftEventBus
dotLeftWidth.constant = 12
dotLeftHeight.constant = 12
dotLeft.layer.cornerRadius = 6
dotLeft.backgroundColor = UIColor(rgb: 0x00A5E3)
// dotLeft.backgroundColor = UIColor(rgb: 0xE20074)
// dotLeft.backgroundColor = UIColor(rgb: 0x00A5E3)
dotLeft.backgroundColor = UIColor(rgb: 0xE20074)
dotRightWidth.constant = 8
dotRightHeight.constant = 8
dotRight.layer.cornerRadius = 4
dotRight.backgroundColor = UIColor(rgb: 0x00A5E3)
// dotRight.backgroundColor = UIColor(rgb: 0x767676)
// dotRight.backgroundColor = UIColor(rgb: 0x00A5E3)
dotRight.backgroundColor = UIColor(rgb: 0x767676)
}
......@@ -117,23 +117,23 @@ extension WalletActiveCouponsScrollTableViewCell: UIScrollViewDelegate {
dotLeftWidth.constant = 8
dotLeftHeight.constant = 8
dotLeft.layer.cornerRadius = 4
// dotLeft.backgroundColor = UIColor(rgb: 0x767676)
dotLeft.backgroundColor = UIColor(rgb: 0x767676)
dotRightWidth.constant = 12
dotRightHeight.constant = 12
dotRight.layer.cornerRadius = 6
// dotRight.backgroundColor = UIColor(rgb: 0xE20074)
dotRight.backgroundColor = UIColor(rgb: 0xE20074)
} else {
dotLeftWidth.constant = 12
dotLeftHeight.constant = 12
dotLeft.layer.cornerRadius = 6
// dotLeft.backgroundColor = UIColor(rgb: 0xE20074)
dotLeft.backgroundColor = UIColor(rgb: 0xE20074)
dotRightWidth.constant = 8
dotRightHeight.constant = 8
dotRight.layer.cornerRadius = 4
// dotRight.backgroundColor = UIColor(rgb: 0x767676)
dotRight.backgroundColor = UIColor(rgb: 0x767676)
}
}
......
......@@ -27,12 +27,14 @@ import UIKit
bannerView.layer.cornerRadius = 12.0
bannerView.layer.borderWidth = 1
bannerView.layer.borderColor = UIColor(red: 0.05, green: 0.65, blue: 0.00, alpha: 1.00).cgColor
bannerView.layer.borderColor = UIColor(rgb: 0x0E8004).cgColor
// bannerView.layer.borderColor = UIColor(red: 0.05, green: 0.65, blue: 0.00, alpha: 1.00).cgColor
// bannerView.layer.borderColor = UIColor(red: 0.90, green: 0.90, blue: 0.90, alpha: 1.00).cgColor
bannerCenteredView.layer.cornerRadius = 12.0
bannerCenteredView.layer.borderWidth = 1
bannerCenteredView.layer.borderColor = UIColor(red: 0.05, green: 0.65, blue: 0.00, alpha: 1.00).cgColor
bannerCenteredView.layer.borderColor = UIColor(rgb: 0x0E8004).cgColor
// bannerCenteredView.layer.borderColor = UIColor(red: 0.05, green: 0.65, blue: 0.00, alpha: 1.00).cgColor
// Add shadow
// bannerView.layer.shadowColor = UIColor(red: 0.00, green: 0.00, blue: 0.00, alpha: 0.2).cgColor
......@@ -40,12 +42,14 @@ import UIKit
// bannerView.layer.shadowOpacity = 1.0
// bannerView.layer.shadowRadius = 1.0
bannerIconImage.image = UIImage(named: "wallet_plus", in: MyEmptyClass.resourceBundle(), compatibleWith: nil)
bannerCenteredIconImage.image = UIImage(named: "wallet_plus", in: MyEmptyClass.resourceBundle(), compatibleWith: nil)
bannerIconImage.image = UIImage(named: "wallet_plus_green_dark", in: MyEmptyClass.resourceBundle(), compatibleWith: nil)
bannerCenteredIconImage.image = UIImage(named: "wallet_plus_green_dark", in: MyEmptyClass.resourceBundle(), compatibleWith: nil)
// bannerArrowImage.image = UIImage(named: "arrow_right_black", in: MyEmptyClass.resourceBundle(), compatibleWith: nil)
bannerLabel.font = UIFont(name: "PeridotPE-Bold", size: 12)
bannerLabel.textColor = UIColor(rgb: 0x0E8004)
bannerCenteredLabel.font = UIFont(name: "PeridotPE-Bold", size: 12)
bannerCenteredLabel.textColor = UIColor(rgb: 0x0E8004)
}
public override func setSelected(_ selected: Bool, animated: Bool) {
......
......@@ -41,8 +41,8 @@ import UIKit
// voucherBannerLabel.text = "Ενημερώσου για το υπόλοιπο επιδότησης"
voucherCountView.layer.cornerRadius = 4.0
voucherCountView.backgroundColor = UIColor(red: 0.92, green: 0.75, blue: 0.41, alpha: 1.00)
// voucherCountView.backgroundColor = UIColor(rgb: 0xE20074)
// voucherCountView.backgroundColor = UIColor(red: 0.92, green: 0.75, blue: 0.41, alpha: 1.00)
voucherCountView.backgroundColor = UIColor(rgb: 0xE20074)
}
public override func setSelected(_ selected: Bool, animated: Bool) {
......