]> git.r.bdr.sh - rbdr/map/blob - Map/Core Extensions/Color+Theme.swift
ffbd224f0b97379f175e6beb29e00cbe73b4f2db
[rbdr/map] / Map / Core Extensions / Color+Theme.swift
1 import SwiftUI
2
3 extension Color {
4 struct theme {
5 static let darkSlate = Color("Dark Slate")
6 static let jasperRed = Color("Jasper Red")
7 static let olympicBlue = Color("Olympic Blue")
8 static let neutralGray = Color("Neutral Gray")
9 static let lightNeutralGray = Color("Light Neutral Gray")
10 static let darkNeutralGray = Color("Dark Neutral Gray")
11 }
12
13 struct map {
14 static let labelColor = Color.theme.darkSlate
15 static let axisColor = Color.theme.darkSlate
16 static let vertexColor = Color.theme.darkSlate
17 static let blockerColor = Color.theme.jasperRed
18 static let opportunityColor = Color.theme.olympicBlue
19 static let stageForeground = Color.theme.lightNeutralGray
20 static let stageBackground = Color.white
21 }
22
23 struct ui {
24 static let foreground = Color("Foreground")
25 static let background = Color("Background")
26 }
27 }