From e78e4cc2bf3cb7cdb8cc0b5e50d26947427bc82c Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 1 Mar 2019 11:03:45 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=80=E3=83=BC=E3=82=AF=E3=83=A2=E3=83=BC?= =?UTF-8?q?=E3=83=89=E3=81=AE=E8=A8=AD=E5=AE=9A=E3=82=92=E3=83=86=E3=83=BC?= =?UTF-8?q?=E3=83=9E=E3=81=AB=E7=A7=BB=E5=8B=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/components/settings/settings.vue | 6 - .../views/components/settings/theme.vue | 236 +++++++++++++++++- 2 files changed, 235 insertions(+), 7 deletions(-) diff --git a/src/client/app/common/views/components/settings/settings.vue b/src/client/app/common/views/components/settings/settings.vue index 87b93574a..efd780162 100644 --- a/src/client/app/common/views/components/settings/settings.vue +++ b/src/client/app/common/views/components/settings/settings.vue @@ -29,7 +29,6 @@ {{ $t('@._settings.navbar-position-right') }}
- {{ $t('@.dark-mode') }} {{ $t('@._settings.use-shadow') }} {{ $t('@._settings.rounded-corners') }} {{ $t('@._settings.circle-icons') }} @@ -314,11 +313,6 @@ export default Vue.extend({ set(value) { this.$store.commit('settings/set', { key: 'keepCw', value }); } }, - darkmode: { - get() { return this.$store.state.device.darkmode; }, - set(value) { this.$store.commit('device/set', { key: 'darkmode', value }); } - }, - navbar: { get() { return this.$store.state.device.navbar; }, set(value) { this.$store.commit('device/set', { key: 'navbar', value }); } diff --git a/src/client/app/common/views/components/settings/theme.vue b/src/client/app/common/views/components/settings/theme.vue index 7d419e3bd..7e3ee4a8e 100644 --- a/src/client/app/common/views/components/settings/theme.vue +++ b/src/client/app/common/views/components/settings/theme.vue @@ -2,6 +2,25 @@
+
+
+ + +
+
+