From ec5d8b9833034604299496a8ae87741c2efa5b7b Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Wed, 22 Feb 2017 21:14:55 +0100 Subject: Set colors into config so they can be used for more dynamic styles. --- src/modules/config.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/modules/config.js') 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) } } } -- cgit v1.2.3-70-g09d2