mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-17 07:50:12 +01:00
refactor(traffic): use default y axis split line color
This commit is contained in:
parent
7678769e2f
commit
a415e3919e
5 changed files with 8 additions and 7 deletions
|
|
@ -64,13 +64,14 @@ export const CORPORATE_THEME = {
|
||||||
},
|
},
|
||||||
|
|
||||||
traffic: {
|
traffic: {
|
||||||
colorBlack: theme.bg,
|
|
||||||
tooltipBg: theme.bg,
|
tooltipBg: theme.bg,
|
||||||
tooltipBorderColor: theme.border2,
|
tooltipBorderColor: theme.border2,
|
||||||
tooltipExtraCss: 'border-radius: 10px; padding: 4px 16px;',
|
tooltipExtraCss: 'border-radius: 10px; padding: 4px 16px;',
|
||||||
tooltipTextColor: theme.fgText,
|
tooltipTextColor: theme.fgText,
|
||||||
tooltipFontWeight: 'normal',
|
tooltipFontWeight: 'normal',
|
||||||
|
|
||||||
|
yAxisSplitLine: theme.separator,
|
||||||
|
|
||||||
lineBg: theme.primary,
|
lineBg: theme.primary,
|
||||||
lineShadowBlur: '0',
|
lineShadowBlur: '0',
|
||||||
itemColor: theme.border4,
|
itemColor: theme.border4,
|
||||||
|
|
|
||||||
|
|
@ -64,13 +64,14 @@ export const COSMIC_THEME = {
|
||||||
},
|
},
|
||||||
|
|
||||||
traffic: {
|
traffic: {
|
||||||
colorBlack: '#000000',
|
|
||||||
tooltipBg: theme.bg,
|
tooltipBg: theme.bg,
|
||||||
tooltipBorderColor: theme.border2,
|
tooltipBorderColor: theme.border2,
|
||||||
tooltipExtraCss: 'box-shadow: 0px 2px 46px 0 rgba(50, 50, 89); border-radius: 10px; padding: 4px 16px;',
|
tooltipExtraCss: 'box-shadow: 0px 2px 46px 0 rgba(50, 50, 89); border-radius: 10px; padding: 4px 16px;',
|
||||||
tooltipTextColor: theme.fgText,
|
tooltipTextColor: theme.fgText,
|
||||||
tooltipFontWeight: 'normal',
|
tooltipFontWeight: 'normal',
|
||||||
|
|
||||||
|
yAxisSplitLine: theme.separator,
|
||||||
|
|
||||||
lineBg: theme.border2,
|
lineBg: theme.border2,
|
||||||
lineShadowBlur: '14',
|
lineShadowBlur: '14',
|
||||||
itemColor: theme.border2,
|
itemColor: theme.border2,
|
||||||
|
|
|
||||||
|
|
@ -64,13 +64,14 @@ export const DEFAULT_THEME = {
|
||||||
},
|
},
|
||||||
|
|
||||||
traffic: {
|
traffic: {
|
||||||
colorBlack: '#000000',
|
|
||||||
tooltipBg: theme.bg,
|
tooltipBg: theme.bg,
|
||||||
tooltipBorderColor: theme.border2,
|
tooltipBorderColor: theme.border2,
|
||||||
tooltipExtraCss: 'border-radius: 10px; padding: 4px 16px;',
|
tooltipExtraCss: 'border-radius: 10px; padding: 4px 16px;',
|
||||||
tooltipTextColor: theme.fgText,
|
tooltipTextColor: theme.fgText,
|
||||||
tooltipFontWeight: 'normal',
|
tooltipFontWeight: 'normal',
|
||||||
|
|
||||||
|
yAxisSplitLine: theme.separator,
|
||||||
|
|
||||||
lineBg: theme.border4,
|
lineBg: theme.border4,
|
||||||
lineShadowBlur: '1',
|
lineShadowBlur: '1',
|
||||||
itemColor: theme.border4,
|
itemColor: theme.border4,
|
||||||
|
|
|
||||||
|
|
@ -68,8 +68,7 @@ export class TrafficChartComponent implements AfterViewInit, OnDestroy {
|
||||||
splitLine: {
|
splitLine: {
|
||||||
show: true,
|
show: true,
|
||||||
lineStyle: {
|
lineStyle: {
|
||||||
color: trafficTheme.colorBlack,
|
color: trafficTheme.yAxisSplitLine,
|
||||||
opacity: 0.06,
|
|
||||||
width: '1',
|
width: '1',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -66,8 +66,7 @@ export class StatsAreaChartComponent implements AfterViewInit, OnDestroy {
|
||||||
splitLine: {
|
splitLine: {
|
||||||
show: true,
|
show: true,
|
||||||
lineStyle: {
|
lineStyle: {
|
||||||
color: trafficTheme.colorBlack,
|
color: trafficTheme.yAxisSplitLine,
|
||||||
opacity: 0.06,
|
|
||||||
width: '1',
|
width: '1',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue