1const theme = createMuiTheme({
2 spacing: [0, 4, 8, 16, 32, 64],
3});
4
5theme.spacing(2); // = 8
1const theme = {
2 spacing: [0, 2, 3, 5, 8],
3}
4
5<Box m={-2} /> // margin: -3px;
6<Box m={0} /> // margin: 0px;
7<Box m={2} /> // margin: 3px;
1<Box m={2} pt={3}>
2 <Button color="default">
3 Your Text
4 </Button>
5</Box>