refactor(traffic): update js theme

This commit is contained in:
Sergey Andrievskiy 2019-06-21 16:46:36 +03:00
parent e0a5fef369
commit c40c2d82b3
3 changed files with 33 additions and 33 deletions

View file

@ -64,22 +64,22 @@ export const CORPORATE_THEME = {
},
traffic: {
colorBlack: '#ffffff',
tooltipBg: '#eef2f5',
tooltipBorderColor: '#eef2f5',
colorBlack: theme.bg,
tooltipBg: theme.bg,
tooltipBorderColor: theme.border2,
tooltipExtraCss: 'border-radius: 10px; padding: 4px 16px;',
tooltipTextColor: '#2a2a2a',
tooltipFontWeight: '400',
tooltipTextColor: theme.fgText,
tooltipFontWeight: 'normal',
lineBg: '#cae6f3',
lineBg: theme.primary,
lineShadowBlur: '0',
itemColor: '#bcc3cc',
itemBorderColor: '#bcc3cc',
itemEmphasisBorderColor: '#74a2ff',
itemColor: theme.border4,
itemBorderColor: theme.border4,
itemEmphasisBorderColor: theme.primaryLight,
shadowLineDarkBg: 'rgba(0, 0, 0, 0)',
shadowLineShadow: 'rgba(0, 0, 0, 0)',
gradFrom: '#ffffff',
gradTo: '#ffffff',
gradFrom: theme.bg,
gradTo: theme.bg,
},
electricity: {

View file

@ -65,21 +65,21 @@ export const COSMIC_THEME = {
traffic: {
colorBlack: '#000000',
tooltipBg: 'rgba(0, 255, 170, 0.35)',
tooltipBorderColor: '#00d977',
tooltipExtraCss: 'box-shadow: 0px 2px 46px 0 rgba(0, 255, 170, 0.35); border-radius: 10px; padding: 4px 16px;',
tooltipTextColor: '#ffffff',
tooltipBg: theme.bg,
tooltipBorderColor: theme.border2,
tooltipExtraCss: 'box-shadow: 0px 2px 46px 0 rgba(50, 50, 89); border-radius: 10px; padding: 4px 16px;',
tooltipTextColor: theme.fgText,
tooltipFontWeight: 'normal',
lineBg: '#d1d1ff',
lineBg: theme.border2,
lineShadowBlur: '14',
itemColor: '#BEBBFF',
itemBorderColor: '#ffffff',
itemEmphasisBorderColor: '#ffffff',
shadowLineDarkBg: '#655ABD',
shadowLineShadow: 'rgba(33, 7, 77, 0.5)',
gradFrom: 'rgba(118, 89, 255, 0.4)',
gradTo: 'rgba(164, 84, 255, 0.5)',
itemColor: theme.border2,
itemBorderColor: theme.border2,
itemEmphasisBorderColor: theme.primary,
shadowLineDarkBg: theme.border3,
shadowLineShadow: theme.border3,
gradFrom: theme.bg,
gradTo: theme.bg2,
},
electricity: {

View file

@ -65,21 +65,21 @@ export const DEFAULT_THEME = {
traffic: {
colorBlack: '#000000',
tooltipBg: '#ffffff',
tooltipBorderColor: '#c0c8d1',
tooltipBg: theme.bg,
tooltipBorderColor: theme.border2,
tooltipExtraCss: 'border-radius: 10px; padding: 4px 16px;',
tooltipTextColor: '#2a2a2a',
tooltipFontWeight: 'bolder',
tooltipTextColor: theme.fgText,
tooltipFontWeight: 'normal',
lineBg: '#c0c8d1',
lineBg: theme.border4,
lineShadowBlur: '1',
itemColor: '#bcc3cc',
itemBorderColor: '#bcc3cc',
itemEmphasisBorderColor: '#42db7d',
itemColor: theme.border4,
itemBorderColor: theme.border4,
itemEmphasisBorderColor: theme.primary,
shadowLineDarkBg: 'rgba(0, 0, 0, 0)',
shadowLineShadow: 'rgba(0, 0, 0, 0)',
gradFrom: '#ebeef2',
gradTo: '#ebeef2',
gradFrom: theme.bg2,
gradTo: theme.bg2,
},
electricity: {