refactor(solar): update js theme

This commit is contained in:
Sergey Andrievskiy 2019-06-21 15:30:21 +03:00
parent b71e7afc6d
commit d3bd96f154
4 changed files with 11 additions and 8 deletions

View file

@ -56,9 +56,10 @@ export const CORPORATE_THEME = {
}, },
solar: { solar: {
gradientLeft: '#ff8ea0', gradientLeft: theme.primary,
gradientRight: '#ffa36b', gradientRight: theme.primary,
shadowColor: 'rgba(0, 0, 0, 0)', shadowColor: 'rgba(0, 0, 0, 0)',
secondSeriesFill: theme.bg2,
radius: ['80%', '90%'], radius: ['80%', '90%'],
}, },

View file

@ -56,9 +56,10 @@ export const COSMIC_THEME = {
}, },
solar: { solar: {
gradientLeft: '#7bff24', gradientLeft: theme.primary,
gradientRight: '#2ec7fe', gradientRight: theme.primary,
shadowColor: '#19977E', shadowColor: 'rgba(0, 0, 0, 0)',
secondSeriesFill: theme.bg2,
radius: ['70%', '90%'], radius: ['70%', '90%'],
}, },

View file

@ -56,9 +56,10 @@ export const DEFAULT_THEME = {
}, },
solar: { solar: {
gradientLeft: '#42db7d', gradientLeft: theme.primary,
gradientRight: '#42db7d', gradientRight: theme.primary,
shadowColor: 'rgba(0, 0, 0, 0)', shadowColor: 'rgba(0, 0, 0, 0)',
secondSeriesFill: theme.bg2,
radius: ['80%', '90%'], radius: ['80%', '90%'],
}, },

View file

@ -112,7 +112,7 @@ export class SolarComponent implements AfterViewInit, OnDestroy {
}, },
itemStyle: { itemStyle: {
normal: { normal: {
color: config.variables.layoutBg, color: solarTheme.secondSeriesFill,
}, },
}, },
}, },