// Generated by ResgenSwift.Fonts 2.2.0

import SwiftUI

extension FontYolo {

    public enum FontName: String {
        case LatoItalic = "Lato-Italic"
        case LatoLightItalic = "Lato-LightItalic"
        case LatoHairline = "Lato-Hairline"
        case LatoBold = "Lato-Bold"
        case LatoBlack = "Lato-Black"
        case LatoRegular = "Lato-Regular"
        case LatoBlackItalic = "Lato-BlackItalic"
        case LatoBoldItalic = "Lato-BoldItalic"
        case LatoLight = "Lato-Light"
        case LatoHairlineItalic = "Lato-HairlineItalic"
    }

    // MARK: - Getter

    public func LatoItalic(withSize size: CGFloat) -> Font {
        Font.custom(FontName.LatoItalic.rawValue, size: size)
    }

    public func LatoLightItalic(withSize size: CGFloat) -> Font {
        Font.custom(FontName.LatoLightItalic.rawValue, size: size)
    }

    public func LatoHairline(withSize size: CGFloat) -> Font {
        Font.custom(FontName.LatoHairline.rawValue, size: size)
    }

    public func LatoBold(withSize size: CGFloat) -> Font {
        Font.custom(FontName.LatoBold.rawValue, size: size)
    }

    public func LatoBlack(withSize size: CGFloat) -> Font {
        Font.custom(FontName.LatoBlack.rawValue, size: size)
    }

    public func LatoRegular(withSize size: CGFloat) -> Font {
        Font.custom(FontName.LatoRegular.rawValue, size: size)
    }

    public func LatoBlackItalic(withSize size: CGFloat) -> Font {
        Font.custom(FontName.LatoBlackItalic.rawValue, size: size)
    }

    public func LatoBoldItalic(withSize size: CGFloat) -> Font {
        Font.custom(FontName.LatoBoldItalic.rawValue, size: size)
    }

    public func LatoLight(withSize size: CGFloat) -> Font {
        Font.custom(FontName.LatoLight.rawValue, size: size)
    }

    public func LatoHairlineItalic(withSize size: CGFloat) -> Font {
        Font.custom(FontName.LatoHairlineItalic.rawValue, size: size)
    }
}
