diff --git a/src/components/CodemirrorEditor/aboutDialog.vue b/src/components/CodemirrorEditor/aboutDialog.vue
index 007a812..c45b2fe 100644
--- a/src/components/CodemirrorEditor/aboutDialog.vue
+++ b/src/components/CodemirrorEditor/aboutDialog.vue
@@ -8,8 +8,8 @@
diff --git a/src/components/CodemirrorEditor/header.vue b/src/components/CodemirrorEditor/header.vue
index 24082c8..ec3513e 100644
--- a/src/components/CodemirrorEditor/header.vue
+++ b/src/components/CodemirrorEditor/header.vue
@@ -100,7 +100,7 @@ export default {
return this.nightMode ? 'dark' : 'light'
},
btnType() {
- return !this.nightMode ? 'success' : 'default';
+ return this.nightMode ? 'default' : 'primary';
},
...mapState({
output: state => state.output,
diff --git a/src/components/CodemirrorEditor/insertForm.vue b/src/components/CodemirrorEditor/insertForm.vue
index afd4504..334ebe3 100644
--- a/src/components/CodemirrorEditor/insertForm.vue
+++ b/src/components/CodemirrorEditor/insertForm.vue
@@ -73,7 +73,7 @@
},
computed: {
btnType() {
- return !this.nightMode ? "success" : "default";
+ return this.nightMode ? "default" : "primary";
},
...mapState({
nightMode: state => state.nightMode,
diff --git a/src/components/CodemirrorEditor/resetDialog.vue b/src/components/CodemirrorEditor/resetDialog.vue
index 30aaeca..7c7eae7 100644
--- a/src/components/CodemirrorEditor/resetDialog.vue
+++ b/src/components/CodemirrorEditor/resetDialog.vue
@@ -21,7 +21,7 @@ export default {
},
computed: {
btnType() {
- return this.nightMode ? 'default' : 'success';
+ return this.nightMode ? 'default' : 'primary';
},
...mapState({
nightMode: state => state.nightMode