// // Fonts.swift // TournamentStats // // Created by Laurent Morvillier on 15/08/2019. // Copyright © 2019 Stax River. All rights reserved. // import Foundation import UIKit class Fonts { fileprivate enum FontName : String { case regular = "Menlo-Regular" case bold = "Menlo-Bold" } static let monospaced: UIFont = UIFont(name: FontName.regular.rawValue, size: 18.0)! static let bigNumbers: UIFont = UIFont(name: FontName.regular.rawValue, size: 48.0)! static let regular: UIFont = UIFont(name: FontName.regular.rawValue, size: 18.0)! static let bold: UIFont = UIFont(name: FontName.bold.rawValue, size: 18.0)! static let mainTitle: UIFont = UIFont(name: FontName.regular.rawValue, size: 72.0)! static let subTitle: UIFont = UIFont(name: FontName.regular.rawValue, size: 28.0)! static let cellTitle: UIFont = UIFont(name: FontName.regular.rawValue, size: 20.0)! static let pieChartEntries: UIFont = UIFont(name: FontName.bold.rawValue, size: 28.0)! static let chartLegend: UIFont = UIFont(name: FontName.regular.rawValue, size: 18.0)! // }