Mercurial > public > geoquiz
annotate GeoQuiz/Components/ColorExtension.swift @ 11:039b26a99a48
implementing RevenueCat
author | Dennis C. M. <dennis@denniscm.com> |
---|---|
date | Sun, 09 Oct 2022 17:02:34 +0200 |
parents | a793f33f05fb |
children | 1011e56b7832 |
rev | line source |
---|---|
0 | 1 // |
10
a793f33f05fb
refactor code and fix layout
Dennis C. M. <dennis@denniscm.com>
parents:
5
diff
changeset
|
2 // ColorExtension.swift |
0 | 3 // GeoQuiz |
4 // | |
5 // Created by Dennis Concepción Martín on 16/9/22. | |
6 // | |
7 | |
8 import Foundation | |
9 import SwiftUI | |
10 | |
11 extension ShapeStyle where Self == Color { | |
12 static var atomicTangerine: Color { | |
13 Color("AtomicTangerine") | |
14 } | |
15 | |
16 static var blueBell: Color { | |
17 Color("BlueBell") | |
18 } | |
19 | |
20 static var chinaPink: Color { | |
21 Color("ChinaPink") | |
22 } | |
23 | |
24 static var maizeCrayola: Color { | |
25 Color("MaizeCrayola") | |
26 } | |
27 | |
28 static var mayaBlue: Color { | |
29 Color("MayaBlue") | |
30 } | |
31 | |
32 static var middleRed: Color { | |
33 Color("MiddleRed") | |
34 } | |
35 | |
36 static var pinkLavender: Color { | |
37 Color("PinkLavender") | |
38 } | |
39 | |
40 static var royalLightBlue: Color { | |
41 Color("RoyalLightBlue") | |
42 } | |
43 } |