mirror of
https://github.com/akveo/ngx-admin.git
synced 2026-01-29 04:36:11 +01:00
fix(demo): refactor js theme using
This commit is contained in:
parent
672615b710
commit
b772882cd6
28 changed files with 561 additions and 492 deletions
|
|
@ -1,40 +1,117 @@
|
|||
export const DEFAULT_THEME = {
|
||||
name: 'default',
|
||||
base: 'default',
|
||||
base: null,
|
||||
variables: {
|
||||
tempColorGreen: '#7bff24',
|
||||
tempColorLightBlue: '#7bff24',
|
||||
tempColorBlue: '#7bff24',
|
||||
tempColorYellow: '#7bff24',
|
||||
tempColorOrange: '#7bff24',
|
||||
|
||||
solarColorDarkGreen: '#7bff24',
|
||||
solarColorShadow: 'rgba(0, 217, 119, 0.3)',
|
||||
trafficColorBlack: '#7bff24',
|
||||
trafficTooltipBg: 'rgba(0, 255, 170, 0.35)',
|
||||
trafficLineBg: 'rgba(146, 141, 255, 0.5)',
|
||||
trafficShadowLineBg: '#7bff24',
|
||||
trafficShadowLineDarkBg: '#7bff24',
|
||||
trafficShadowLineShadow: '#7bff24',
|
||||
trafficGradFrom: '#7bff24',
|
||||
trafficGradTo: '#7bff24',
|
||||
temperature: ['#7bff24', '#31ffad', '#2ec7fe', '#fff024', '#f7bd59'],
|
||||
|
||||
electricityAxisColor: '#7bff24',
|
||||
electricityLineGradFrom: '#7bff24',
|
||||
electricityLineGradTo: '#7bff24',
|
||||
electricityLineShadow: '#7bff24',
|
||||
electricityAreaGradFrom: '#7bff24',
|
||||
electricityAreaGradTo: '#7bff24',
|
||||
solar: {
|
||||
color: '#19977E',
|
||||
shadowColor: 'rgba(0, 217, 119, 0.3)',
|
||||
gradientLeft: '#7bff24',
|
||||
gradientRight: '#2ec7fe',
|
||||
},
|
||||
|
||||
bubbleMapTitleColor: '#333333',
|
||||
bubbleMapGeoColor1: '#e6b045',
|
||||
bubbleMapGeoColor2: '#0088ff',
|
||||
bubbleMapGeoColor3: '#ff386a',
|
||||
bubbleMapGeoColor4: '#00d977',
|
||||
bubbleMapGeoColor5: '#7659ff',
|
||||
bubbleMapGeoColor6: '#24dec8',
|
||||
bubbleMapAreaColor: '#2f3234',
|
||||
bubbleMapAreaHoverColor: '#a1a1e5',
|
||||
bubbleMapAreaBorderColor: '#dddddd',
|
||||
traffic: {
|
||||
colorBlack: '#000000',
|
||||
tooltipBg: 'rgba(0, 255, 170, 0.35)',
|
||||
lineBg: 'rgba(146, 141, 255, 0.5)',
|
||||
shadowLineBg: '#bdbaff',
|
||||
shadowLineDarkBg: '#a695ff',
|
||||
shadowLineShadow: 'rgba(33, 7, 77, 0.5)',
|
||||
gradFrom: 'rgba(118, 89, 255, 0.4)',
|
||||
gradTo: 'rgba(164, 84, 255, 0.5)',
|
||||
},
|
||||
|
||||
electricity: {
|
||||
tooltipBg: 'rgba(0, 255, 170, 0.35)',
|
||||
axisColor: '#a1a1e5',
|
||||
lineGradFrom: '#00ffaa',
|
||||
lineGradTo: '#fff835',
|
||||
lineShadow: 'rgba(14, 16, 48, 0.4)',
|
||||
areaGradFrom: 'rgba(188, 92, 255, 0.5)',
|
||||
areaGradTo: 'rgba(188, 92, 255, 0)',
|
||||
shadowLineDarkBg: '#a695ff',
|
||||
},
|
||||
|
||||
bubbleMap: {
|
||||
titleColor: '#ffffff',
|
||||
geoColors: ['#e6b045', '#0088ff', '#ff386a', '#00d977', '#7659ff', '#24dec8'],
|
||||
areaColor: '#2c2961',
|
||||
areaHoverColor: '#a1a1e5',
|
||||
areaBorderColor: '#654ddb',
|
||||
},
|
||||
|
||||
echarts: {
|
||||
bg: '#363175',
|
||||
legendTextColor: 'white',
|
||||
xAxisLineColor: 'white',
|
||||
yAxisLineColor: 'white',
|
||||
|
||||
pie: {
|
||||
colors: [
|
||||
'rgb(168, 56, 93)',
|
||||
'rgb(122, 163, 229)',
|
||||
'rgb(170, 227, 245)',
|
||||
'rgb(173, 205, 237)',
|
||||
'rgb(162, 126, 168)',
|
||||
],
|
||||
itemHoverShadowColor: 'rgba(0, 0, 0, 0.5)',
|
||||
},
|
||||
|
||||
bar: {
|
||||
color: '#3398DB',
|
||||
},
|
||||
|
||||
barAnimation: {
|
||||
colors: ['red', 'white'],
|
||||
},
|
||||
|
||||
line: {
|
||||
colors: ['red', 'black', 'white'],
|
||||
},
|
||||
|
||||
multipleLine: {
|
||||
colors: ['#5793f3', '#d14a61', '#675bba'],
|
||||
},
|
||||
|
||||
areaStack: {
|
||||
colors: ['red', 'blue', 'purple', 'yellow', 'pink'],
|
||||
tooltipBackgroundColor: '#6a7985',
|
||||
},
|
||||
|
||||
radar: {
|
||||
colors: ['red', 'white'],
|
||||
nameTextColor: 'white',
|
||||
splitAreaStyleColor: 'transparent',
|
||||
},
|
||||
},
|
||||
|
||||
chartjs: {
|
||||
xAxisColor: 'rgba(148,159,177,1)',
|
||||
yAxisColor: 'rgba(148,159,177,1)',
|
||||
tickColor: 'white',
|
||||
legendTextColor: 'white',
|
||||
|
||||
barHorizontal: {
|
||||
colors: ['red', 'blue'],
|
||||
},
|
||||
|
||||
radar: {
|
||||
colors: ['red', 'blue'],
|
||||
scaleGridLinesColor: 'white',
|
||||
scaleAngleLinesColor: 'white',
|
||||
pointLabelFontColor: 'white',
|
||||
},
|
||||
},
|
||||
|
||||
d3: {
|
||||
pie: ['#5AA454', '#A10A28', '#C7B42C', '#AAAAAA'],
|
||||
bar: ['#5AA454', '#A10A28', '#C7B42C', '#AAAAAA'],
|
||||
line: ['#5AA454', '#A10A28', '#C7B42C', '#AAAAAA'],
|
||||
advancedPie: ['#5AA454', '#A10A28', '#C7B42C', '#AAAAAA'],
|
||||
areaStack: ['#5AA454', '#A10A28', '#C7B42C', '#AAAAAA'],
|
||||
polar: ['#5AA454', '#A10A28', '#C7B42C', '#AAAAAA'],
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue