fix: improve dropdown option contrast for readability

Add explicit background and text color styling to select option
elements to fix poor contrast that made dropdown options illegible.

Changes:
- Add option styling to settings component select dropdown
- Add option styling to admin reports component select dropdown
- Set background to match form background color
- Set text color to match standard text color
- Ensures dropdown options are readable on all backgrounds
This commit is contained in:
2026-02-19 20:42:06 -08:00
committed by Naomi Carrigan
parent 6e93ea140f
commit 1f62d64ace
2 changed files with 10 additions and 0 deletions
@@ -1401,6 +1401,11 @@ import { ProfileReportWithUsers, CommentReportWithDetails, ReportStatus, ReportR
cursor: pointer;
}
select.form-control option {
background: var(--witch-moon);
color: var(--witch-purple);
}
textarea.form-control {
resize: vertical;
min-height: 100px;
@@ -304,6 +304,11 @@ import { User, PrimaryBadge } from '@library/shared-types';
cursor: pointer;
}
.form-group select option {
background: #1a1a2e;
color: var(--text-colour, #e0e0e0);
}
.form-group input[type="text"]:focus,
.form-group textarea:focus,
.form-group select:focus {