import { colors , createStyles , Theme } from "@material-ui/core" ; /**
 * Styles
 */ export type Styles = typeof styles ; param theme return export const styles = ( { palette , spacing } ) => createStyles ( { root : { color : palette . common . white , fontSmoothing : "antialiased" , fontWeight : 700 , paddingTop : spacing . unit * 2 , paddingRight : spacing . unit * 4 , paddingBottom : spacing . unit * 2 , paddingLeft : spacing . unit * 4 , transition : "background-color .25s" } , success : { backgroundColor : colors . green . A700 } , error : { backgroundColor : palette . error . main } } ) ;