fix: OPTIC-2146: PerRegion TextArea input is barely visible in dark mode #7513
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Reason for change
The text entered into the perRegion TextArea input field was barely visible when the application was in Dark Mode. This was due to the text color not having sufficient contrast against the background color of the textarea. The fix involves updating the CSS for the textarea input in Dark Mode to ensure the text is clearly visible. Specifically, the text color is now explicitly set to a color that provides better contrast against the dark background.
Other improvements were made to ensure the default, hover and focus states of the TextArea input match the overall look and feel of the application (border-color, focus outline, etc).
Screenshots
Before:

After:

Rollout strategy
No specific rollout strategy is required for this change as it is a small visual fix.
Testing
The following steps were performed to verify the fix (data provided didn't work for Quick View):
Risks
The risk associated with this change is minimal as it only involves a CSS modification to improve text visibility. There are no anticipated functional regressions.
Reviewer notes
Please verify that the CSS changes in
web/libs/editor/src/tags/control/TextArea/TextArea.scss
correctly address the contrast issue in Dark Mode and do not introduce any unintended visual side effects in other themes or parts of the application.