static RedbridgeTheme() { _whiteTheme = new RedbridgeTheme() { Name = "Default", IconColour = Color.Black, TableCellTextColour = Color.Black, TableCellDetailColour = Color.Black, NavigationBarColour = Color.White, NavigationTextColour = Color.Black, TintColour = Color.White, BusyIndicatorColour = Color.Black }; _blackTheme = new RedbridgeTheme() { Name = "Black", IconColour = Color.White, TableCellTextColour = Color.White, TableCellDetailColour = Color.White, NavigationBarColour = Color.Black, NavigationTextColour = Color.White, TintColour = Color.Black, BusyIndicatorColour = Color.Black }; _orangeTheme = new RedbridgeTheme() { Name = "Orange", IconColour = Color.White, TableCellTextColour = Color.Orange, TableCellDetailColour = Color.Black, NavigationBarColour = Color.Orange, NavigationTextColour = Color.White, TintColour = Color.Orange, BusyIndicatorColour = Color.Orange }; _blueTheme = new RedbridgeTheme() { Name = "Blue", IconColour = Color.White, TableCellTextColour = Color.Black, TableCellDetailColour = Color.Black, NavigationBarColour = Color.FromRgb(46, 112, 185), NavigationTextColour = Color.White, TintColour = Color.FromRgb(46, 112, 185), BusyIndicatorColour = Color.FromRgb(46, 112, 185) }; }
public static void SetTheme(RedbridgeTheme theme) { _theme.OnNext(theme); }
private void OnThemeChanged(RedbridgeTheme rt) { }