aboutsummaryrefslogtreecommitdiff
path: root/Map/Presentation/Theme
diff options
context:
space:
mode:
authorRuben Beltran del Rio <git@r.bdr.sh>2025-07-05 23:40:26 +0200
committerRuben Beltran del Rio <git@r.bdr.sh>2025-07-05 23:40:26 +0200
commit3cd8f1f7200109d505b5e105d5ebe53f0c93d337 (patch)
tree9c997bc3287998b2944a015a919eb59ea424814a /Map/Presentation/Theme
parentcb4a713afc81326485becba4fa3a635f112114d4 (diff)
Improve defaults and style for stages
Diffstat (limited to 'Map/Presentation/Theme')
-rw-r--r--Map/Presentation/Theme/Dimensions.swift26
1 files changed, 23 insertions, 3 deletions
diff --git a/Map/Presentation/Theme/Dimensions.swift b/Map/Presentation/Theme/Dimensions.swift
index 7df3f1a..5597c4e 100644
--- a/Map/Presentation/Theme/Dimensions.swift
+++ b/Map/Presentation/Theme/Dimensions.swift
@@ -19,10 +19,10 @@ struct Dimensions {
// MARK: - Fonts
struct FontSize {
- static let body: CGFloat = 15
+ static let body: CGFloat = 13
static let title: CGFloat = 32
- static let caption: CGFloat = 13
- static let smallControl: CGFloat = 11
+ static let caption: CGFloat = 11
+ static let smallControl: CGFloat = 9
struct Map {
static let note: CGFloat = 12
@@ -43,6 +43,10 @@ struct Dimensions {
static let vertexLabel: CGFloat = 18
}
}
+
+ struct Kerning {
+ static let body: CGFloat = 0.5
+ }
// MARK: - Spacing
@@ -62,9 +66,25 @@ struct Dimensions {
}
// MARK: - Assorted Controls
+
struct EvolutionPicker {
static let radius = 8.0
static let controlSize = 8.0
static let controlSpacing = 3.0
}
+
+ struct Preferences {
+
+ struct Window {
+ static let width: CGFloat = 600.0
+ static let height: CGFloat = 400.0
+ }
+
+ struct Toolbar {
+ static let radius: CGFloat = 8.0
+ static let size: CGFloat = 16.0
+ static let width: CGFloat = 60.0
+ static let height: CGFloat = 40.0
+ }
+ }
}