         }
         
         if vibrancyView != nil {
-            self.keyView.color = UIColor.whiteColor().colorWithAlphaComponent(0.25)
+            self.background.color = UIColor.whiteColor().colorWithAlphaComponent(0.25)
             self.overlay?.hidden = !switchColors
         }
         

    }
    
    func updateColors() {
        var keyboardViews: [KeyboardView] = [self.keyView]
        if self.popup != nil { keyboardViews.append(self.popup!) }
        if self.connector != nil { keyboardViews.append(self.connector!) }
        
        var switchColors = self.highlighted || self.selected
        
        self.underlay.hidden = !self.drawUnder
        self.keyView.drawUnder = false
//        self.underlay.hidden = true
//        self.keyView.drawUnder = true
        


import UIKit

// popup constraints have to be setup with the superview in mind; hence these callbacks
protocol KeyboardKeyProtocol {
    func frameForPopup(key: KeyboardKey, direction: Direction) -> CGRect
