Skip to content
This repository was archived by the owner on Jan 19, 2025. It is now read-only.

Commit f607277

Browse files
committed
Fix search input box
1 parent 566a3ab commit f607277

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/components/design-system/molecules/search.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,24 +118,25 @@ const SearchBoxInput = styled.input<TransientProps<StartSearchProps>>`
118118
border-radius: 50px;
119119
box-sizing: border-box;
120120
font-size: ${(props) => props.theme.fontSizes[3]};
121-
color: ${(props) => props.theme.light.textAbovePrimaryColor};
122121
border: 2px solid ${(props) => props.theme.light.textAbovePrimaryColor};
123122
outline: none;
124123
transition: 0.5s;
124+
color: transparent;
125125
126126
${mediaQuery.dark} {
127-
color: ${(props) => props.theme.dark.textAbovePrimaryColor};
128127
border: 2px solid ${(props) => props.theme.dark.textAbovePrimaryColor};
129128
}
130129
131130
${(props) =>
132131
props.$startSearch &&
133132
css`
133+
color: ${(props) => props.theme.light.textAbovePrimaryColor};
134134
width: 200px;
135135
background: ${(props) => props.theme.light.generalBackground};
136136
${borderRadius};
137137
138138
${mediaQuery.dark} {
139+
color: ${(props) => props.theme.dark.textAbovePrimaryColor};
139140
background: ${(props) => props.theme.dark.generalBackground};
140141
}
141142
`}

0 commit comments

Comments
 (0)