Skip to content

Instantly share code, notes, and snippets.

@davidortinau
Created May 3, 2016 23:00
Show Gist options
  • Save davidortinau/b5820892f213b81d6cac1a0d1467923d to your computer and use it in GitHub Desktop.
Save davidortinau/b5820892f213b81d6cac1a0d1467923d to your computer and use it in GitHub Desktop.
Zeplin Style Guide for Xamarin
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