This repository was archived by the owner on Jan 19, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
src/components/design-system/molecules Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ` }
You can’t perform that action at this time.
0 commit comments