Skip to content

Commit ae4c0ce

Browse files
authored
Merge branch 'master' into generate/enhancement
2 parents a230f76 + 1abcf4e commit ae4c0ce

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/custom/StyledSearchBar/style.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
import { styled } from '@mui/material';
22
import { 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

1415
export 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)': {

0 commit comments

Comments
 (0)