mirror of
https://github.com/akveo/ngx-admin.git
synced 2026-02-11 19:04:20 +01:00
fix(demo): refactor js theme using
This commit is contained in:
parent
672615b710
commit
b772882cd6
28 changed files with 561 additions and 492 deletions
|
|
@ -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;
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue