File tree Expand file tree Collapse file tree
src/custom/StyledSearchBar Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import { styled } from '@mui/material' ;
22import { InputAdornment , OutlinedInput } from '../../base' ;
33
4- export const StyledSearchInput = styled ( OutlinedInput ) ( ( { style } ) => ( {
4+ export const StyledSearchInput = styled ( OutlinedInput ) ( ( { style, theme } ) => ( {
55 width : '100%' ,
66 '@media (max-width: 590px)' : {
77 marginLeft : '0.25rem' ,
88 paddingLeft : '0.25rem'
99 } ,
1010 display : 'flex' ,
11+ backgroundColor : theme . palette . background . surfaces ,
1112 ...style
1213} ) ) ;
1314
1415export const InputAdornmentEnd = styled ( InputAdornment ) ( ( { theme } ) => ( {
15- borderLeft : `1px solid ${ theme . palette . border . normal } ` ,
16+ borderLeft : `1px solid ${ theme . palette . background . tertiary } ` ,
1617 height : '30px' ,
1718 paddingLeft : '10px' ,
1819 '@media (max-width: 590px)' : {
You can’t perform that action at this time.
0 commit comments