diff GeoQuiz/Logic/CustomColors.swift @ 0:413e2d21333e

first commit
author Dennis C. M. <dennis@denniscm.com>
date Tue, 20 Sep 2022 08:13:26 +0200
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/GeoQuiz/Logic/CustomColors.swift	Tue Sep 20 08:13:26 2022 +0200
@@ -0,0 +1,43 @@
+//
+//  CustomColors.swift
+//  GeoQuiz
+//
+//  Created by Dennis Concepción Martín on 16/9/22.
+//
+
+import Foundation
+import SwiftUI
+
+extension ShapeStyle where Self == Color {
+    static var atomicTangerine: Color {
+        Color("AtomicTangerine")
+    }
+    
+    static var blueBell: Color {
+        Color("BlueBell")
+    }
+    
+    static var chinaPink: Color {
+        Color("ChinaPink")
+    }
+    
+    static var maizeCrayola: Color {
+        Color("MaizeCrayola")
+    }
+    
+    static var mayaBlue: Color {
+        Color("MayaBlue")
+    }
+    
+    static var middleRed: Color {
+        Color("MiddleRed")
+    }
+    
+    static var pinkLavender: Color {
+        Color("PinkLavender")
+    }
+    
+    static var royalLightBlue: Color {
+        Color("RoyalLightBlue")
+    }
+}