mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-18 08:20:13 +01:00
refactor(electricity): update js theme
This commit is contained in:
parent
b347745686
commit
e6aaa0f233
3 changed files with 42 additions and 42 deletions
|
|
@ -84,28 +84,28 @@ export const CORPORATE_THEME = {
|
||||||
},
|
},
|
||||||
|
|
||||||
electricity: {
|
electricity: {
|
||||||
tooltipBg: '#edf0f4',
|
tooltipBg: theme.bg,
|
||||||
tooltipLineColor: '#bdc4cd',
|
tooltipLineColor: theme.fgText,
|
||||||
tooltipLineWidth: '0',
|
tooltipLineWidth: '0',
|
||||||
tooltipBorderColor: '#ebeef2',
|
tooltipBorderColor: theme.border2,
|
||||||
tooltipExtraCss: 'border-radius: 10px; padding: 8px 24px;',
|
tooltipExtraCss: 'border-radius: 10px; padding: 8px 24px;',
|
||||||
tooltipTextColor: '#2a2a2a',
|
tooltipTextColor: theme.fgText,
|
||||||
tooltipFontWeight: 'bolder',
|
tooltipFontWeight: 'normal',
|
||||||
|
|
||||||
axisLineColor: 'rgba(0, 0, 0, 0)',
|
axisLineColor: theme.border3,
|
||||||
xAxisTextColor: '#2a2a2a',
|
xAxisTextColor: theme.fg,
|
||||||
yAxisSplitLine: '#ebeef2',
|
yAxisSplitLine: theme.separator,
|
||||||
|
|
||||||
itemBorderColor: '#73a1ff',
|
itemBorderColor: theme.primary,
|
||||||
lineStyle: 'solid',
|
lineStyle: 'solid',
|
||||||
lineWidth: '4',
|
lineWidth: '4',
|
||||||
lineGradFrom: '#bdc4cd',
|
lineGradFrom: theme.primary,
|
||||||
lineGradTo: '#c0c8d1',
|
lineGradTo: theme.primary,
|
||||||
lineShadow: 'rgba(0, 0, 0, 0)',
|
lineShadow: 'rgba(0, 0, 0, 0)',
|
||||||
|
|
||||||
areaGradFrom: 'rgba(255, 255, 255, 0)',
|
areaGradFrom: 'rgba(0, 0, 0, 0)',
|
||||||
areaGradTo: 'rgba(255, 255, 255, 0)',
|
areaGradTo: 'rgba(0, 0, 0, 0)',
|
||||||
shadowLineDarkBg: 'rgba(255, 255, 255, 0)',
|
shadowLineDarkBg: 'rgba(0, 0, 0, 0)',
|
||||||
},
|
},
|
||||||
|
|
||||||
bubbleMap: {
|
bubbleMap: {
|
||||||
|
|
|
||||||
|
|
@ -84,28 +84,28 @@ export const COSMIC_THEME = {
|
||||||
},
|
},
|
||||||
|
|
||||||
electricity: {
|
electricity: {
|
||||||
tooltipBg: 'rgba(0, 255, 170, 0.35)',
|
tooltipBg: theme.bg,
|
||||||
tooltipLineColor: 'rgba(255, 255, 255, 0.1)',
|
tooltipLineColor: theme.fgText,
|
||||||
tooltipLineWidth: '1',
|
tooltipLineWidth: '0',
|
||||||
tooltipBorderColor: '#00d977',
|
tooltipBorderColor: theme.border2,
|
||||||
tooltipExtraCss: 'box-shadow: 0px 2px 46px 0 rgba(0, 255, 170, 0.35); border-radius: 10px; padding: 8px 24px;',
|
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',
|
tooltipFontWeight: 'normal',
|
||||||
|
|
||||||
axisLineColor: 'rgba(161, 161 ,229, 0.3)',
|
axisLineColor: theme.border3,
|
||||||
xAxisTextColor: '#a1a1e5',
|
xAxisTextColor: theme.fg,
|
||||||
yAxisSplitLine: 'rgba(161, 161 ,229, 0.2)',
|
yAxisSplitLine: theme.separator,
|
||||||
|
|
||||||
itemBorderColor: '#ffffff',
|
itemBorderColor: theme.border2,
|
||||||
lineStyle: 'dotted',
|
lineStyle: 'dotted',
|
||||||
lineWidth: '6',
|
lineWidth: '6',
|
||||||
lineGradFrom: '#00ffaa',
|
lineGradFrom: theme.success,
|
||||||
lineGradTo: '#fff835',
|
lineGradTo: theme.warning,
|
||||||
lineShadow: 'rgba(14, 16, 48, 0.4)',
|
lineShadow: theme.bg4,
|
||||||
|
|
||||||
areaGradFrom: 'rgba(188, 92, 255, 0.5)',
|
areaGradFrom: theme.bg2,
|
||||||
areaGradTo: 'rgba(188, 92, 255, 0)',
|
areaGradTo: theme.bg3,
|
||||||
shadowLineDarkBg: '#a695ff',
|
shadowLineDarkBg: theme.bg3,
|
||||||
},
|
},
|
||||||
|
|
||||||
bubbleMap: {
|
bubbleMap: {
|
||||||
|
|
|
||||||
|
|
@ -84,27 +84,27 @@ export const DEFAULT_THEME = {
|
||||||
},
|
},
|
||||||
|
|
||||||
electricity: {
|
electricity: {
|
||||||
tooltipBg: '#ffffff',
|
tooltipBg: theme.bg,
|
||||||
tooltipLineColor: 'rgba(0, 0, 0, 0)',
|
tooltipLineColor: theme.fgText,
|
||||||
tooltipLineWidth: '0',
|
tooltipLineWidth: '0',
|
||||||
tooltipBorderColor: '#ebeef2',
|
tooltipBorderColor: theme.border2,
|
||||||
tooltipExtraCss: 'border-radius: 10px; padding: 8px 24px;',
|
tooltipExtraCss: 'border-radius: 10px; padding: 8px 24px;',
|
||||||
tooltipTextColor: '#2a2a2a',
|
tooltipTextColor: theme.fgText,
|
||||||
tooltipFontWeight: 'bolder',
|
tooltipFontWeight: 'normal',
|
||||||
|
|
||||||
axisLineColor: 'rgba(0, 0, 0, 0)',
|
axisLineColor: theme.border3,
|
||||||
xAxisTextColor: '#2a2a2a',
|
xAxisTextColor: theme.fg,
|
||||||
yAxisSplitLine: '#ebeef2',
|
yAxisSplitLine: theme.separator,
|
||||||
|
|
||||||
itemBorderColor: '#42db7d',
|
itemBorderColor: theme.primary,
|
||||||
lineStyle: 'solid',
|
lineStyle: 'solid',
|
||||||
lineWidth: '4',
|
lineWidth: '4',
|
||||||
lineGradFrom: '#42db7d',
|
lineGradFrom: theme.primary,
|
||||||
lineGradTo: '#42db7d',
|
lineGradTo: theme.primary,
|
||||||
lineShadow: 'rgba(0, 0, 0, 0)',
|
lineShadow: 'rgba(0, 0, 0, 0)',
|
||||||
|
|
||||||
areaGradFrom: 'rgba(235, 238, 242, 0.5)',
|
areaGradFrom: theme.bg2,
|
||||||
areaGradTo: 'rgba(235, 238, 242, 0.5)',
|
areaGradTo: theme.bg2,
|
||||||
shadowLineDarkBg: 'rgba(0, 0, 0, 0)',
|
shadowLineDarkBg: 'rgba(0, 0, 0, 0)',
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue