Skip to content

Instantly share code, notes, and snippets.

@tobitech
Created January 9, 2018 11:05
Show Gist options
  • Save tobitech/10f7393e79de0a0b0cca55127b94dcd2 to your computer and use it in GitHub Desktop.
Save tobitech/10f7393e79de0a0b0cca55127b94dcd2 to your computer and use it in GitHub Desktop.
A Sample Swift file for keeping your Projects Constants
import Foundation
import UIKit
struct Colors {
static let brightOrange = UIColor(red: 255.0/255.0, green: 69.0/255.0, blue: 0.0/255.0, alpha: 1.0)
static let red = UIColor(red: 255.0/255.0, green: 115.0/255.0, blue: 115.0/255.0, alpha: 1.0)
static let brandColor = UIColor(red: 255.0/255.0, green: 115.0/255.0, blue: 115.0/255.0, alpha: 1.0)
static let secondaryColor = UIColor(red: 255.0/255.0, green: 115.0/255.0, blue: 115.0/255.0, alpha: 1.0)
static let darkColor = UIColor(red: 255.0/255.0, green: 115.0/255.0, blue: 115.0/255.0, alpha: 1.0)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment