//
//  SelectThemeViewController.swift
//  Demo
//
//  Created by Gesen on 16/3/1.
//  Copyright © 2016年 Gesen. All rights reserved.
//

import UIKit

class SelectThemeViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()

        view.theme_backgroundColor = GlobalPicker.backgroundColor
    }
    
    @IBAction @objc(tapRed:) func tapRed(_ sender: AnyObject) {
        MyThemes.switchTo(theme: .red)
    }
    
    @IBAction @objc func tapYellow(_ sender: AnyObject) {
        MyThemes.switchTo(theme: .yello)
    }
    
    @IBAction func tapBlue(_ sender: AnyObject) {
        MyThemes.switchTo(theme: .blue)
    }

}
