Skip to content

Esmail-Almarrani/Esmail.Abp.AspNetCore.Mvc.UI.Theme.Material

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Enisn.Abp.AspNetCore.Mvc.UI.Theme.Material

Material Design theme for ABP Framework.

Showcase

You can visit the Live Demo.

preview-landing

identity-roles

preview-cmskit-blogposts

public

Installation

dotnet add package Enisn.Abp.AspNetCore.Mvc.UI.Theme.Material
  • Replace Basic Theme with Material Theme.
[DependsOn(
        typeof(SandboxHttpApiModule),
        typeof(SandboxApplicationModule),
        typeof(SandboxMongoDbModule),
        typeof(AbpAutofacModule),
        typeof(AbpIdentityWebModule),
        typeof(AbpSettingManagementWebModule),
        typeof(AbpAccountWebIdentityServerModule),
-       typeof(AbpAspNetCoreMvcUiBasicThemeModule),
+       typeof(AbpAspNetCoreMvcUiMaterialThemeModule),
        typeof(AbpAspNetCoreAuthenticationJwtBearerModule),
        typeof(AbpTenantManagementWebModule),
        typeof(AbpAspNetCoreSerilogModule),
        typeof(AbpSwashbuckleModule)
        )]
    public class SandboxWebModule : AbpModule
    {
        // ...

Configuration

Using Public Layout

  • You can force to use Public layout for entire application via adding Pages/_ViewStart.cshtml

  • If you want to use Public layout only CmsKit pages, you must place it to Pages/Public/_ViewStart.cshtml

@using Volo.Abp.AspNetCore.Mvc.UI.Theming
@inject IThemeManager ThemeManager
@{
    Layout = ThemeManager.CurrentTheme.GetPublicLayout();
}

Credits

About

A simple material theme for ABP Framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 88.4%
  • HTML 10.8%
  • Other 0.8%