14 lines
189 B
JavaScript
14 lines
189 B
JavaScript
|
export default {
|
||
|
namespaced: true,
|
||
|
state: {
|
||
|
theme: {
|
||
|
dark: false
|
||
|
}
|
||
|
},
|
||
|
mutations: {
|
||
|
setThemeDarkMode(state, payload) {
|
||
|
state.theme.dark = payload
|
||
|
}
|
||
|
}
|
||
|
}
|