import { Theme , createStyles } from '@material-ui/core/styles' ; import { rem } from '@toptal/picasso-shared' ; export default ( { palette } ) => createStyles ( { root : { borderBottom : `1px solid ${ palette . grey . lighter2 }` , paddingTop : rem ( '5px' ) , paddingBottom : rem ( '5px' ) } , label : { lineHeight : rem ( '22px' ) } , error : { lineHeight : rem ( '16px' ) } } ) ;