/
packageInfo.js
executable file
·56 lines (54 loc) · 1.16 KB
/
packageInfo.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
import { flexContainer, defaultFont, grayColor } from 'styles/variables';
import { darken } from '@material-ui/core/styles/colorManipulator';
const styles = theme => ({
flexContainer: {
...flexContainer,
flexDirection: 'column'
},
root: {
flexGrow: 1,
maxWidth: 752
},
paper: {
backgroundColor: theme.palette.background.paper
},
title: {
margin: `${theme.spacing(1) * 4}px 0 ${theme.spacing(2)}px`
},
listItem: {
padding: theme.spacing(1) / 2,
margin: 0
},
secondaryColor: {
color: theme.palette.common.white,
backgroundColor: theme.palette.secondary.light
},
warningColor: {
color: theme.palette.common.white,
backgroundColor: theme.palette.error.light
},
errorColor: {
color: theme.palette.common.white,
backgroundColor: theme.palette.error.light
},
label: {
...defaultFont,
fontSize: 20,
color: grayColor
},
labelMini: {
...defaultFont,
fontSize: 16,
color: grayColor
},
link: {
...defaultFont,
fontSize: 16,
color: grayColor,
textDecoration: 'none',
'&:hover': {
color: darken(grayColor, 0.4)
}
}
});
export default styles;