fix search bar focus color

This commit is contained in:
Jorrin
2024-03-24 21:15:06 +01:00
parent 7160d3c137
commit 8a9b72ef76

View File

@@ -68,6 +68,10 @@ export function SearchBar({
ref={inputRef} ref={inputRef}
placeholder="What are you looking for?" placeholder="What are you looking for?"
width="80%" width="80%"
borderColor={isFocused ? theme.colorTransparent : theme.inputBorder}
backgroundColor={
isFocused ? theme.searchFocused : theme.searchBackground
}
/> />
</View> </View>
); );