示例#1
0
 public static void SetBlackAndWhiteCellMode()
 {
     ResourcesHelper.SetDynamicResource("CellBackgroundColor", "PrimaryColor");
     ResourcesHelper.SetDynamicResource("CellTextColor", "TextWhitePrimaryColor");
     ResourcesHelper.SetDynamicResource("CellSecondaryTextColor", "TextSecondaryColor");
 }
示例#2
0
 public static void SetSublimeGameMode()
 {
     ResourcesHelper.SetDynamicResource("CellBackgroundColor", "TopElementBackground");
     ResourcesHelper.SetDynamicResource("CellTextColor", "TextWhitePrimaryColor");
     ResourcesHelper.SetDynamicResource("CellSecondaryTextColor", "TextSecondaryColor");
 }
示例#3
0
 public static void SetTosCellMode()
 {
     ResourcesHelper.SetDynamicResource("CellBackgroundColor", "TosWindows");
     ResourcesHelper.SetDynamicResource("CellTextColor", "TextPrimaryColor");
     ResourcesHelper.SetDynamicResource("CellSecondaryTextColor", "TextTernaryColor");
 }
示例#4
0
 public static void SetDarkGameMode()
 {
     ResourcesHelper.SetDynamicResource("CellBackgroundColor", "DarkElevation4dp");
     ResourcesHelper.SetDynamicResource("CellTextColor", "TextWhitePrimaryColor");
     ResourcesHelper.SetDynamicResource("CellSecondaryTextColor", "TextSecondaryColor");
 }