You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
1.1 KiB
32 lines
1.1 KiB
//
|
|
// 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)! //
|
|
|
|
}
|
|
|