-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathGlobalStyles.js
More file actions
38 lines (33 loc) · 835 Bytes
/
GlobalStyles.js
File metadata and controls
38 lines (33 loc) · 835 Bytes
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
import { createStyles, makeStyles } from '@material-ui/core';
const useStyles = makeStyles(() => createStyles({
'@global': {
'*': {
boxSizing: 'border-box',
margin: 0,
padding: 0,
},
html: {
'-webkit-font-smoothing': 'antialiased',
'-moz-osx-font-smoothing': 'grayscale',
height: '100%',
width: '100%'
},
body: {
backgroundColor: '#f4f6f8',
height: '100%',
width: '100%'
},
a: {
textDecoration: 'none'
},
'#root': {
height: '100%',
width: '100%'
}
}
}));
const GlobalStyles = () => {
useStyles();
return null;
};
export default GlobalStyles;