From 587f2c420aeb5d89ca5b60d3646d24f54bbb84ce Mon Sep 17 00:00:00 2001 From: Yuicho <43964607+yuicho@users.noreply.github.com> Date: Wed, 10 Apr 2024 05:20:53 +0900 Subject: [PATCH 1/3] Fix media alt textarea color MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 投稿に添付したメディアの編集モーダルウインドウに存在する「視覚的に閲覧が難しいユーザーへの説明」を入力するテキストエリアの色を修正 --- app/javascript/styles/full-dark/diff.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/app/javascript/styles/full-dark/diff.scss b/app/javascript/styles/full-dark/diff.scss index 1c98d950372ec0..14357f48c49919 100644 --- a/app/javascript/styles/full-dark/diff.scss +++ b/app/javascript/styles/full-dark/diff.scss @@ -1,6 +1,7 @@ input[type='text']:not(#cw-spoiler-input), input[type='search'], input[type='number'], +textarea#upload-modal__description, input:not([type]) { background: $ui-base-color !important; color: $primary-text-color !important; From 7e12966d612bacfcc7ff2731bc6e93dc7fcfb829 Mon Sep 17 00:00:00 2001 From: Yuicho <43964607+yuicho@users.noreply.github.com> Date: Wed, 10 Apr 2024 05:23:24 +0900 Subject: [PATCH 2/3] Fix compose-form__warning color MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 投稿画面にて一部の公開範囲などを選んだ際に、入力欄の上部に表示される .compose-form__warning の背景色を修正(文字の視認性向上のため) --- app/javascript/styles/full-dark/diff.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/app/javascript/styles/full-dark/diff.scss b/app/javascript/styles/full-dark/diff.scss index 14357f48c49919..c7deb424e00f16 100644 --- a/app/javascript/styles/full-dark/diff.scss +++ b/app/javascript/styles/full-dark/diff.scss @@ -25,6 +25,7 @@ input:not([type]) { color: $classic-secondary-color !important; } +.compose-form__warning, .modal-root__modal { background: lighten($classic-base-color, 12%); } From d74667054f32dddb4f05ea41bb3a0d304894a72b Mon Sep 17 00:00:00 2001 From: Yuicho <43964607+yuicho@users.noreply.github.com> Date: Wed, 10 Apr 2024 06:27:06 +0900 Subject: [PATCH 3/3] fix CSS Selector MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit idの指定を`#~~~` から `[id=~~~]` に変更 --- app/javascript/styles/full-dark/diff.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/styles/full-dark/diff.scss b/app/javascript/styles/full-dark/diff.scss index c7deb424e00f16..9483e7ecb6b661 100644 --- a/app/javascript/styles/full-dark/diff.scss +++ b/app/javascript/styles/full-dark/diff.scss @@ -1,7 +1,7 @@ input[type='text']:not(#cw-spoiler-input), input[type='search'], input[type='number'], -textarea#upload-modal__description, +textarea[id='upload-modal__description'], input:not([type]) { background: $ui-base-color !important; color: $primary-text-color !important;