Skip to content

Instantly share code, notes, and snippets.

@rlnucci
Last active May 28, 2020 21:35
Show Gist options
  • Select an option

  • Save rlnucci/83a3b0c4ee876ea11973273c1974cf87 to your computer and use it in GitHub Desktop.

Select an option

Save rlnucci/83a3b0c4ee876ea11973273c1974cf87 to your computer and use it in GitHub Desktop.
extension UIColor {
static let mainColor: UIColor = UIColor(red: 0.3, green: 0.6, blue: 0.6, alpha: 1)
static let backgroundColor: UIColor = UIColor(red: 1, green: 1, blue: 1, alpha: 1)
}
extension UIFont {
static let mainFont: UIFont = UIFont(name: "helvetica", size: 14)!
static let titleFont: UIFont = UIFont(name: "helvetica", size: 22)!
}
struct Margins {
static let small: CGFloat = 5
static let regular: CGFloat = 10
static let large: CGFloat = 20
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment