From 6bf00156f54c0a4482d61860ea5a202a9aade7d5 Mon Sep 17 00:00:00 2001 From: eshanized Date: Fri, 27 Dec 2024 21:27:23 +0530 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20style(=5Fbar):=20make=20search=20ba?= =?UTF-8?q?r=20smaller?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/SearchBar.tsx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/components/SearchBar.tsx b/src/components/SearchBar.tsx index 1401e21..89fcd1a 100644 --- a/src/components/SearchBar.tsx +++ b/src/components/SearchBar.tsx @@ -1,4 +1,3 @@ -import React from 'react'; import { Search } from 'lucide-react'; interface SearchBarProps { @@ -8,17 +7,17 @@ interface SearchBarProps { export function SearchBar({ value, onChange }: SearchBarProps) { return ( -
+
- +
onChange(e.target.value)} placeholder="Search packages..." - className="block w-full pl-10 pr-4 py-3 border border-nord-4 dark:border-nord-2 rounded-lg bg-nord-5 dark:bg-nord-1 focus:ring-2 focus:ring-nord-8 focus:border-transparent shadow-sm text-nord-0 dark:text-nord-6 placeholder-nord-3 dark:placeholder-nord-4" + className="block w-full pl-10 pr-4 py-3 border-2 border-nord-4 dark:border-nord-2 rounded-xl bg-nord-5 dark:bg-nord-1 focus:ring-2 focus:ring-nord-8 focus:border-transparent text-nord-0 dark:text-nord-6 placeholder-nord-3 dark:placeholder-nord-4 transition-all ease-in-out duration-200 shadow-md hover:shadow-lg" />
); -} \ No newline at end of file +}