Beispiel #1
0
 /// <summary>
 /// Sets the application theme colors
 /// </summary>
 /// <returns></returns>
 public static IApplicationBuilder UseTheme(this IApplicationBuilder builder, ApplicationColors colors)
 {
     builder.BuildActionsCoordinator.AddAction(DefaultBuildActions.ApplicationThemeAction((container) =>
     {
         ApplicationTheme.SetTheme(colors);
     }));
     return(builder);
 }