diff options
| author | Ruben Beltran del Rio <git@r.bdr.sh> | 2025-07-04 17:06:28 +0200 |
|---|---|---|
| committer | Ruben Beltran del Rio <git@r.bdr.sh> | 2025-07-04 17:06:28 +0200 |
| commit | c843d34f56c207abcf4b93e424125eea2dc601e0 (patch) | |
| tree | 415dc2d9be4be31e290e1dd1dedb0b630c5e8fc6 /Map/Presentation/Theme/Dimensions.swift | |
| parent | ed10ac191df473c92c4fec495aafa7f569d108c8 (diff) | |
Upgrade to Swift 6
Diffstat (limited to 'Map/Presentation/Theme/Dimensions.swift')
| -rw-r--r-- | Map/Presentation/Theme/Dimensions.swift | 46 |
1 files changed, 44 insertions, 2 deletions
diff --git a/Map/Presentation/Theme/Dimensions.swift b/Map/Presentation/Theme/Dimensions.swift index 99a6207..2e1fd69 100644 --- a/Map/Presentation/Theme/Dimensions.swift +++ b/Map/Presentation/Theme/Dimensions.swift @@ -15,6 +15,48 @@ import Foundation struct Dimensions { - static let mapSize = CGSize(width: 1300.0, height: 1000.0) - static let mapPadding: CGFloat = 42.0 + + // MARK: - Fonts + + struct FontSize { + static let body: CGFloat = 16 + static let title: CGFloat = 32 + static let caption: CGFloat = 14 + static let smallControl: CGFloat = 9 + + struct Map { + static let note: CGFloat = 12 + static let axisLabel: CGFloat = 14 + static let vertexLabel: CGFloat = 12 + } + } + + struct LineHeight { + static let body: CGFloat = 18 + static let title: CGFloat = 38 + static let caption: CGFloat = 18 + static let smallControl: CGFloat = 18 + + struct Map { + static let note: CGFloat = 18 + static let axisLabel: CGFloat = 18 + static let vertexLabel: CGFloat = 18 + } + } + + // MARK: - Spacing + + struct Spacing { + static let coziest: CGFloat = 3.0 + static let cozy: CGFloat = 5.0 + static let regular: CGFloat = 8.0 + static let loose: CGFloat = 12.0 + static let indulgent: CGFloat = 16.0 + } + + // MARK: - The Map + struct Map { + static let size = CGSize(width: 1300.0, height: 1000.0) + static let padding: CGFloat = 42.0 + } } |