//
//  ClearPinPadCell.swift
//  breadwallet
//
//  Created by Adrian Corscadden on 2017-01-23.
//  Copyright © 2017 breadwallet LLC. All rights reserved.
//

import UIKit

class ClearPinPadCell : PinPadCell {

    override func setColors() {
        if isHighlighted {
            label.backgroundColor = UIColor(white: 0.0, alpha: 0.3)
            label.textColor = .white
        } else {
            if text == "" || text == deleteKeyIdentifier {
                label.backgroundColor = .clear
                imageView.image = imageView.image?.withRenderingMode(.alwaysTemplate)
                imageView.tintColor = .white
            } else {
                label.backgroundColor = UIColor(white: 1.0, alpha: 0.3)
                label.textColor = .white
            }
        }
    }
}

//
//  ClearPinPadCell.swift
//  breadwallet
//
//  Created by Adrian Corscadden on 2017-01-23.
//  Copyright © 2017 breadwallet LLC. All rights reserved.
//

import UIKit

class ClearPinPadCell : PinPadCell {

    override func setColors() {
        if isHighlighted {
            label.backgroundColor = .secondaryShadow
            label.textColor = .darkText
        } else {
            if text == "" || text == deleteKeyIdentifier {
                label.backgroundColor = .clear
                imageView.image = imageView.image?.withRenderingMode(.alwaysTemplate)
                imageView.tintColor = .white
            } else {
                label.backgroundColor = UIColor(white: 1.0, alpha: 0.3)
                label.textColor = .white
            }
        }
    }
}

--- 
+++ 
@@ -12,8 +12,8 @@
 
     override func setColors() {
         if isHighlighted {
-            label.backgroundColor = .secondaryShadow
-            label.textColor = .darkText
+            label.backgroundColor = UIColor(white: 0.0, alpha: 0.3)
+            label.textColor = .white
         } else {
             if text == "" || text == deleteKeyIdentifier {
                 label.backgroundColor = .clear
Make login pinpad highlighted colors better
