 public class GreenElloButton: ElloButton {
 
     override func updateStyle() {
-        backgroundColor = enabled ? UIColor.greenD1() : UIColor.greyF1()
+        backgroundColor = enabled ? .greenD1() : .greyF1()
     }
 
     override func sharedSetup() {
         titleLabel?.font = UIFont.defaultFont()
         titleLabel?.numberOfLines = 1
-        setTitleColor(UIColor.whiteColor(), forState: .Normal)
-        setTitleColor(UIColor.grey6(), forState: .Highlighted)
-        setTitleColor(UIColor.greyA(), forState: .Disabled)
+        setTitleColor(.whiteColor(), forState: .Normal)
+        setTitleColor(.grey6(), forState: .Highlighted)
+        setTitleColor(.greyA(), forState: .Disabled)
         layer.cornerRadius = 5
     }
 



public class RoundedElloButton: ElloButton {
    var borderColor: UIColor = UIColor.blackColor() {
        didSet {
            updateOutline()
        }


    override func updateStyle() {
        if !enabled {
            backgroundColor = .greyA()
        }
        else if selected {
            backgroundColor = .blackColor()
        }
        else {
            backgroundColor = .whiteColor()
        }
    }

    override func sharedSetup() {
        super.sharedSetup()
        titleLabel?.font = UIFont.defaultFont()
        setTitleColor(.blackColor(), forState: .Normal)
        setTitleColor(.grey6(), forState: .Highlighted)
        setTitleColor(.greyC(), forState: .Disabled)
        setTitleColor(.whiteColor(), forState: .Selected)
    }
}

