diff --git a/src/app/@theme/styles/theme.corporate.ts b/src/app/@theme/styles/theme.corporate.ts index 83153f02..9067f4e5 100644 --- a/src/app/@theme/styles/theme.corporate.ts +++ b/src/app/@theme/styles/theme.corporate.ts @@ -84,28 +84,28 @@ export const CORPORATE_THEME = { }, electricity: { - tooltipBg: '#edf0f4', - tooltipLineColor: '#bdc4cd', + tooltipBg: theme.bg, + tooltipLineColor: theme.fgText, tooltipLineWidth: '0', - tooltipBorderColor: '#ebeef2', + tooltipBorderColor: theme.border2, tooltipExtraCss: 'border-radius: 10px; padding: 8px 24px;', - tooltipTextColor: '#2a2a2a', - tooltipFontWeight: 'bolder', + tooltipTextColor: theme.fgText, + tooltipFontWeight: 'normal', - axisLineColor: 'rgba(0, 0, 0, 0)', - xAxisTextColor: '#2a2a2a', - yAxisSplitLine: '#ebeef2', + axisLineColor: theme.border3, + xAxisTextColor: theme.fg, + yAxisSplitLine: theme.separator, - itemBorderColor: '#73a1ff', + itemBorderColor: theme.primary, lineStyle: 'solid', lineWidth: '4', - lineGradFrom: '#bdc4cd', - lineGradTo: '#c0c8d1', + lineGradFrom: theme.primary, + lineGradTo: theme.primary, lineShadow: 'rgba(0, 0, 0, 0)', - areaGradFrom: 'rgba(255, 255, 255, 0)', - areaGradTo: 'rgba(255, 255, 255, 0)', - shadowLineDarkBg: 'rgba(255, 255, 255, 0)', + areaGradFrom: 'rgba(0, 0, 0, 0)', + areaGradTo: 'rgba(0, 0, 0, 0)', + shadowLineDarkBg: 'rgba(0, 0, 0, 0)', }, bubbleMap: { diff --git a/src/app/@theme/styles/theme.cosmic.ts b/src/app/@theme/styles/theme.cosmic.ts index fb3ed13e..29f0c462 100644 --- a/src/app/@theme/styles/theme.cosmic.ts +++ b/src/app/@theme/styles/theme.cosmic.ts @@ -84,28 +84,28 @@ export const COSMIC_THEME = { }, electricity: { - tooltipBg: 'rgba(0, 255, 170, 0.35)', - tooltipLineColor: 'rgba(255, 255, 255, 0.1)', - tooltipLineWidth: '1', - tooltipBorderColor: '#00d977', + tooltipBg: theme.bg, + tooltipLineColor: theme.fgText, + tooltipLineWidth: '0', + tooltipBorderColor: theme.border2, tooltipExtraCss: 'box-shadow: 0px 2px 46px 0 rgba(0, 255, 170, 0.35); border-radius: 10px; padding: 8px 24px;', - tooltipTextColor: '#ffffff', + tooltipTextColor: theme.fgText, tooltipFontWeight: 'normal', - axisLineColor: 'rgba(161, 161 ,229, 0.3)', - xAxisTextColor: '#a1a1e5', - yAxisSplitLine: 'rgba(161, 161 ,229, 0.2)', + axisLineColor: theme.border3, + xAxisTextColor: theme.fg, + yAxisSplitLine: theme.separator, - itemBorderColor: '#ffffff', + itemBorderColor: theme.border2, lineStyle: 'dotted', lineWidth: '6', - lineGradFrom: '#00ffaa', - lineGradTo: '#fff835', - lineShadow: 'rgba(14, 16, 48, 0.4)', + lineGradFrom: theme.success, + lineGradTo: theme.warning, + lineShadow: theme.bg4, - areaGradFrom: 'rgba(188, 92, 255, 0.5)', - areaGradTo: 'rgba(188, 92, 255, 0)', - shadowLineDarkBg: '#a695ff', + areaGradFrom: theme.bg2, + areaGradTo: theme.bg3, + shadowLineDarkBg: theme.bg3, }, bubbleMap: { diff --git a/src/app/@theme/styles/theme.default.ts b/src/app/@theme/styles/theme.default.ts index 6a0379a3..59591eec 100644 --- a/src/app/@theme/styles/theme.default.ts +++ b/src/app/@theme/styles/theme.default.ts @@ -84,27 +84,27 @@ export const DEFAULT_THEME = { }, electricity: { - tooltipBg: '#ffffff', - tooltipLineColor: 'rgba(0, 0, 0, 0)', + tooltipBg: theme.bg, + tooltipLineColor: theme.fgText, tooltipLineWidth: '0', - tooltipBorderColor: '#ebeef2', + tooltipBorderColor: theme.border2, tooltipExtraCss: 'border-radius: 10px; padding: 8px 24px;', - tooltipTextColor: '#2a2a2a', - tooltipFontWeight: 'bolder', + tooltipTextColor: theme.fgText, + tooltipFontWeight: 'normal', - axisLineColor: 'rgba(0, 0, 0, 0)', - xAxisTextColor: '#2a2a2a', - yAxisSplitLine: '#ebeef2', + axisLineColor: theme.border3, + xAxisTextColor: theme.fg, + yAxisSplitLine: theme.separator, - itemBorderColor: '#42db7d', + itemBorderColor: theme.primary, lineStyle: 'solid', lineWidth: '4', - lineGradFrom: '#42db7d', - lineGradTo: '#42db7d', + lineGradFrom: theme.primary, + lineGradTo: theme.primary, lineShadow: 'rgba(0, 0, 0, 0)', - areaGradFrom: 'rgba(235, 238, 242, 0.5)', - areaGradTo: 'rgba(235, 238, 242, 0.5)', + areaGradFrom: theme.bg2, + areaGradTo: theme.bg2, shadowLineDarkBg: 'rgba(0, 0, 0, 0)', },