add header and background design

This commit is contained in:
Jorrin
2024-04-01 21:59:03 +02:00
parent 9ace6afc9e
commit 908da0bd24
14 changed files with 1003 additions and 963 deletions

View File

@@ -17,7 +17,6 @@ export const MWInput = styled(Input, {
outlineStyle: "none",
focusStyle: {
borderColor: "$colorTransparent",
backgroundColor: "$searchFocused",
},
},
},

View File

@@ -51,7 +51,6 @@ export function SearchBar({
return (
<View
marginBottom={12}
flexDirection="row"
alignItems="center"
borderRadius={999}
@@ -67,8 +66,7 @@ export function SearchBar({
onChangeText={handleChange}
ref={inputRef}
placeholder="What are you looking for?"
width="80%"
borderColor={isFocused ? theme.colorTransparent : theme.inputBorder}
width="75%"
backgroundColor={
isFocused ? theme.searchFocused : theme.searchBackground
}