Last active
April 15, 2020 11:04
-
-
Save krummler/6f60f8f2a41c021a490f86fe9e6be570 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct FontStyles { | |
private static let customFont = UIFont(name: "Cochin", size: 15)! | |
static let headline = customFont.with(style: .headline, basePointSize: 34) | |
static let body = customFont.with(style: .body, basePointSize: UIFont.labelFontSize) | |
static let bigTime = customFont.withSize(66) | |
static let buttonPrimary = customFont.with(style: .body, basePointSize: UIFont.buttonFontSize) | |
static let buttonSecondary = customFont.with(style: .caption1, basePointSize: UIFont.smallSystemFontSize) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment