diff options
| author | Ruben Beltran del Rio <jj@r.bdr.sh> | 2025-12-14 20:21:24 +0100 |
|---|---|---|
| committer | Ruben Beltran del Rio <jj@r.bdr.sh> | 2025-12-15 00:10:39 +0100 |
| commit | 0d5e6636405dbe332c33c0fb82c7ccccb20f96cb (patch) | |
| tree | a9cda2b711bbfc9277d66310440dd965b16682fc /Map/Presentation/Theme/Dimensions.swift | |
| parent | a5ae7aedc840a38505b3181f4e5ba92e90d94fa1 (diff) | |
Use wmap-parser-swift and tree-sitter-wmap for parsing and highlighting.
Diffstat (limited to 'Map/Presentation/Theme/Dimensions.swift')
| -rw-r--r-- | Map/Presentation/Theme/Dimensions.swift | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/Map/Presentation/Theme/Dimensions.swift b/Map/Presentation/Theme/Dimensions.swift index 57bd8b8..b7c1faf 100644 --- a/Map/Presentation/Theme/Dimensions.swift +++ b/Map/Presentation/Theme/Dimensions.swift @@ -20,7 +20,6 @@ struct Dimensions { struct FontSize { static let body: CGFloat = 13 - static let title: CGFloat = 32 static let caption: CGFloat = 11 static let smallControl: CGFloat = 11 @@ -38,19 +37,10 @@ struct Dimensions { struct LineHeight { static let body: CGFloat = 18 - static let title: CGFloat = 38 static let caption: CGFloat = 18 - static let smallControl: CGFloat = 18 - - static var editor: CGFloat { - let fontSize = UserDefaults.standard.double(forKey: "editorFontSize") - let actualSize = fontSize > 0 ? fontSize : 14 - return actualSize >= 16 ? 38 : 18 - } struct Map { static let note: CGFloat = 18 - static let axisLabel: CGFloat = 18 static let vertexLabel: CGFloat = 18 } } @@ -109,6 +99,7 @@ struct Dimensions { struct Toolbar { static let radius: CGFloat = 8.0 + static let glassRadius: CGFloat = 24.0 static let size: CGFloat = 16.0 static let width: CGFloat = 60.0 static let height: CGFloat = 40.0 |