Вы можете переопределить значение gutterBottom
с помощью theme overrides
:
const theme = createMuiTheme({
overrides: {
MuiTypography: {
gutterBottom: {
marginBottom: 16,
},
},
},
});
Вы можете даже основать его на глобальном spacing
значении, выделив "Переменные base / core "в их собственную тему, и все остальное строим на ней, то есть:
const baseTheme = createMuiTheme({
spacing: 8,
});
const theme = createMuiTheme({
...baseTheme,
overrides: {
MuiTypography: {
gutterBottom: {
marginBottom: baseTheme.spacing(2), // 16px
},
},
},
});