fix: improve SearchForm text visibility with darker color

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-05 14:44:10 +08:00
parent d22aa276e8
commit 0b86887680

View File

@@ -58,7 +58,7 @@ export default function SearchForm({ onSearch }: SearchFormProps) {
setSelectedProject(e.target.value);
setSelectedVersion('');
}}
className="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500"
className="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500 text-gray-900"
required
>
<option value=""></option>
@@ -83,7 +83,7 @@ export default function SearchForm({ onSearch }: SearchFormProps) {
value={selectedVersion}
onChange={(e) => setSelectedVersion(e.target.value)}
disabled={!selectedProject}
className="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500 disabled:bg-gray-100 disabled:cursor-not-allowed"
className="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500 disabled:bg-gray-100 disabled:cursor-not-allowed text-gray-900"
required
>
<option value=""></option>
@@ -109,7 +109,7 @@ export default function SearchForm({ onSearch }: SearchFormProps) {
value={commitId}
onChange={(e) => setCommitId(e.target.value)}
placeholder="输入 commit id..."
className="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500"
className="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500 text-gray-900"
/>
</div>