feat(ui): refine search input focus states

This commit is contained in:
zetaloop
2026-04-25 21:51:24 +08:00
parent ac382960dd
commit 904148bd55
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -72,7 +72,7 @@ export default function HomePage() {
type="text" type="text"
name="q" name="q"
placeholder="搜索陪玩、店铺、游戏..." placeholder="搜索陪玩、店铺、游戏..."
className="w-full border-border bg-card shadow-sm transition-shadow focus-visible:shadow-md" className="w-full border-border bg-card shadow-sm transition-colors focus-visible:border-primary"
/> />
</form> </form>
</div> </div>
+1 -1
View File
@@ -567,7 +567,7 @@ function SearchPageContent() {
icon={<Search />} icon={<Search />}
type="search" type="search"
placeholder="搜索陪玩、游戏、标签..." placeholder="搜索陪玩、游戏、标签..."
className="border-border bg-card shadow-sm transition-shadow focus-visible:shadow-md" className="border-border bg-card shadow-sm transition-colors focus-visible:border-primary"
value={searchQuery} value={searchQuery}
onChange={(e) => setSearchQuery(e.target.value)} onChange={(e) => setSearchQuery(e.target.value)}
/> />