diff options
| author | shpuld <shp@cock.li> | 2017-11-17 17:24:42 +0200 |
|---|---|---|
| committer | shpuld <shp@cock.li> | 2017-11-17 17:24:42 +0200 |
| commit | 21b31cf599e3dd619694ca7b6b998494b18af770 (patch) | |
| tree | 622bc742d98442f03f9ba547ac77f7e1ebd0c3c2 /src/modules/config.js | |
| parent | e13c8c3fd292e5afa43f78bfff9e1bdd754c1df9 (diff) | |
Move custom theming from settings to style-switcher, remove usage of custom .css files, use styles.json instead.
Diffstat (limited to 'src/modules/config.js')
| -rw-r--r-- | src/modules/config.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/modules/config.js b/src/modules/config.js index 1811faa8..9a62905e 100644 --- a/src/modules/config.js +++ b/src/modules/config.js @@ -31,11 +31,10 @@ const config = { dispatch('setPageTitle') break case 'theme': - const fullPath = `/static/css/${value}` - StyleSetter.setStyle(fullPath, null, commit) + StyleSetter.setPreset(value, commit) break case 'customTheme': - StyleSetter.setStyle(null, value, commit) + StyleSetter.setColors(value, commit) } } } |
