mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-22 18:30:14 +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
|
|
@ -32,12 +32,7 @@ export class D3AdvancedPieComponent {
|
|||
constructor(private theme: NgaThemeService) {
|
||||
this.theme.getJsTheme().subscribe(config => {
|
||||
this.colorScheme = {
|
||||
domain: [
|
||||
config.d3AdvancedPieColor1,
|
||||
config.d3AdvancedPieColor2,
|
||||
config.d3AdvancedPieColor3,
|
||||
config.d3AdvancedPieColor4,
|
||||
],
|
||||
domain: (<any>config.variables.d3).advancedPie,
|
||||
};
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue