//
//  SideBarTableViewCell.swift
//  Tempo
//
//  Created by Annie Cheng on 4/22/15.
//  Copyright (c) 2015 Lucas Derraugh. All rights reserved.
//

import UIKit

class SideBarTableViewCell: UITableViewCell {

    @IBOutlet weak var categorySymbol: UIImageView!
    @IBOutlet weak var categoryLabel: UILabel!
    @IBOutlet weak var selectedCellView: UIView!
    @IBOutlet weak var customSeparator: UIView!
    
    override func didMoveToSuperview() {
        selectionStyle = .none
        backgroundColor = .readCellColor
        customSeparator.backgroundColor = .unreadCellColor
        selectedCellView.frame = CGRect(x: 0, y: 0, width: 8, height: frame.height + 10)
        selectedCellView.backgroundColor = .tempoRed
    }
    
    // Custom selected cell view
    override func setSelected(_ selected: Bool, animated: Bool) {
		contentView.backgroundColor = selected ? .unreadCellColor : .clear
		selectedCellView.isHidden = !selected
    }
    
}

//
//  SideBarTableViewCell.swift
//  Tempo
//
//  Created by Annie Cheng on 4/22/15.
//  Copyright (c) 2015 Lucas Derraugh. All rights reserved.
//

import UIKit

class SideBarTableViewCell: UITableViewCell {

    @IBOutlet weak var categorySymbol: UIImageView!
    @IBOutlet weak var categoryLabel: UILabel!
    @IBOutlet weak var selectedCellView: UIView!
    @IBOutlet weak var customSeparator: UIView!
    
    override func didMoveToSuperview() {
        selectionStyle = .none
        backgroundColor = .tempoDarkGray
        customSeparator.backgroundColor = .separatorGray
        selectedCellView.frame = CGRect(x: 0, y: 0, width: 8, height: frame.height + 10)
        selectedCellView.backgroundColor = .tempoRed
    }
    
    // Custom selected cell view
    override func setSelected(_ selected: Bool, animated: Bool) {
		contentView.backgroundColor = selected ? .tempoLightGray : .clear
		selectedCellView.isHidden = !selected
    }
    
}

--- 
+++ 
@@ -17,15 +17,15 @@
     
     override func didMoveToSuperview() {
         selectionStyle = .none
-        backgroundColor = .tempoDarkGray
-        customSeparator.backgroundColor = .separatorGray
+        backgroundColor = .readCellColor
+        customSeparator.backgroundColor = .unreadCellColor
         selectedCellView.frame = CGRect(x: 0, y: 0, width: 8, height: frame.height + 10)
         selectedCellView.backgroundColor = .tempoRed
     }
     
     // Custom selected cell view
     override func setSelected(_ selected: Bool, animated: Bool) {
-		contentView.backgroundColor = selected ? .tempoLightGray : .clear
+		contentView.backgroundColor = selected ? .unreadCellColor : .clear
 		selectedCellView.isHidden = !selected
     }
     
Change colors in Side Bar Cells
