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