-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
65 lines (58 loc) · 1.21 KB
/
App.js
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
import CssBaseline from '@material-ui/core/CssBaseline';
import Container from '@material-ui/core/Container';
import Header from './components/Header';
import List from './components/List';
import { ThemeProvider, unstable_createMuiStrictModeTheme } from '@material-ui/core/styles';
import './App.css';
const evTheme = unstable_createMuiStrictModeTheme({
overrides: {
MuiCardHeader: {
root: {
padding: 15,
"&:last-child": {
paddingBottom: 0,
},
},
},
MuiCardContent: {
root: {
padding: 12,
"&:last-child": {
paddingBottom: 0,
},
},
},
},
spacing: 8,
typography: {
fontFamily: [
' Inter ',
' sans-serif ',
].join(','),
},
palette: {
neutral: {
main: '#666',
},
primary: {
main: '#ff0000',
},
secondary: {
main: '#000000',
},
},
});
function App() {
return (
<ThemeProvider theme={evTheme}>
<CssBaseline />
<div className="App">
<Container maxWidth="xl">
<Header/>
<List/>
</Container>
</div>
</ThemeProvider>
);
}
export default App;