Skip to content

Instantly share code, notes, and snippets.

@sauvikatinnofied
Last active January 3, 2017 22:53
Show Gist options
  • Save sauvikatinnofied/67fae8715bbd7a3bb72571283b1e9d23 to your computer and use it in GitHub Desktop.
Save sauvikatinnofied/67fae8715bbd7a3bb72571283b1e9d23 to your computer and use it in GitHub Desktop.
MediumBlogPost_FontHandling_Gist_1
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