feat(dashboard): change team to kitten component

This commit is contained in:
KostyaDanovsky 2017-08-29 15:49:52 +03:00
parent 6b1ee20516
commit f7a61ee809
7 changed files with 100 additions and 1 deletions

View 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;
});
}
}