First version with naive color extrapolation.

This commit is contained in:
shpuld 2017-11-14 01:37:49 +02:00
parent a169abcec2
commit ed84c6acc0
4 changed files with 86 additions and 4 deletions

View file

@ -32,7 +32,10 @@ const config = {
break
case 'theme':
const fullPath = `/static/css/${value}`
StyleSetter.setStyle(fullPath, commit)
StyleSetter.setStyle(fullPath, null, commit)
break
case 'customTheme':
StyleSetter.setStyle(null, value, commit)
}
}
}