feat: add dark js theme

This commit is contained in:
Sergey Andrievskiy 2019-06-21 22:59:24 +03:00
parent 83d54e3d1f
commit 82f0022ace
3 changed files with 355 additions and 2 deletions

View file

@ -53,6 +53,7 @@ export class DashboardComponent implements OnDestroy {
default: CardSettings[];
cosmic: CardSettings[];
corporate: CardSettings[];
dark: CardSettings[];
} = {
default: this.commonStatusCardsSet,
cosmic: this.commonStatusCardsSet,
@ -71,9 +72,10 @@ export class DashboardComponent implements OnDestroy {
},
{
...this.coffeeMakerCard,
type: 'secondary',
type: 'info',
},
],
dark: this.commonStatusCardsSet,
};
constructor(private themeService: NbThemeService,