refactor(temperature): update js theme

This commit is contained in:
Sergey Andrievskiy 2019-06-21 15:07:47 +03:00
parent 658c5921e2
commit 77dc3ab83d
8 changed files with 31 additions and 38 deletions

View file

@ -47,13 +47,12 @@ export const CORPORATE_THEME = {
name: 'corporate',
base: 'default',
variables: {
temperature: [
'#ffa36b',
'#ffa36b',
'#ff9e7a',
'#ff9888',
'#ff8ea0',
],
temperature: {
arcFill: [ '#ffa36b', '#ffa36b', '#ff9e7a', '#ff9888', '#ff8ea0' ],
arcEmpty: theme.bg2,
thumbBg: theme.bg2,
thumbBorder: '#ffa36b',
},
solar: {
gradientLeft: '#ff8ea0',

View file

@ -48,13 +48,12 @@ export const COSMIC_THEME = {
base: 'default',
variables: {
temperature: [
'#2ec7fe',
'#31ffad',
'#7bff24',
'#fff024',
'#f7bd59',
],
temperature: {
arcFill: [ '#2ec7fe', '#31ffad', '#7bff24', '#fff024', '#f7bd59' ],
arcEmpty: theme.bg2,
thumbBg: '#ffffff',
thumbBorder: '#ffffff',
},
solar: {
gradientLeft: '#7bff24',

View file

@ -48,14 +48,12 @@ export const DEFAULT_THEME = {
base: null,
variables: {
// Safari fix
temperature: [
'#42db7d',
'#42db7d',
'#42db7d',
'#42db7d',
'#42db7d',
],
temperature: {
arcFill: [ theme.primary, theme.primary, theme.primary, theme.primary, theme.primary ],
arcEmpty: theme.bg2,
thumbBg: theme.bg2,
thumbBorder: theme.primary,
},
solar: {
gradientLeft: '#42db7d',