diff options
| author | Roger Braun <roger@rogerbraun.net> | 2017-02-22 21:14:55 +0100 |
|---|---|---|
| committer | Roger Braun <roger@rogerbraun.net> | 2017-02-22 21:14:55 +0100 |
| commit | ec5d8b9833034604299496a8ae87741c2efa5b7b (patch) | |
| tree | db713a0280b2fb9185989b8b14eb73942d18ec42 /src/modules/config.js | |
| parent | 935c0e09c650bca5f92d05335d158ef3c148901b (diff) | |
Set colors into config so they can be used for more dynamic styles.
Diffstat (limited to 'src/modules/config.js')
| -rw-r--r-- | src/modules/config.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/modules/config.js b/src/modules/config.js index a1276519..30155f45 100644 --- a/src/modules/config.js +++ b/src/modules/config.js @@ -2,7 +2,8 @@ import { set } from 'vue' import StyleSetter from '../services/style_setter/style_setter.js' const defaultState = { - name: 'Pleroma FE' + name: 'Pleroma FE', + colors: {} } const config = { @@ -24,7 +25,7 @@ const config = { break case 'theme': const fullPath = `/static/css/${value}` - StyleSetter.setStyle(fullPath) + StyleSetter.setStyle(fullPath, commit) } } } |
