示例#1
0
 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)
     };
 }
示例#2
0
 public static void SetTheme(RedbridgeTheme theme)
 {
     _theme.OnNext(theme);
 }
示例#3
0
 private void OnThemeChanged(RedbridgeTheme rt)
 {
 }