import { Theme , createStyles } from '@material-ui/core/styles' ; export default ( { palette , screens } ) => createStyles ( { menu : { backgroundColor : palette . common . white } , scrollView : { maxHeight : '26.875rem' , overflowY : 'auto' , [ screens ( 'small' , 'medium' ) ] : { maxHeight : '26.875rem' } , '@media screen and (max-height: 585px)' : { maxHeight : 'calc(50vh - 4.8125rem)' , [ screens ( 'small' , 'medium' ) ] : { maxHeight : 'calc(50vh - 4.3125rem)' } } } } ) ;