diff --git a/Sources/SwiftUIMath/Font.swift b/Sources/SwiftUIMath/Font.swift index 5144d46..6ccdb01 100644 --- a/Sources/SwiftUIMath/Font.swift +++ b/Sources/SwiftUIMath/Font.swift @@ -16,6 +16,11 @@ extension Math { public let name: Name public let size: CGFloat + + public init(name: Name, size: CGFloat) { + self.name = name + self.size = size + } } }