WIP signing

This commit is contained in:
Paul Schneider 2016-11-14 12:30:32 +01:00
commit 35d2038b68
3 changed files with 117 additions and 0 deletions

View file

@ -0,0 +1,35 @@
using System.Collections.Generic;
using System.Linq;
using Xamarin.Forms;
namespace BookAStar.Model.Settings
{
class SignatureSettings
{
public static readonly Dictionary<string, Color> ColorPairs = new Dictionary<string, Color>
{
{ "<Accent Color>", Color.Accent },
{ "Aqua", Color.Aqua },
{ "Black", Color.Black },
{ "Blue", Color.Blue },
{ "Fuchsia", Color.Fuchsia },
{ "Gray", Color.Gray },
{ "Green", Color.Green },
{ "Lime", Color.Lime },
{ "Maroon", Color.Maroon },
{ "Navy", Color.Navy },
{ "Olive", Color.Olive },
{ "Pink", Color.Pink },
{ "Purple", Color.Purple },
{ "Red", Color.Red },
{ "Silver", Color.Silver },
{ "Teal", Color.Teal },
{ "White", Color.White },
{ "Yellow", Color.Yellow },
};
public static List<Color> Colors => ColorPairs.Values.ToList();
public static List<string> ColorNames => ColorPairs.Keys.ToList();
}
}