diff --git a/src/app/@theme/styles/theme.corporate.ts b/src/app/@theme/styles/theme.corporate.ts index 62b7f21e..200f1025 100644 --- a/src/app/@theme/styles/theme.corporate.ts +++ b/src/app/@theme/styles/theme.corporate.ts @@ -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;', }, }, diff --git a/src/app/@theme/styles/theme.cosmic.ts b/src/app/@theme/styles/theme.cosmic.ts index 7d3609d2..ca3360c3 100644 --- a/src/app/@theme/styles/theme.cosmic.ts +++ b/src/app/@theme/styles/theme.cosmic.ts @@ -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; diff --git a/src/app/@theme/styles/theme.default.ts b/src/app/@theme/styles/theme.default.ts index 5092c0de..6e25e7d7 100644 --- a/src/app/@theme/styles/theme.default.ts +++ b/src/app/@theme/styles/theme.default.ts @@ -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;', }, },