1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-18 20:09:08 +02:00
unleash.unleash/frontend/src/component/common/SearchField/styles.ts

30 lines
704 B
TypeScript
Raw Normal View History

import { makeStyles } from '@material-ui/core/styles';
export const useStyles = makeStyles(theme => ({
container: {
display: 'flex',
alignItems: 'center',
flexWrap: 'wrap',
gap: '1rem',
},
search: {
display: 'flex',
alignItems: 'center',
// @ts-expect-error
backgroundColor: theme.palette.searchField.main,
borderRadius: '25px',
padding: '0.25rem 0.5rem',
maxWidth: '450px',
[theme.breakpoints.down('xs')]: {
width: '100%',
},
},
searchIcon: {
2022-03-01 09:03:25 +01:00
marginRight: 8,
color: theme.palette.grey[600],
},
inputRoot: {
width: '100%',
},
}));