mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-17 07:50:12 +01:00
fix(dashboard): change color scheme for the electricity chart
This commit is contained in:
parent
4d516986b1
commit
84ddf24e64
3 changed files with 2 additions and 5 deletions
|
|
@ -59,7 +59,6 @@ export const COSMIC_THEME = {
|
||||||
|
|
||||||
areaGradFrom: 'rgba(188, 92, 255, 0.5)',
|
areaGradFrom: 'rgba(188, 92, 255, 0.5)',
|
||||||
areaGradTo: 'rgba(188, 92, 255, 0)',
|
areaGradTo: 'rgba(188, 92, 255, 0)',
|
||||||
areaOpacity: '1',
|
|
||||||
shadowLineDarkBg: '#a695ff',
|
shadowLineDarkBg: '#a695ff',
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -51,9 +51,8 @@ export const DEFAULT_THEME = {
|
||||||
lineGradTo: '#42db7d',
|
lineGradTo: '#42db7d',
|
||||||
lineShadow: 'rgba(0, 0, 0, 0)',
|
lineShadow: 'rgba(0, 0, 0, 0)',
|
||||||
|
|
||||||
areaGradFrom: '#ebeef2',
|
areaGradFrom: 'rgba(235, 238, 242, 0.5)',
|
||||||
areaGradTo: '#ebeef2',
|
areaGradTo: 'rgba(235, 238, 242, 0.5)',
|
||||||
areaOpacity: '0.5',
|
|
||||||
shadowLineDarkBg: 'rgba(0, 0, 0, 0)',
|
shadowLineDarkBg: 'rgba(0, 0, 0, 0)',
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -153,7 +153,6 @@ export class ElectricityChartComponent implements AfterViewInit {
|
||||||
offset: 1,
|
offset: 1,
|
||||||
color: eTheme.areaGradTo,
|
color: eTheme.areaGradTo,
|
||||||
}]),
|
}]),
|
||||||
opacity: eTheme.areaOpacity,
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
data: this.data.map(i => i.value),
|
data: this.data.map(i => i.value),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue