mirror of https://github.com/abpframework/abp.git
csharpabpc-sharpframeworkblazoraspnet-coredotnet-coreaspnetcorearchitecturesaasdomain-driven-designangularmulti-tenancy
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
682 B
24 lines
682 B
using Volo.Abp.AspNetCore.Components.Web.Theming;
|
|
using Volo.Abp.AspNetCore.Components.Web.Theming.Theming;
|
|
using Volo.Abp.Modularity;
|
|
|
|
namespace Volo.Abp.AspNetCore.Components.Web.BasicTheme;
|
|
|
|
[DependsOn(
|
|
typeof(AbpAspNetCoreComponentsWebThemingModule)
|
|
)]
|
|
public class AbpAspNetCoreComponentsWebBasicThemeModule : AbpModule
|
|
{
|
|
public override void ConfigureServices(ServiceConfigurationContext context)
|
|
{
|
|
Configure<AbpThemingOptions>(options =>
|
|
{
|
|
options.Themes.Add<BasicTheme>();
|
|
|
|
if (options.DefaultThemeName == null)
|
|
{
|
|
options.DefaultThemeName = BasicTheme.Name;
|
|
}
|
|
});
|
|
}
|
|
}
|