Browse Source

Merge pull request #16789 from abpframework/masum/switch-theme-lepton

AngularUI: Change dev-app theme to theme-lepton-x-lite
pull/16790/head
Mahmut Gundogdu 3 years ago
committed by GitHub
parent
commit
31f9bfb5a7
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      npm/ng-packs/apps/dev-app/project.json
  2. 24
      npm/ng-packs/apps/dev-app/src/app/app.module.ts
  3. 2
      npm/ng-packs/package.json

6
npm/ng-packs/apps/dev-app/project.json

@ -24,9 +24,9 @@
"bundleName": "bootstrap-rtl.min" "bundleName": "bootstrap-rtl.min"
}, },
{ {
"input": "node_modules/bootstrap/dist/css/bootstrap.min.css", "input": "node_modules/bootstrap/dist/css/bootstrap.min.css",
"inject": true, "inject": true,
"bundleName": "bootstrap-ltr.min" "bundleName": "bootstrap-ltr.min"
}, },
{ {
"input": "node_modules/@volo/ngx-lepton-x.lite/assets/css/bootstrap-dim.css", "input": "node_modules/@volo/ngx-lepton-x.lite/assets/css/bootstrap-dim.css",

24
npm/ng-packs/apps/dev-app/src/app/app.module.ts

@ -1,22 +1,22 @@
import { ThemeBasicModule } from '@abp/ng.theme.basic'; import { NgModule } from '@angular/core';
import { AccountConfigModule } from '@abp/ng.account/config'; import { BrowserModule } from '@angular/platform-browser';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { CoreModule } from '@abp/ng.core'; import { CoreModule } from '@abp/ng.core';
import { registerLocale } from '@abp/ng.core/locale'; import { registerLocale } from '@abp/ng.core/locale';
import { ThemeSharedModule } from '@abp/ng.theme.shared';
import { ThemeLeptonXModule } from '@abp/ng.theme.lepton-x';
import { SideMenuLayoutModule } from '@abp/ng.theme.lepton-x/layouts';
import { IdentityConfigModule } from '@abp/ng.identity/config'; import { IdentityConfigModule } from '@abp/ng.identity/config';
import { AbpOAuthModule } from '@abp/ng.oauth';
import { SettingManagementConfigModule } from '@abp/ng.setting-management/config'; import { SettingManagementConfigModule } from '@abp/ng.setting-management/config';
import { TenantManagementConfigModule } from '@abp/ng.tenant-management/config'; import { TenantManagementConfigModule } from '@abp/ng.tenant-management/config';
import { ThemeLeptonXModule } from '@abp/ng.theme.lepton-x'; import { FeatureManagementModule } from '@abp/ng.feature-management';
import { SideMenuLayoutModule } from '@abp/ng.theme.lepton-x/layouts'; import { AccountConfigModule } from '@abp/ng.account/config';
import { ThemeSharedModule } from '@abp/ng.theme.shared'; import { AccountLayoutModule } from '@abp/ng.theme.lepton-x/account/account-layout';
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { environment } from '../environments/environment'; import { environment } from '../environments/environment';
import { AppRoutingModule } from './app-routing.module'; import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component'; import { AppComponent } from './app.component';
import { APP_ROUTE_PROVIDER } from './route.provider'; import { APP_ROUTE_PROVIDER } from './route.provider';
import { FeatureManagementModule } from '@abp/ng.feature-management';
import { AbpOAuthModule } from '@abp/ng.oauth';
@NgModule({ @NgModule({
imports: [ imports: [
@ -36,7 +36,9 @@ import { AbpOAuthModule } from '@abp/ng.oauth';
TenantManagementConfigModule.forRoot(), TenantManagementConfigModule.forRoot(),
FeatureManagementModule.forRoot(), FeatureManagementModule.forRoot(),
SettingManagementConfigModule.forRoot(), SettingManagementConfigModule.forRoot(),
ThemeBasicModule.forRoot(), ThemeLeptonXModule.forRoot(),
SideMenuLayoutModule.forRoot(),
AccountLayoutModule.forRoot(),
], ],
providers: [APP_ROUTE_PROVIDER], providers: [APP_ROUTE_PROVIDER],
declarations: [AppComponent], declarations: [AppComponent],

2
npm/ng-packs/package.json

@ -55,7 +55,7 @@
"@abp/ng.setting-management": "~7.3.0-rc.1", "@abp/ng.setting-management": "~7.3.0-rc.1",
"@abp/ng.tenant-management": "~7.3.0-rc.1", "@abp/ng.tenant-management": "~7.3.0-rc.1",
"@abp/ng.theme.basic": "~7.3.0-rc.1", "@abp/ng.theme.basic": "~7.3.0-rc.1",
"@abp/ng.theme.lepton-x": "^2.2.0", "@abp/ng.theme.lepton-x": "^2.3.0-rc.1",
"@abp/ng.theme.shared": "~7.3.0-rc.1", "@abp/ng.theme.shared": "~7.3.0-rc.1",
"@abp/utils": "~7.3.0-rc.1", "@abp/utils": "~7.3.0-rc.1",
"@angular-devkit/build-angular": "16.0.1", "@angular-devkit/build-angular": "16.0.1",

Loading…
Cancel
Save