This commit is contained in:
syuilo
2018-09-29 00:01:11 +09:00
parent 1fa4d0d3f8
commit 6a82e94c54
15 changed files with 287 additions and 31 deletions

View File

@ -14,8 +14,7 @@ export default Vue.extend({
keymap(): any {
return {
'h|slash': this.help,
'd': this.dark,
'x': this.test
'd': this.dark
};
}
},
@ -26,11 +25,10 @@ export default Vue.extend({
},
dark() {
applyTheme(darkTheme);
},
test() {
applyTheme(halloweenTheme);
this.$store.commit('device/set', {
key: 'darkmode',
value: !this.$store.state.device.darkmode
});
}
}
});