refactor(electricity): update js theme

This commit is contained in:
Sergey Andrievskiy 2019-06-21 20:11:48 +03:00
parent b347745686
commit e6aaa0f233
3 changed files with 42 additions and 42 deletions

View file

@ -84,27 +84,27 @@ export const DEFAULT_THEME = {
},
electricity: {
tooltipBg: '#ffffff',
tooltipLineColor: 'rgba(0, 0, 0, 0)',
tooltipBg: theme.bg,
tooltipLineColor: theme.fgText,
tooltipLineWidth: '0',
tooltipBorderColor: '#ebeef2',
tooltipBorderColor: theme.border2,
tooltipExtraCss: 'border-radius: 10px; padding: 8px 24px;',
tooltipTextColor: '#2a2a2a',
tooltipFontWeight: 'bolder',
tooltipTextColor: theme.fgText,
tooltipFontWeight: 'normal',
axisLineColor: 'rgba(0, 0, 0, 0)',
xAxisTextColor: '#2a2a2a',
yAxisSplitLine: '#ebeef2',
axisLineColor: theme.border3,
xAxisTextColor: theme.fg,
yAxisSplitLine: theme.separator,
itemBorderColor: '#42db7d',
itemBorderColor: theme.primary,
lineStyle: 'solid',
lineWidth: '4',
lineGradFrom: '#42db7d',
lineGradTo: '#42db7d',
lineGradFrom: theme.primary,
lineGradTo: theme.primary,
lineShadow: 'rgba(0, 0, 0, 0)',
areaGradFrom: 'rgba(235, 238, 242, 0.5)',
areaGradTo: 'rgba(235, 238, 242, 0.5)',
areaGradFrom: theme.bg2,
areaGradTo: theme.bg2,
shadowLineDarkBg: 'rgba(0, 0, 0, 0)',
},