public HelpViewModel(IDeviceWrapper deviceWrapper) { FeedbackCommand = new Command(() => { deviceWrapper.OpenUri("mailto:[email protected]?subject=Cringebot%20feedback"); }); }
public ThemeService(IDeviceWrapper deviceWrapper) { _random = new Random(); _deviceWrapper = deviceWrapper; _themes = new[] { new Theme { Name = "Cringe", FontName = "ComicSansMS", FontFileName = "Comic Sans MS.ttf", ButtonCornerRadius = 12, SmallestTextSize = 14, MediumestTextSize = 16, LargestTextSize = 18 }, new Theme { Name = "Goth", FontName = "PlainBlack-Normal", FontFileName = "Plain Black.ttf", TextColor = Color.White, HighlightTextColor = Color.White, ButtonTextColor = Color.Red, PageBackgroundImageName = "", PageBackgroundColor = Color.Black, ButtonBackgroundColor = Color.White, PlaceholderColor = Color.Red, NavBarColor = Color.DarkRed, NavBarTextColor = Color.Black, ButtonCornerRadius = 0, SmallestTextSize = 18, MediumestTextSize = 20, LargestTextSize = 22 }, new Theme { Name = "Mac & Cheese", FontName = "SBCMacaroni", FontFileName = "SBC Macaroni Regular.ttf", TextColor = Color.OrangeRed, HighlightTextColor = Color.OrangeRed, ButtonTextColor = Color.Yellow, PageBackgroundColor = Color.Yellow, PageBackgroundImageName = "", ButtonBackgroundColor = Color.Orange, NavBarColor = Color.Orange, NavBarTextColor = Color.Yellow, PlaceholderColor = Color.Orange, ButtonCornerRadius = 25, SmallestTextSize = 16, MediumestTextSize = 18, LargestTextSize = 20 }, new Theme { Name = "Emo", FontName = "rise up", FontFileName = "riseup.ttf", TextColor = Color.DarkRed, HighlightTextColor = Color.DarkRed, ButtonTextColor = Color.DarkRed, PageBackgroundImageName = "", PageBackgroundColor = Color.Black, ButtonBackgroundColor = Color.White, PlaceholderColor = Color.Red, NavBarColor = Color.DarkRed, NavBarTextColor = Color.Black, ButtonCornerRadius = 0, SmallestTextSize = 14, MediumestTextSize = 16, LargestTextSize = 18 }, new Theme { Name = "Black and White", FontName = "TimesNewRomanPSMT", FontFileName = "times.ttf", TextColor = Color.Black, HighlightTextColor = Color.Black, PageBackgroundImageName = "", PageBackgroundColor = Color.White, ButtonTextColor = Color.White, ButtonBackgroundColor = Color.DimGray, PlaceholderColor = Color.Gray, NavBarColor = Color.Black, NavBarTextColor = Color.White, ButtonCornerRadius = 0, SmallestTextSize = 14, MediumestTextSize = 16, LargestTextSize = 18 }, new Theme { Name = "America", FontName = "TimesNewRomanPSMT", FontFileName = "times.ttf", TextColor = Color.Blue, HighlightTextColor = Color.Blue, ButtonTextColor = Color.White, PageBackgroundImageName = "stripes", PageBackgroundColor = Color.Transparent, ButtonBackgroundColor = Color.Blue, PlaceholderColor = Color.CornflowerBlue, NavBarColor = Color.Blue, NavBarTextColor = Color.White, ButtonCornerRadius = 0, SmallestTextSize = 16, MediumestTextSize = 18, LargestTextSize = 20 }, new Theme { Name = "Burger", FontName = "Condiment-Regular", FontFileName = "Condiment.ttf", TextColor = Color.Yellow, HighlightTextColor = Color.Yellow, ButtonTextColor = Color.GreenYellow, PageBackgroundImageName = "", //TODO: make this a picture of beef PageBackgroundColor = Color.SaddleBrown, ButtonBackgroundColor = Color.Green, PlaceholderColor = Color.Green, NavBarColor = Color.Red, NavBarTextColor = Color.Yellow, ButtonCornerRadius = 25, SmallestTextSize = 18, MediumestTextSize = 20, LargestTextSize = 22 } }; }