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: { traffic: {
colorBlack: '#ffffff', colorBlack: theme.bg,
tooltipBg: '#eef2f5', tooltipBg: theme.bg,
tooltipBorderColor: '#eef2f5', tooltipBorderColor: theme.border2,
tooltipExtraCss: 'border-radius: 10px; padding: 4px 16px;', tooltipExtraCss: 'border-radius: 10px; padding: 4px 16px;',
tooltipTextColor: '#2a2a2a', tooltipTextColor: theme.fgText,
tooltipFontWeight: '400', tooltipFontWeight: 'normal',
lineBg: '#cae6f3', lineBg: theme.primary,
lineShadowBlur: '0', lineShadowBlur: '0',
itemColor: '#bcc3cc', itemColor: theme.border4,
itemBorderColor: '#bcc3cc', itemBorderColor: theme.border4,
itemEmphasisBorderColor: '#74a2ff', itemEmphasisBorderColor: theme.primaryLight,
shadowLineDarkBg: 'rgba(0, 0, 0, 0)', shadowLineDarkBg: 'rgba(0, 0, 0, 0)',
shadowLineShadow: 'rgba(0, 0, 0, 0)', shadowLineShadow: 'rgba(0, 0, 0, 0)',
gradFrom: '#ffffff', gradFrom: theme.bg,
gradTo: '#ffffff', gradTo: theme.bg,
}, },
electricity: { electricity: {

View file

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

View file

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