Mixonomer/src/js/Theme.js

47 lines
1000 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',
2021-07-05 23:31:13 +01:00
// https://colorhunt.co/palette/907fa4a58faaa6d6d6ededd0
primary: {
2021-07-05 23:31:13 +01:00
main: '#907FA4',
},
secondary: {
2021-07-05 23:31:13 +01:00
main: '#A6D6D6',
2020-01-29 00:12:41 +00:00
},
2021-07-05 23:31:13 +01:00
// https://colorhunt.co/palette/de89717b6079a7d0cdffe9d6
2020-01-29 00:12:41 +00:00
error: {
2021-07-05 23:31:13 +01:00
main: '#DE8971'
},
info: {
main: "#A7D0CD"
},
},
status: {
danger: 'orange',
}
});
GlobalTheme = responsiveFontSizes(GlobalTheme);
export default GlobalTheme;