feat: Color Theme live preview

This commit is contained in:
NGPixel authored and Nicolas Giard committed 2017-07-09 00:01:34 -04:00
1 parent 06b49e037b
commit fc42fd21e5
11 files changed
+71 -5

No files matched your search

+11
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