mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-20 09:20:12 +01:00
feat(dashboard): change team to kitten component
This commit is contained in:
parent
6b1ee20516
commit
f7a61ee809
7 changed files with 100 additions and 1 deletions
18
src/app/pages/dashboard/kitten/kitten.component.ts
Normal file
18
src/app/pages/dashboard/kitten/kitten.component.ts
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
import { Component } from '@angular/core';
|
||||
import { NbThemeService } from '@nebular/theme';
|
||||
|
||||
@Component({
|
||||
selector: 'ngx-kitten',
|
||||
styleUrls: ['./kitten.component.scss'],
|
||||
templateUrl: './kitten.component.html',
|
||||
})
|
||||
export class KittenComponent {
|
||||
|
||||
currentTheme: string;
|
||||
|
||||
constructor(private themeService: NbThemeService) {
|
||||
this.themeService.getJsTheme().subscribe(theme => {
|
||||
this.currentTheme = theme.name;
|
||||
});
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue