From 8a9b72ef76e6b499d70acf992dbb7f7fb15b3786 Mon Sep 17 00:00:00 2001 From: Jorrin Date: Sun, 24 Mar 2024 21:15:06 +0100 Subject: [PATCH] fix search bar focus color --- apps/expo/src/components/ui/Searchbar.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/expo/src/components/ui/Searchbar.tsx b/apps/expo/src/components/ui/Searchbar.tsx index 2587d76..dd62f45 100644 --- a/apps/expo/src/components/ui/Searchbar.tsx +++ b/apps/expo/src/components/ui/Searchbar.tsx @@ -68,6 +68,10 @@ export function SearchBar({ ref={inputRef} placeholder="What are you looking for?" width="80%" + borderColor={isFocused ? theme.colorTransparent : theme.inputBorder} + backgroundColor={ + isFocused ? theme.searchFocused : theme.searchBackground + } /> );