mirror of
https://github.com/akveo/ngx-admin.git
synced 2026-01-04 16:48:49 +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
|
|
@ -1,11 +1,4 @@
|
|||
@mixin base-header-theme($theme-name) {
|
||||
/deep/ header {
|
||||
.logo > a {
|
||||
color: $nga-color-secondary !important;
|
||||
|
||||
@include hover-focus-active {
|
||||
color: $nga-color-inverse !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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