Skip to content

Instantly share code, notes, and snippets.

@tiagomartinho
Last active June 13, 2018 09:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tiagomartinho/9e68a321b9f052bbb501bca0d6f04ebc to your computer and use it in GitHub Desktop.
Save tiagomartinho/9e68a321b9f052bbb501bca0d6f04ebc to your computer and use it in GitHub Desktop.
LightTheme
import UIKit
struct LightTheme: Theme {
var name: ThemeName {
return .light
}
var tintColor: UIColor {
return #colorLiteral(red: 0.2392156869, green: 0.6745098233, blue: 0.9686274529, alpha: 1)
}
var barStyle: UIBarStyle {
return .default
}
var keyboardAppearance: UIKeyboardAppearance {
return .default
}
var backgroundColor: UIColor {
return .white
}
var secondaryBackgroundColor: UIColor {
return .groupTableViewBackground
}
var negativeBackgroundColor: UIColor {
return .gray
}
var titleTextColor: UIColor {
return UIColor(red: 0.16, green: 0.16, blue: 0.19, alpha: 1.00)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment