mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-17 16:00:14 +01:00
refactor(styles): huge styles refactoring
This commit is contained in:
parent
f04763cecd
commit
e5f3f211f9
17 changed files with 34 additions and 196 deletions
|
|
@ -18,7 +18,7 @@ import { NgaThemeService } from '@nga/theme/services/theme.service';
|
|||
<nga-action icon="ion-ios-email-outline"></nga-action>
|
||||
<nga-action disabled icon="ion-ios-bell-outline"></nga-action>
|
||||
<nga-action>
|
||||
<nga-user [menu]="userMenu" name="Han Solo"></nga-user>
|
||||
<nga-user inverse [menu]="userMenu" name="Han Solo"></nga-user>
|
||||
</nga-action>
|
||||
<nga-action icon="ion-ios-gear-outline"></nga-action>
|
||||
</nga-actions>
|
||||
|
|
@ -49,10 +49,10 @@ export class HeaderComponent {
|
|||
}
|
||||
|
||||
switchTheme() {
|
||||
if (this.themeService.currentTheme == 'pure') {
|
||||
this.themeService.changeTheme('gorgeous');
|
||||
if (this.themeService.currentTheme == 'light') {
|
||||
this.themeService.changeTheme('cosmic');
|
||||
} else {
|
||||
this.themeService.changeTheme('pure');
|
||||
this.themeService.changeTheme('light');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue