From c843d34f56c207abcf4b93e424125eea2dc601e0 Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Fri, 4 Jul 2025 17:06:28 +0200 Subject: Upgrade to Swift 6 --- Map/Presentation/Theme/Color+theme.swift | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'Map/Presentation/Theme/Color+theme.swift') diff --git a/Map/Presentation/Theme/Color+theme.swift b/Map/Presentation/Theme/Color+theme.swift index feac76a..ee80e82 100644 --- a/Map/Presentation/Theme/Color+theme.swift +++ b/Map/Presentation/Theme/Color+theme.swift @@ -16,6 +16,9 @@ import SwiftUI extension Color { struct Theme { + + // MARK: - Base Palette + static let darkSlate = Color("Dark Slate") static let jasperRed = Color("Jasper Red") static let olympicBlue = Color("Olympic Blue") @@ -28,6 +31,15 @@ extension Color { static let darkerNeutralGray = Color("Darker Neutral Gray") } + // MARK: - General + + struct UI { + static let foreground = Color("Foreground") + static let background = Color("Background") + } + + // MARK: - The Map + struct Map { static let labelColor = Color.Theme.darkSlate static let axisColor = Color.Theme.darkSlate @@ -44,9 +56,4 @@ extension Color { Color.Theme.hermosaPink, ] } - - struct UI { - static let foreground = Color("Foreground") - static let background = Color("Background") - } } -- cgit