/// Return the specified font
///
/// - Parameters:
/// - name: name of the font. Be sure to add a enum Fonts: String at the top of the file
/// - size: desired font size
/// - Returns: return the desired font in specified size
static func getFont(_ name: Fonts, size: CGFloat) -> UIFont {
guard let font = UIFont(name: name.rawValue, size: size) else {
fatalError("Failed to load the font")
}
return UIFontMetrics.default.scaledFont(for: font)
}