diff --git a/src/app/@theme/styles/theme.corporate.ts b/src/app/@theme/styles/theme.corporate.ts index c97a86a1..633813b9 100644 --- a/src/app/@theme/styles/theme.corporate.ts +++ b/src/app/@theme/styles/theme.corporate.ts @@ -116,21 +116,21 @@ export const CORPORATE_THEME = { }, profitBarAnimationEchart: { - textColor: '#b2bac2', + textColor: theme.fgText, - firstAnimationBarColor: '#719efc', - secondAnimationBarColor: '#5dcfe3', + firstAnimationBarColor: theme.primary, + secondAnimationBarColor: theme.success, - splitLineStyleOpacity: '0.06', + splitLineStyleOpacity: '1', splitLineStyleWidth: '1', - splitLineStyleColor: '#000000', + splitLineStyleColor: theme.separator, - 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;', }, diff --git a/src/app/@theme/styles/theme.cosmic.ts b/src/app/@theme/styles/theme.cosmic.ts index ee2d850a..532ff285 100644 --- a/src/app/@theme/styles/theme.cosmic.ts +++ b/src/app/@theme/styles/theme.cosmic.ts @@ -116,22 +116,22 @@ export const COSMIC_THEME = { }, profitBarAnimationEchart: { - textColor: '#ffffff', + textColor: theme.fgText, - firstAnimationBarColor: '#0088ff', - secondAnimationBarColor: '#7659ff', + firstAnimationBarColor: theme.primary, + secondAnimationBarColor: theme.success, - splitLineStyleOpacity: '0.06', + splitLineStyleOpacity: '1', splitLineStyleWidth: '1', - splitLineStyleColor: '#000000', + splitLineStyleColor: theme.border2, - 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;', }, trafficBarEchart: { diff --git a/src/app/@theme/styles/theme.default.ts b/src/app/@theme/styles/theme.default.ts index 04719671..c32b4657 100644 --- a/src/app/@theme/styles/theme.default.ts +++ b/src/app/@theme/styles/theme.default.ts @@ -116,21 +116,21 @@ export const DEFAULT_THEME = { }, profitBarAnimationEchart: { - textColor: '#484848', + textColor: theme.fgText, - firstAnimationBarColor: '#3edd81', - secondAnimationBarColor: '#8d7fff', + firstAnimationBarColor: theme.primary, + secondAnimationBarColor: theme.success, - splitLineStyleOpacity: '0.06', + splitLineStyleOpacity: '1', splitLineStyleWidth: '1', - splitLineStyleColor: '#000000', + splitLineStyleColor: theme.separator, - 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;', },