Created
May 3, 2016 23:00
-
-
Save davidortinau/b5820892f213b81d6cac1a0d1467923d to your computer and use it in GitHub Desktop.
Zeplin Style Guide for Xamarin
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
using System; | |
using UIKit; | |
namespace Utils | |
{ | |
public static class Zeplin | |
{ | |
public static UIColor TopazColor(this UIColor color) | |
{ | |
return UIColor.FromRGBA( | |
((nfloat)(21.0 / 255.0)), | |
((nfloat)(179.0 / 255.0)), | |
((nfloat)(167.0 / 255.0)), | |
1 | |
); | |
} | |
public static UIFont HeaderFont() | |
{ | |
return UIFont.SystemFontOfSize(12, UIFontWeight.Regular); | |
} | |
public static UIFont TextStyleFont() | |
{ | |
return UIFont.FromName("HelveticaNeue-UltraLight", 24); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment