-
-
Save adrianhajdin/9867aefce5318f27c95990553f428c6e to your computer and use it in GitHub Desktop.
import { makeStyles } from '@material-ui/core/styles'; | |
export default makeStyles(() => ({ | |
media: { | |
height: 260, | |
}, | |
cardContent: { | |
display: 'flex', | |
justifyContent: 'space-between', | |
}, | |
cartActions: { | |
justifyContent: 'space-between', | |
}, | |
buttons: { | |
display: 'flex', | |
alignItems: 'center', | |
}, | |
})); |
import { makeStyles } from '@material-ui/core/styles'; | |
export default makeStyles((theme) => ({ | |
toolbar: theme.mixins.toolbar, | |
title: { | |
marginTop: '5%', | |
}, | |
emptyButton: { | |
minWidth: '150px', | |
[theme.breakpoints.down('xs')]: { | |
marginBottom: '5px', | |
}, | |
[theme.breakpoints.up('xs')]: { | |
marginRight: '20px', | |
}, | |
}, | |
checkoutButton: { | |
minWidth: '150px', | |
}, | |
link: { | |
textDecoration: 'none', | |
}, | |
cardDetails: { | |
display: 'flex', | |
marginTop: '10%', | |
width: '100%', | |
justifyContent: 'space-between', | |
}, | |
})); |
import { makeStyles } from '@material-ui/core/styles'; | |
export default makeStyles((theme) => ({ | |
appBar: { | |
position: 'relative', | |
}, | |
toolbar: theme.mixins.toolbar, | |
layout: { | |
marginTop: '5%', | |
width: 'auto', | |
marginLeft: theme.spacing(2), | |
marginRight: theme.spacing(2), | |
[theme.breakpoints.up(600 + theme.spacing(2) * 2)]: { | |
width: 600, | |
marginLeft: 'auto', | |
marginRight: 'auto', | |
}, | |
}, | |
paper: { | |
marginTop: theme.spacing(3), | |
marginBottom: theme.spacing(3), | |
padding: theme.spacing(2), | |
[theme.breakpoints.down('xs')]: { | |
width: '100%', | |
marginTop: 60, | |
}, | |
[theme.breakpoints.up(600 + theme.spacing(3) * 2)]: { | |
marginTop: theme.spacing(6), | |
marginBottom: theme.spacing(6), | |
padding: theme.spacing(3), | |
}, | |
}, | |
stepper: { | |
padding: theme.spacing(3, 0, 5), | |
}, | |
buttons: { | |
display: 'flex', | |
justifyContent: 'flex-end', | |
}, | |
button: { | |
marginTop: theme.spacing(3), | |
marginLeft: theme.spacing(1), | |
}, | |
divider: { | |
margin: '20px 0', | |
}, | |
spinner: { | |
display: 'flex', | |
justifyContent: 'center', | |
alignItems: 'center', | |
}, | |
})); |
import { makeStyles } from '@material-ui/core/styles'; | |
export default makeStyles((theme) => ({ | |
toolbar: theme.mixins.toolbar, | |
content: { | |
flexGrow: 1, | |
backgroundColor: theme.palette.background.default, | |
padding: theme.spacing(3), | |
}, | |
root: { | |
flexGrow: 1, | |
}, | |
})); |
import { makeStyles } from '@material-ui/core/styles'; | |
export default makeStyles(() => ({ | |
root: { | |
maxWidth: '100%', | |
}, | |
media: { | |
height: 0, | |
paddingTop: '56.25%', // 16:9 | |
}, | |
cardActions: { | |
display: 'flex', | |
justifyContent: 'flex-end', | |
}, | |
cardContent: { | |
display: 'flex', | |
justifyContent: 'space-between', | |
}, | |
})); |
May God bless you bro.
Thanks guy for this great tutorial
thanks boss
za3im hpp
THANK YOU MAN
Thanks for sharing
guys in which folder to add these files please help
this is where you want the main thing it should be inside the src/
for example you can put them in a styles/folder inside the src/
productStyles.js
here background color doesn't apply.
hello i am not able to install these two please help :
npm install @material-ui/core and @material-ui/icons
Great work
hello i am not able to install these two please help :
npm install @material-ui/core and @material-ui/icons
go to MaterialUi homepage from your browser and get the updated installation syntax
@TobiShina : thanks i will try
Thank you very much
this is so helpful thing
go to he material ui website and get the updated version of npm
Cant thank you enough!