import Vuex from 'vuex' const createStore = () => { return new Vuex.Store({ state: () => ({ theme: ['0, 0, 0', '255, 255, 255'] }), mutations: { setTheme: (state, theme) => state.theme = theme } }) } export default createStore