vds_ios/VDS/Fonts/Font.swift
Matt Bruce 3f2fb8897f refactored Font and fixed Styles to match Figma
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-04 15:03:36 -05:00

38 lines
802 B
Swift

//
// Fonts.swift
// VDS
//
// Created by Matt Bruce on 7/27/22.
//
import Foundation
/// Enum that is matched up for the Verizon fonts.
public enum Font: String, FontProtocol {
case edsBold
case edsRegular
case dsLight
case etxBold
case etxRegular
public var fontName: String {
switch self {
case .edsBold:
return "VerizonNHGeDS-Bold"
case .edsRegular:
return "VerizonNHGeDS-Regular"
case .dsLight:
return "VerizonNHGDS-Light"
case .etxBold:
return "VerizonNHGeTX-Bold"
case .etxRegular:
return "VerizonNHGeTX-Regular"
}
}
/// File Extension for each of the Font enums.
public var fontFileExtension: String {
return "otf"
}
}