Mixonomer/src/js/Theme.js

42 lines
814 B
JavaScript
Raw Normal View History

import { createMuiTheme, responsiveFontSizes } from '@material-ui/core/styles';
let GlobalTheme = createMuiTheme({
root: {
display: 'flex',
flexDirection: 'column',
alignItems: 'center',
},
2020-01-29 00:12:41 +00:00
spacing: 4,
typography: {
button: {
fontSize: '1rem',
},
},
paper: {
display: 'flex',
spacing: 5
},
card: {
2020-01-29 00:12:41 +00:00
marginTop: 24,
display: 'flex',
spacing: 5
},
palette: {
type: 'dark',
primary: {
2020-01-29 00:12:41 +00:00
main: '#1976d2',
},
secondary: {
2020-01-29 00:12:41 +00:00
main: '#dc004e',
},
error: {
main: '#f44336'
}
},
status: {
danger: 'orange',
}
});
GlobalTheme = responsiveFontSizes(GlobalTheme);
export default GlobalTheme;