diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml
index eaf940ed06..668678e0c8 100644
--- a/locales/ja-JP.yml
+++ b/locales/ja-JP.yml
@@ -736,6 +736,7 @@ desktop/views/components/settings.vue:
delete-wallpaper: "壁紙を削除"
dark-mode: "ダークモード"
circle-icons: "円形のアイコンを使用"
+ contrasted-acct: "ユーザー名にコントラストを付ける"
gradient-window-header: "ウィンドウのタイトルバーにグラデーションを使用"
post-form-on-timeline: "タイムライン上部に投稿フォームを表示する"
suggest-recent-hashtags: "最近のハッシュタグを投稿フォームに表示する"
@@ -1349,6 +1350,7 @@ mobile/views/pages/settings.vue:
dark-mode: "ダークモード"
i-am-under-limited-internet: "私は通信を制限されている"
circle-icons: "円形のアイコンを使用"
+ contrasted-acct: "ユーザー名にコントラストを付ける"
timeline: "タイムライン"
show-reply-target: "リプライ先を表示する"
show-my-renotes: "自分の行ったRenoteを表示する"
diff --git a/src/client/app/common/views/components/acct.vue b/src/client/app/common/views/components/acct.vue
index 2b5efe609c..bd7833f1a9 100644
--- a/src/client/app/common/views/components/acct.vue
+++ b/src/client/app/common/views/components/acct.vue
@@ -1,7 +1,7 @@
@{{ user.username }}
- @{{ user.host || host }}
+ @{{ user.host || host }}
@@ -20,6 +20,6 @@ export default Vue.extend({
diff --git a/src/client/app/desktop/views/components/settings.vue b/src/client/app/desktop/views/components/settings.vue
index 7d6f1d55fb..7cab7ec983 100644
--- a/src/client/app/desktop/views/components/settings.vue
+++ b/src/client/app/desktop/views/components/settings.vue
@@ -44,6 +44,7 @@
+
@@ -376,6 +377,12 @@ export default Vue.extend({
value: v
});
},
+ onChangeContrastedAcct(v) {
+ this.$store.dispatch('settings/set', {
+ key: 'contrastedAcct',
+ value: v
+ });
+ },
onChangeILikeSushi(v) {
this.$store.dispatch('settings/set', {
key: 'iLikeSushi',
diff --git a/src/client/app/mobile/views/pages/settings.vue b/src/client/app/mobile/views/pages/settings.vue
index 4a148dc9d2..29fe067a08 100644
--- a/src/client/app/mobile/views/pages/settings.vue
+++ b/src/client/app/mobile/views/pages/settings.vue
@@ -13,6 +13,7 @@
%i18n:@dark-mode%
%i18n:@circle-icons%
+ %i18n:@contrasted-acct%
%i18n:common.i-like-sushi%
%i18n:common.disable-animated-mfm%
%i18n:common.show-reversi-board-labels%
@@ -218,6 +219,13 @@ export default Vue.extend({
});
},
+ onChangeContrastedAcct(v) {
+ this.$store.dispatch('settings/set', {
+ key: 'contrastedAcct',
+ value: v
+ });
+ },
+
onChangeILikeSushi(v) {
this.$store.dispatch('settings/set', {
key: 'iLikeSushi',
diff --git a/src/client/app/store.ts b/src/client/app/store.ts
index 08dd9f9920..16ce78ea9f 100644
--- a/src/client/app/store.ts
+++ b/src/client/app/store.ts
@@ -16,6 +16,7 @@ const defaultSettings = {
suggestRecentHashtags: true,
showClockOnHeader: true,
circleIcons: true,
+ contrastedAcct: true,
gradientWindowHeader: false,
showReplyTarget: true,
showMyRenotes: true,