wikijs-fork/client/store/admin.js

14 lines
189 B
JavaScript
Raw Normal View History

2018-06-10 00:11:00 +00:00
export default {
namespaced: true,
state: {
theme: {
dark: false
}
},
mutations: {
setThemeDarkMode(state, payload) {
state.theme.dark = payload
}
}
}