diff options
| author | Ruben Beltran del Rio <git@r.bdr.sh> | 2025-07-04 22:45:30 +0200 |
|---|---|---|
| committer | Ruben Beltran del Rio <git@r.bdr.sh> | 2025-07-04 22:45:30 +0200 |
| commit | e21ead77ffdff206d1ae17e5ce93ea34c4227414 (patch) | |
| tree | 816908ddf90aaf99a6476ab364f8a13c193b99c4 /Map/Presentation/Theme/Font+theme.swift | |
| parent | c843d34f56c207abcf4b93e424125eea2dc601e0 (diff) | |
Add new fonts and picker style.
Diffstat (limited to 'Map/Presentation/Theme/Font+theme.swift')
| -rw-r--r-- | Map/Presentation/Theme/Font+theme.swift | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/Map/Presentation/Theme/Font+theme.swift b/Map/Presentation/Theme/Font+theme.swift index 2fb56f7..cc80fc4 100644 --- a/Map/Presentation/Theme/Font+theme.swift +++ b/Map/Presentation/Theme/Font+theme.swift @@ -24,17 +24,8 @@ extension Font { return .custom("Ronzino", size: size) } - static func ronzinoMedium(size: CGFloat) -> Font { - return .custom("RonzinoMedium", size: size) - } - public struct Theme { - // Map - static let note = Font.system(size: 12, design: .serif) - static let axisLabel = Font.system(size: 14, design: .serif) - static let vertexLabel = Font.system(size: 12, design: .serif) - struct Body { static let regular = Font.ronzino(size: Dimensions.FontSize.body).weight(.regular) static let emphasized = Font.ronzino(size: Dimensions.FontSize.body).weight(.medium) @@ -51,6 +42,7 @@ extension Font { struct SmallControl { static let regular = Font.ronzino(size: Dimensions.FontSize.smallControl).weight(.regular) + static let emphasized = Font.ronzino(size: Dimensions.FontSize.smallControl).weight(.medium) } struct Map { |