diff options
| author | lambda <pleromagit@rogerbraun.net> | 2017-11-19 11:39:00 +0000 |
|---|---|---|
| committer | lambda <pleromagit@rogerbraun.net> | 2017-11-19 11:39:00 +0000 |
| commit | 9674320e0983fd35267115fe111711ba5e2ebec8 (patch) | |
| tree | 11410aed1012f1b98ecabb4cb2b7fb47ec52f273 /src/modules/config.js | |
| parent | 86e685ac3452e42c3276e6ea2d3e7988abf2941a (diff) | |
| parent | a7500410ff17fbf742336d065a1dfedf87df587b (diff) | |
Merge branch 'feature/custom-theme' into 'develop'
Customizable themes
Closes #41
See merge request pleroma/pleroma-fe!165
Diffstat (limited to 'src/modules/config.js')
| -rw-r--r-- | src/modules/config.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/modules/config.js b/src/modules/config.js index ac17747e..9a62905e 100644 --- a/src/modules/config.js +++ b/src/modules/config.js @@ -31,8 +31,10 @@ const config = { dispatch('setPageTitle') break case 'theme': - const fullPath = `/static/css/${value}` - StyleSetter.setStyle(fullPath, commit) + StyleSetter.setPreset(value, commit) + break + case 'customTheme': + StyleSetter.setColors(value, commit) } } } |
