Running Material UI 1.0.0-beta.24
I'm setting a new theme using createMuiTheme
:
import {createMuiTheme} from 'material-ui/styles';
const theme = createMuiTheme({
typography: {
fontSize: 16
}
});
export default theme;
How can I access the theme I'm overriding directly here ? I'd like to do this, which is not working :
import {createMuiTheme} from 'material-ui/styles';
const theme = createMuiTheme({
typography: {
fontSize: theme.typography.fontSize + 2
}
});
export default theme;