From 00a28193a08f12477e8e57aea012bd3d5873ddef 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 87b93574a5..efd7801620 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 7d419e3bdd..7e3ee4a8e4 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 @@
+
+
+ + +
+
+