1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
import { createMuiTheme } from '@material-ui/core/styles'
import createPalette from "@material-ui/core/styles/createPalette";
const colorScheme = {
dark: '#232020',
grey: '#3a3535',
white: '#f4f4f4',
orange: '#ff7315',
};
const palette = createPalette({
primary: {
main: colorScheme.dark,
},
secondary: {
main: colorScheme.grey,
},
white: {
main: colorScheme.white,
},
orange: {
main: colorScheme.orange,
},
});
palette.background = {
default: palette.secondary.main,
paper: palette.secondary.dark,
};
palette.text = {
primary: palette.white.main,
secondary: palette.orange.main,
};
const theme = createMuiTheme({
palette
});
export default theme;
|