Last active
January 3, 2017 22:53
-
-
Save sauvikatinnofied/67fae8715bbd7a3bb72571283b1e9d23 to your computer and use it in GitHub Desktop.
MediumBlogPost_FontHandling_Gist_1
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
enum FontName: String { | |
case RobotoBlack = "Roboto-Black" | |
case RobotoBlackItalic = "Roboto-BlackItalic" | |
case RobotoBold = "Roboto-Bold" | |
case RobotoBoldItalic = "Roboto-BoldItalic" | |
case RobotoItalic = "Roboto-Italic" | |
case RobotoLight = "Roboto_Light" | |
case RobotoLightItalic = "Roboto-LightItalic" | |
case RobotoMedium = "Roboto-Medium" | |
case RobotoMediumItalic = "Roboto-MediumItalic" | |
case RobotoRegular = "Roboto-Regular" | |
case RobotoThin = "Roboto-Thin" | |
case RobotoThinItalic = "Roboto-ThinItalic" | |
} | |
enum StandardSize: Double { | |
case h1 = 20.0 | |
case h2 = 18.0 | |
case h3 = 16.0 | |
case h4 = 14.0 | |
case h5 = 12.0 | |
case h6 = 10.0 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment