// // Font.swift // MacBackend // // Created by david-swift on 01.12.2024. // import SwiftUI /// The font. public enum Font { /// The body font. case body /// The callout font. case callout /// The caption font. case caption /// The caption font 2. case caption2 /// The footnote font. case footnote /// The headline font. case headline /// The large title font. case largeTitle /// The subheadline font. case subheadline /// The title font. case title /// The title font 2. case title2 /// The title font 3. case title3 /// The SwiftUI font. var swiftUI: SwiftUI.Font { switch self { case .body: .body case .callout: .callout case .caption: .caption case .caption2: .caption2 case .footnote: .footnote case .headline: .headline case .largeTitle: .largeTitle case .subheadline: .subheadline case .title: .title case .title2: .title2 case .title3: .title3 } } }