feat: Color Theme live preview

This commit is contained in:
NGPixel
2017-07-02 12:51:39 -04:00
committed by Nicolas Giard
parent 06b49e037b
commit fc42fd21e5
11 changed files with 71 additions and 5 deletions

View File

@@ -12,6 +12,17 @@ export default {
codecolorize: 'true'
}
},
watch: {
primary(val) {
this.$root.changeTheme(this.$data)
},
alt(val) {
this.$root.changeTheme(this.$data)
},
footer(val) {
this.$root.changeTheme(this.$data)
}
},
methods: {
saveTheme() {
let self = this