]> git.r.bdr.sh - rbdr/map/blame - Map/Presentation/Theme/Color+theme.swift
Begin re-licensing
[rbdr/map] / Map / Presentation / Theme / Color+theme.swift
CommitLineData
fdb4633d
RBR
1import SwiftUI
2
3extension 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")
e2c37ac1
RBR
8 static let lightPorcelainGreen = Color("Light Porcelain Green")
9 static let naplesYellow = Color("Naples Yellow")
10 static let hermosaPink = Color("Hermosa Pink")
fdb4633d
RBR
11 static let neutralGray = Color("Neutral Gray")
12 static let lightNeutralGray = Color("Light Neutral Gray")
13 static let darkNeutralGray = Color("Dark Neutral Gray")
e2c37ac1 14 static let darkerNeutralGray = Color("Darker Neutral Gray")
fdb4633d 15 }
e2c37ac1 16
fdb4633d
RBR
17 struct map {
18 static let labelColor = Color.theme.darkSlate
19 static let axisColor = Color.theme.darkSlate
20 static let vertexColor = Color.theme.darkSlate
21 static let blockerColor = Color.theme.jasperRed
22 static let opportunityColor = Color.theme.olympicBlue
23 static let stageForeground = Color.theme.lightNeutralGray
24 static let stageBackground = Color.white
e2c37ac1
RBR
25 static let groupColors = [
26 Color.theme.olympicBlue,
27 Color.theme.jasperRed,
28 Color.theme.lightPorcelainGreen,
29 Color.theme.naplesYellow,
30 Color.theme.hermosaPink,
31 ]
fdb4633d 32 }
e2c37ac1 33
fdb4633d
RBR
34 struct ui {
35 static let foreground = Color("Foreground")
36 static let background = Color("Background")
37 }
38}