From df6c9b1a1cf7b4ff8cdbf562e004bbf3635d841b Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 27 Sep 2018 12:55:10 +0900 Subject: [PATCH] wip --- .../components/games/reversi/reversi.room.vue | 6 +- .../app/common/views/components/index.ts | 2 - .../app/common/views/components/switch.vue | 199 ------------------ .../app/common/views/components/ui/button.vue | 2 - .../app/common/views/components/ui/switch.vue | 17 +- .../views/components/settings.profile.vue | 8 +- .../app/desktop/views/components/settings.vue | 44 ++-- .../views/pages/deck/deck.tl-column.vue | 4 +- src/client/theme/dark.json | 5 +- src/client/theme/halloween.json | 1 + src/client/theme/light.json | 5 +- 11 files changed, 42 insertions(+), 251 deletions(-) delete mode 100644 src/client/app/common/views/components/switch.vue diff --git a/src/client/app/common/views/components/games/reversi/reversi.room.vue b/src/client/app/common/views/components/games/reversi/reversi.room.vue index 072f3eda12..b407046ba9 100644 --- a/src/client/app/common/views/components/games/reversi/reversi.room.vue +++ b/src/client/app/common/views/components/games/reversi/reversi.room.vue @@ -47,9 +47,9 @@
- - - + %i18n:@is-llotheo% + %i18n:@looped-map% + %i18n:@can-put-everywhere%
diff --git a/src/client/app/common/views/components/index.ts b/src/client/app/common/views/components/index.ts index 0a3d0d0ae6..4c1c0afa80 100644 --- a/src/client/app/common/views/components/index.ts +++ b/src/client/app/common/views/components/index.ts @@ -30,7 +30,6 @@ import messagingRoom from './messaging-room.vue'; import urlPreview from './url-preview.vue'; import twitterSetting from './twitter-setting.vue'; import fileTypeIcon from './file-type-icon.vue'; -import Switch from './switch.vue'; import Reversi from './games/reversi/reversi.vue'; import welcomeTimeline from './welcome-timeline.vue'; import uiInput from './ui/input.vue'; @@ -74,7 +73,6 @@ Vue.component('mk-messaging-room', messagingRoom); Vue.component('mk-url-preview', urlPreview); Vue.component('mk-twitter-setting', twitterSetting); Vue.component('mk-file-type-icon', fileTypeIcon); -Vue.component('mk-switch', Switch); Vue.component('mk-reversi', Reversi); Vue.component('mk-welcome-timeline', welcomeTimeline); Vue.component('ui-input', uiInput); diff --git a/src/client/app/common/views/components/switch.vue b/src/client/app/common/views/components/switch.vue deleted file mode 100644 index aa60331cbc..0000000000 --- a/src/client/app/common/views/components/switch.vue +++ /dev/null @@ -1,199 +0,0 @@ - - - - - diff --git a/src/client/app/common/views/components/ui/button.vue b/src/client/app/common/views/components/ui/button.vue index ae59214038..c411f0f5c9 100644 --- a/src/client/app/common/views/components/ui/button.vue +++ b/src/client/app/common/views/components/ui/button.vue @@ -32,8 +32,6 @@ export default Vue.extend({ diff --git a/src/client/app/desktop/views/components/settings.profile.vue b/src/client/app/desktop/views/components/settings.profile.vue index d47b5b224b..9dd2798557 100644 --- a/src/client/app/desktop/views/components/settings.profile.vue +++ b/src/client/app/desktop/views/components/settings.profile.vue @@ -24,13 +24,13 @@

%i18n:@locked-account%

- + %i18n:@is-locked%

%i18n:@other%

- - - + %i18n:@is-bot% + %i18n:@is-cat% + %i18n:common.always-mark-nsfw%
diff --git a/src/client/app/desktop/views/components/settings.vue b/src/client/app/desktop/views/components/settings.vue index 4b8ee3c9cd..4efaa75c4b 100644 --- a/src/client/app/desktop/views/components/settings.vue +++ b/src/client/app/desktop/views/components/settings.vue @@ -30,7 +30,7 @@
%i18n:@note-visibility%
- + %i18n:@remember-note-visibility%
%i18n:@default-note-visibility%
@@ -59,30 +59,30 @@
- - - - - - - - - + %i18n:@dark-mode% + %i18n:@use-shadow% + %i18n:@rounded-corners% + %i18n:@circle-icons% + %i18n:common.reduce-motion% + %i18n:@contrasted-acct% + %i18n:common.show-full-acct% + %i18n:@gradient-window-header% + %i18n:common.i-like-sushi%
- - - - - - - - + %i18n:@post-form-on-timeline% + %i18n:@suggest-recent-hashtags% + %i18n:@show-clock-on-header% + %i18n:common.always-show-nsfw% + %i18n:@show-reply-target% + %i18n:@show-my-renotes% + %i18n:@show-renoted-my-notes% + %i18n:@show-local-renotes% %i18n:@show-maps-desc% - - - + %i18n:common.disable-animated-mfm% + %i18n:common.show-reversi-board-labels% + %i18n:common.use-contrast-reversi-stones%
@@ -102,7 +102,7 @@

%i18n:@mobile%

- + %i18n:@disable-via-mobile%
diff --git a/src/client/app/desktop/views/pages/deck/deck.tl-column.vue b/src/client/app/desktop/views/pages/deck/deck.tl-column.vue index 550b1be628..d245e3ecf5 100644 --- a/src/client/app/desktop/views/pages/deck/deck.tl-column.vue +++ b/src/client/app/desktop/views/pages/deck/deck.tl-column.vue @@ -11,8 +11,8 @@
- - + %i18n:@is-media-only% + %i18n:@is-media-view%
diff --git a/src/client/theme/dark.json b/src/client/theme/dark.json index 77a41228d0..a3877093f5 100644 --- a/src/client/theme/dark.json +++ b/src/client/theme/dark.json @@ -1,7 +1,8 @@ { "meta": { "id": "9978f7f9-5616-44fd-a704-cc5985efdd63", - "name": "Dark" + "name": "Dark", + "author": "syuilo" }, "primary": "#fb4e4e", "primaryForeground": "#fff", @@ -28,7 +29,7 @@ "dateDividerFg": "#666b79", "footerButtonHover": "#2e3440", "footerButtonActive": "#21242b", - + "switchTrack": "rgba(255, 255, 255, 0.15)", "noteHeaderName": "#fff", "noteHeaderBadgeFg": "#758188", "noteHeaderBadgeBg": "rgba(0, 0, 0, 0.25)", diff --git a/src/client/theme/halloween.json b/src/client/theme/halloween.json index 7c26fbf6e6..b156eb1aa8 100644 --- a/src/client/theme/halloween.json +++ b/src/client/theme/halloween.json @@ -2,6 +2,7 @@ "meta": { "id": "42e4f09b-67d5-498c-af7d-29faa54745b0", "name": "Halloween", + "author": "syuilo", "inherit": "9978f7f9-5616-44fd-a704-cc5985efdd63" }, "primary": "#fb8d4e", diff --git a/src/client/theme/light.json b/src/client/theme/light.json index 28cc71bdb7..7dcf2d3f44 100644 --- a/src/client/theme/light.json +++ b/src/client/theme/light.json @@ -1,7 +1,8 @@ { "meta": { "id": "406cfea3-a4e7-486c-9057-30ede1353c3f", - "name": "Light" + "name": "Light", + "author": "syuilo" }, "primary": "#fb4e4e", "primaryForeground": "#fff", @@ -28,7 +29,7 @@ "dateDividerFg": "#aaa", "footerButtonHover": "#f5f5f5", "footerButtonActive": "#eee", - + "switchTrack": "rgba(0, 0, 0, 0.25)", "noteHeaderName": "#627079", "noteHeaderBadgeFg": "#aaa", "noteHeaderBadgeBg": "rgba(0, 0, 0, 0.05)",