fix(demo): refactor js theme using

This commit is contained in:
KostyaDanovsky 2017-08-01 15:42:06 +03:00
parent 672615b710
commit b772882cd6
28 changed files with 561 additions and 492 deletions

View file

@ -16,11 +16,11 @@ export class TemperatureComponent {
humidityOff: boolean = false;
humidityMode = 'heat';
themeConfig: any = {};
colors: any;
constructor(private theme: NgaThemeService) {
this.theme.getJsTheme().subscribe(config => {
this.themeConfig = config;
this.colors = config.variables;
});
}
}