refactor(traffic): update js theme

This commit is contained in:
Sergey Andrievskiy 2019-06-21 21:07:04 +03:00
parent 0d23981c21
commit 58f31377f2
3 changed files with 24 additions and 24 deletions

View file

@ -135,19 +135,19 @@ export const CORPORATE_THEME = {
},
trafficBarEchart: {
gradientFrom: '#ff8ea0',
gradientTo: '#ffa36b',
shadow: 'rgba(0, 0, 0, 0)',
gradientFrom: theme.warningLight,
gradientTo: theme.warning,
shadow: theme.warningLight,
shadowBlur: '0',
axisTextColor: '#b2bac2',
axisTextColor: theme.fgText,
axisFontSize: '12',
tooltipBg: '#edf0f4',
tooltipBorderColor: '#ebeef2',
tooltipBg: theme.bg,
tooltipBorderColor: theme.border2,
tooltipExtraCss: 'border-radius: 10px; padding: 8px 24px;',
tooltipTextColor: '#2a2a2a',
tooltipFontWeight: 'bolder',
tooltipTextColor: theme.fgText,
tooltipFontWeight: 'normal',
},
countryOrders: {

View file

@ -135,18 +135,18 @@ export const COSMIC_THEME = {
},
trafficBarEchart: {
gradientFrom: '#fc0',
gradientTo: '#ffa100',
shadow: '#ffb600',
gradientFrom: theme.warningLight,
gradientTo: theme.warning,
shadow: theme.warningLight,
shadowBlur: '5',
axisTextColor: '#a1a1e5',
axisTextColor: theme.fgText,
axisFontSize: '12',
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: 'border-radius: 10px; padding: 4px 16px;',
tooltipTextColor: theme.fgText,
tooltipFontWeight: 'normal',
},

View file

@ -135,19 +135,19 @@ export const DEFAULT_THEME = {
},
trafficBarEchart: {
gradientFrom: '#fc0',
gradientTo: '#ffa100',
shadow: '#ffb600',
gradientFrom: theme.warningLight,
gradientTo: theme.warning,
shadow: theme.warningLight,
shadowBlur: '0',
axisTextColor: '#b2bac2',
axisTextColor: theme.fgText,
axisFontSize: '12',
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',
},
countryOrders: {