mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-16 23:40:14 +01:00
refactor(@theme): refactor style system
This commit is contained in:
parent
e0f79206bb
commit
0992b52b24
14 changed files with 214 additions and 113 deletions
|
|
@ -12,7 +12,8 @@ import {
|
|||
NgaUserModule
|
||||
} from '@nga/theme';
|
||||
|
||||
import { OneCollLayoutComponent } from './layouts';
|
||||
import { SearchInputComponent } from './search-input/search-input.component';
|
||||
import { OneCollLayoutComponent, BaseHeaderComponent } from './layouts';
|
||||
|
||||
const BASE_MODULES = [
|
||||
CommonModule,
|
||||
|
|
@ -29,8 +30,9 @@ const NGA_MODULES = [
|
|||
NgaUserModule
|
||||
];
|
||||
|
||||
const LAYOUT_COMPONENTS = [
|
||||
OneCollLayoutComponent
|
||||
const LAYOUTS = [
|
||||
OneCollLayoutComponent,
|
||||
BaseHeaderComponent
|
||||
];
|
||||
|
||||
@NgModule({
|
||||
|
|
@ -42,11 +44,12 @@ const LAYOUT_COMPONENTS = [
|
|||
exports: [
|
||||
...BASE_MODULES,
|
||||
...NGA_MODULES,
|
||||
...LAYOUT_COMPONENTS,
|
||||
NgaSidebarModule
|
||||
...LAYOUTS,
|
||||
SearchInputComponent
|
||||
],
|
||||
declarations: [
|
||||
...LAYOUT_COMPONENTS
|
||||
...LAYOUTS,
|
||||
SearchInputComponent
|
||||
]
|
||||
})
|
||||
export class ThemeModule {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue