refactor(earnings): update js theme

This commit is contained in:
Sergey Andrievskiy 2019-06-21 22:58:55 +03:00
parent 2d9a295d19
commit 83d54e3d1f
3 changed files with 39 additions and 39 deletions

View file

@ -321,29 +321,29 @@ export const CORPORATE_THEME = {
fontSize: '22',
firstPieGradientLeft: '#719efc',
firstPieGradientRight: '#719efc',
firstPieGradientLeft: theme.success,
firstPieGradientRight: theme.success,
firstPieShadowColor: 'rgba(0, 0, 0, 0)',
secondPieGradientLeft: '#ff9f6f',
secondPieGradientRight: '#ff9f6f',
secondPieGradientLeft: theme.primary,
secondPieGradientRight: theme.primary,
secondPieShadowColor: 'rgba(0, 0, 0, 0)',
thirdPieGradientLeft: '#ff5e83',
thirdPieGradientRight: '#ff5e83',
thirdPieGradientLeft: theme.warning,
thirdPieGradientRight: theme.warning,
thirdPieShadowColor: 'rgba(0, 0, 0, 0)',
},
earningLine: {
gradFrom: '#e3ecfe',
gradTo: '#e3ecfe',
gradFrom: theme.primary,
gradTo: theme.primary,
tooltipTextColor: '#2a2a2a',
tooltipFontWeight: '400',
tooltipTextColor: theme.fgText,
tooltipFontWeight: 'normal',
tooltipFontSize: '16',
tooltipBg: '#eef2f5',
tooltipBorderColor: '#eef2f5',
tooltipBorderWidth: '3',
tooltipBg: theme.bg,
tooltipBorderColor: theme.border2,
tooltipBorderWidth: '1',
tooltipExtraCss: 'border-radius: 10px; padding: 4px 16px;',
},
},

View file

@ -321,30 +321,30 @@ export const COSMIC_THEME = {
fontSize: '22',
firstPieGradientLeft: '#00d77f',
firstPieGradientRight: '#00d77f',
firstPieGradientLeft: theme.success,
firstPieGradientRight: theme.success,
firstPieShadowColor: 'rgba(0, 0, 0, 0)',
secondPieGradientLeft: '#7756f7',
secondPieGradientRight: '#7756f7',
secondPieGradientLeft: theme.primary,
secondPieGradientRight: theme.primary,
secondPieShadowColor: 'rgba(0, 0, 0, 0)',
thirdPieGradientLeft: '#ffca00',
thirdPieGradientRight: '#ffca00',
thirdPieGradientLeft: theme.warning,
thirdPieGradientRight: theme.warning,
thirdPieShadowColor: 'rgba(0, 0, 0, 0)',
},
earningLine: {
gradFrom: 'rgba(118, 89, 255, 0.4)',
gradTo: 'rgba(164, 84, 255, 0.5)',
gradFrom: theme.primary,
gradTo: theme.primary,
tooltipTextColor: '#ffffff',
tooltipTextColor: theme.fgText,
tooltipFontWeight: 'normal',
tooltipFontSize: '16',
tooltipBg: 'rgba(0, 255, 170, 0.35)',
tooltipBorderColor: '#00d977',
tooltipBorderWidth: '3',
tooltipExtraCss: 'box-shadow: 0px 2px 46px 0 rgba(0, 255, 170, 0.35); border-radius: 10px; padding: 4px 16px;',
tooltipBg: theme.bg,
tooltipBorderColor: theme.border2,
tooltipBorderWidth: '1',
tooltipExtraCss: 'border-radius: 10px; padding: 4px 16px;',
},
},
} as NbJSThemeOptions;

View file

@ -321,29 +321,29 @@ export const DEFAULT_THEME = {
fontSize: '22',
firstPieGradientLeft: '#00d77f',
firstPieGradientRight: '#00d77f',
firstPieGradientLeft: theme.success,
firstPieGradientRight: theme.success,
firstPieShadowColor: 'rgba(0, 0, 0, 0)',
secondPieGradientLeft: '#7756f7',
secondPieGradientRight: '#7756f7',
secondPieGradientLeft: theme.primary,
secondPieGradientRight: theme.primary,
secondPieShadowColor: 'rgba(0, 0, 0, 0)',
thirdPieGradientLeft: '#ffca00',
thirdPieGradientRight: '#ffca00',
thirdPieGradientLeft: theme.warning,
thirdPieGradientRight: theme.warning,
thirdPieShadowColor: 'rgba(0, 0, 0, 0)',
},
earningLine: {
gradFrom: 'rgba(188, 92, 255, 0.5)',
gradTo: 'rgba(188, 92, 255, 0.5)',
gradFrom: theme.primary,
gradTo: theme.primary,
tooltipTextColor: '#2a2a2a',
tooltipFontWeight: 'bolder',
tooltipTextColor: theme.fgText,
tooltipFontWeight: 'normal',
tooltipFontSize: '16',
tooltipBg: '#ffffff',
tooltipBorderColor: '#c0c8d1',
tooltipBorderWidth: '3',
tooltipBg: theme.bg,
tooltipBorderColor: theme.border2,
tooltipBorderWidth: '1',
tooltipExtraCss: 'border-radius: 10px; padding: 4px 16px;',
},
},