mirror of
https://github.com/akveo/ngx-admin.git
synced 2026-03-04 21:00:16 +01:00
feat(ui-features): add the tabs component
This commit is contained in:
parent
ada9ac9c1d
commit
78e376bb5a
16 changed files with 90 additions and 28 deletions
|
|
@ -11,8 +11,9 @@ import { NgaThemeService } from '@nga/theme/services/theme.service';
|
|||
<i class="control-icon ion ion-navicon" (click)="toggleSidebar()"></i>
|
||||
<span class="logo" (click)="goToHome()">NgX <a>Admin</a></span>
|
||||
<button (click)="switchTheme()">Switch Theme!</button>
|
||||
<button (click)="selectDefaultTheme()">Default Theme!</button>
|
||||
</div>
|
||||
|
||||
|
||||
<nga-actions size="medium" inverse class="right">
|
||||
<nga-action><ngx-search-input></ngx-search-input></nga-action>
|
||||
<nga-action icon="ion-ios-email-outline"></nga-action>
|
||||
|
|
@ -55,4 +56,8 @@ export class HeaderComponent {
|
|||
this.themeService.changeTheme('light');
|
||||
}
|
||||
}
|
||||
|
||||
selectDefaultTheme() {
|
||||
this.themeService.changeTheme('default');
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@
|
|||
* Copyright Akveo. All Rights Reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*/
|
||||
|
||||
@import '../components';
|
||||
@import 'variables';
|
||||
|
||||
|
|
|
|||
30
src/app/@theme/styles/default/default.theme.scss
Normal file
30
src/app/@theme/styles/default/default.theme.scss
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
/**
|
||||
* @license
|
||||
* Copyright Akveo. All Rights Reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*/
|
||||
|
||||
@import '../components';
|
||||
@import 'overrides/all';
|
||||
|
||||
@import '~@nga/theme/styles/themes/nga.theme.default';
|
||||
|
||||
$theme-name: 'default';
|
||||
|
||||
// @nga/theme module styles
|
||||
@include nga-theme($theme-name) {
|
||||
@include nga-theme-overrides($theme-name);
|
||||
@include custom-components-theme($theme-name);
|
||||
}
|
||||
|
||||
// @nga/bootstrap module styles
|
||||
@import '~@nga/theme/overrides/bootstrap/styles/themes/nga.theme.default';
|
||||
@include nga-bootstrap($theme-name);
|
||||
|
||||
// @nga/maps module styles
|
||||
@import '~@nga/theme/overrides/maps/styles/themes/nga.theme.default';
|
||||
@include nga-maps($theme-name);
|
||||
|
||||
// @nga/typography module styles
|
||||
@import '~@nga/theme/overrides/typography/styles/themes/nga.theme.default';
|
||||
@include nga-typography($theme-name);
|
||||
2
src/app/@theme/styles/default/overrides/all.scss
Normal file
2
src/app/@theme/styles/default/overrides/all.scss
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
@mixin nga-theme-overrides($theme-name) {
|
||||
}
|
||||
|
|
@ -3,6 +3,7 @@
|
|||
* Copyright Akveo. All Rights Reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*/
|
||||
|
||||
@import '../components';
|
||||
@import 'overrides/all';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue