refactor(echarts): update js theme

This commit is contained in:
Sergey Andrievskiy 2019-06-21 21:36:40 +03:00
parent 3284411ec4
commit 9fbe9b6bc2
3 changed files with 15 additions and 15 deletions

View file

@ -172,12 +172,12 @@ export const CORPORATE_THEME = {
}, },
echarts: { echarts: {
bg: '#ffffff', bg: theme.bg,
textColor: '#484848', textColor: theme.fgText,
axisLineColor: '#bbbbbb', axisLineColor: theme.fgText,
splitLineColor: '#ebeef2', splitLineColor: theme.separator,
itemHoverShadowColor: 'rgba(0, 0, 0, 0.5)', itemHoverShadowColor: 'rgba(0, 0, 0, 0.5)',
tooltipBackgroundColor: '#6a7985', tooltipBackgroundColor: theme.primary,
areaOpacity: '0.7', areaOpacity: '0.7',
}, },

View file

@ -172,12 +172,12 @@ export const COSMIC_THEME = {
}, },
echarts: { echarts: {
bg: '#3d3780', bg: theme.bg,
textColor: '#ffffff', textColor: theme.fgText,
axisLineColor: '#a1a1e5', axisLineColor: theme.fgText,
splitLineColor: '#342e73', splitLineColor: theme.separator,
itemHoverShadowColor: 'rgba(0, 0, 0, 0.5)', itemHoverShadowColor: 'rgba(0, 0, 0, 0.5)',
tooltipBackgroundColor: '#6a7985', tooltipBackgroundColor: theme.primary,
areaOpacity: '1', areaOpacity: '1',
}, },

View file

@ -172,12 +172,12 @@ export const DEFAULT_THEME = {
}, },
echarts: { echarts: {
bg: '#ffffff', bg: theme.bg,
textColor: '#484848', textColor: theme.fgText,
axisLineColor: '#bbbbbb', axisLineColor: theme.fgText,
splitLineColor: '#ebeef2', splitLineColor: theme.separator,
itemHoverShadowColor: 'rgba(0, 0, 0, 0.5)', itemHoverShadowColor: 'rgba(0, 0, 0, 0.5)',
tooltipBackgroundColor: '#6a7985', tooltipBackgroundColor: theme.primary,
areaOpacity: '0.7', areaOpacity: '0.7',
}, },