diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index db2a155221..f5d0a180d8 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -784,7 +784,6 @@ desktop/views/components/settings.vue: rounded-corners: "UIの角を丸める" circle-icons: "円形のアイコンを使用" contrasted-acct: "ユーザー名にコントラストを付ける" - gradient-window-header: "ウィンドウのタイトルバーにグラデーションを使用" post-form-on-timeline: "タイムライン上部に投稿フォームを表示する" suggest-recent-hashtags: "最近のハッシュタグを投稿フォームに表示する" show-clock-on-header: "右上に時計を表示する" diff --git a/src/client/app/desktop/views/components/settings.vue b/src/client/app/desktop/views/components/settings.vue index 4efaa75c4b..e95e7a735d 100644 --- a/src/client/app/desktop/views/components/settings.vue +++ b/src/client/app/desktop/views/components/settings.vue @@ -66,7 +66,6 @@ %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% @@ -421,12 +420,7 @@ export default Vue.extend({ disableViaMobile: { get() { return this.$store.state.settings.disableViaMobile; }, set(value) { this.$store.dispatch('settings/set', { key: 'disableViaMobile', value }); } - }, - - gradientWindowHeader: { - get() { return this.$store.state.settings.gradientWindowHeader; }, - set(value) { this.$store.dispatch('settings/set', { key: 'gradientWindowHeader', value }); } - }, + } }, created() { (this as any).os.getMeta().then(meta => { diff --git a/src/client/app/desktop/views/components/widget-container.vue b/src/client/app/desktop/views/components/widget-container.vue index 156823799f..cfcb2785c5 100644 --- a/src/client/app/desktop/views/components/widget-container.vue +++ b/src/client/app/desktop/views/components/widget-container.vue @@ -1,6 +1,6 @@ - + @@ -20,15 +20,6 @@ export default Vue.extend({ type: Boolean, default: false } - }, - computed: { - withGradient(): boolean { - return this.$store.getters.isSignedIn - ? this.$store.state.settings.gradientWindowHeader != null - ? this.$store.state.settings.gradientWindowHeader - : false - : false; - } } }); @@ -54,7 +45,7 @@ root(isDark) line-height 42px font-size 0.9em font-weight bold - color isDark ? #e3e5e8 : #888 + color var(--faceHeaderText) box-shadow 0 1px rgba(#000, 0.07) > [data-fa] @@ -78,12 +69,7 @@ root(isDark) color var(--faceTextButtonHover) &:active - color isDark ? #b2c1d5 : #999 - - &.withGradient - > .title - background isDark ? linear-gradient(to bottom, #313543, #1d2027) : linear-gradient(to bottom, #fff, #ececec) - box-shadow 0 1px rgba(#000, 0.11) + color var(--faceTextButtonActive) .mk-widget-container[data-darkmode] root(true) diff --git a/src/client/app/desktop/views/components/window.vue b/src/client/app/desktop/views/components/window.vue index 15aa158073..5547445537 100644 --- a/src/client/app/desktop/views/components/window.vue +++ b/src/client/app/desktop/views/components/window.vue @@ -4,7 +4,6 @@ {}" @mousedown.prevent="onHeaderMousedown" > @@ -463,8 +462,6 @@ export default Vue.extend({