From 0b8688768083f96362545014d5cfd456b513c0bb Mon Sep 17 00:00:00 2001 From: tech Date: Thu, 5 Mar 2026 14:44:10 +0800 Subject: [PATCH] fix: improve SearchForm text visibility with darker color Co-Authored-By: Claude Opus 4.6 --- app/download/SearchForm.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/download/SearchForm.tsx b/app/download/SearchForm.tsx index d59cf9c..c9033d2 100644 --- a/app/download/SearchForm.tsx +++ b/app/download/SearchForm.tsx @@ -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 > @@ -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 > @@ -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" />