-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathUIColorExtensions.swift
74 lines (60 loc) · 1.79 KB
/
UIColorExtensions.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
//
// UIColorExtensions.swift
// POPS
//
// Created by Stoyan Stoyanov on 11/8/16.
// Copyright © 2016 POPS! Diabetes Care's. All rights reserved.
//
import UIKit
extension UIColor {
static var popsGreen: UIColor {
get {
return UIColor.init(red: 6/255.0, green: 177/255.0, blue: 75/255.0, alpha: 1)
}
}
static var popsGray: UIColor {
get {
return UIColor.init(red: 128/255.0, green: 128/255.0, blue: 128/255.0, alpha: 1)
}
}
static var popsBlack: UIColor {
get {
return UIColor.init(red: 43/255.0, green: 41/255.0, blue: 40/255.0, alpha: 1)
}
}
static var popsRed: UIColor {
get {
return UIColor.init(red: 235/255.0, green: 37/255.0, blue: 41/255.0, alpha: 1)
}
}
static var popsBlue: UIColor {
get {
return UIColor.init(red: 22/255.0, green: 104/255.0, blue: 175/255.0, alpha: 1)
}
}
static var popsDimGreen: UIColor {
get {
return UIColor.init(red: 45/255.0, green: 179/255.0, blue: 74/255.0, alpha: 1)
}
}
static var popsYellow: UIColor {
get {
return UIColor.init(red: 252/255.0, green: 192/255.0, blue: 49/255.0, alpha: 1)
}
}
static var popsOrange: UIColor {
get {
return UIColor.init(red: 240/255.0, green: 122/255.0, blue: 42/255.0, alpha: 1)
}
}
static var popsEditText: UIColor {
get {
return UIColor.init(red: 9/255.0, green: 80/255.0, blue: 208/255.0, alpha: 1)
}
}
static var popsInactiveText: UIColor {
get {
return UIColor.init(red: 108/255.0, green: 108/255.0, blue: 108/255.0, alpha: 1)
}
}
}