feat: Color Theme live preview
This commit is contained in:
1 parent
06b49e037b
commit
fc42fd21e5
11 files changed
+71
-5
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user