Created
February 5, 2020 14:11
-
-
Save drrost/c54ab48db25b3402079798092b444f55 to your computer and use it in GitHub Desktop.
HTML notation for Font Swift class
This file contains 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
extension Font { | |
public static let h1: Font = .largeTitle | |
public static let h2: Font = .title | |
public static let h3: Font = .headline | |
public static let h4: Font = .subheadline | |
public static let h5: Font = .body | |
public static let h6: Font = .callout | |
public static let h7: Font = .footnote | |
public static let h8: Font = .caption | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment