-
Notifications
You must be signed in to change notification settings - Fork 7
/
theme.js
130 lines (129 loc) · 3.32 KB
/
theme.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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
import React, {StyleSheet, Dimensions, PixelRatio} from "react-native";
const {width, height, scale} = Dimensions.get("window"),
vw = width / 100,
vh = height / 100,
vmin = Math.min(vw, vh),
vmax = Math.max(vw, vh);
export default StyleSheet.create({
"*": {
"boxSizing": "border-box"
},
"body": {
"backgroundColor": "#fafafa",
"fontFamily": "Roboto,sans-serif",
"fontSmoothing": "antialiased",
"WebkitFontSmoothing": "antialiased",
"marginTop": 0,
"marginRight": 0,
"marginBottom": 0,
"marginLeft": 0,
"minHeight": "100%",
"paddingTop": 0,
"paddingRight": 0,
"paddingBottom": 0,
"paddingLeft": 0,
"textRendering": "optimizeLegibility"
},
"mui-icon": {
"fontFamily": "'material-ui-icons'",
"speak": "none",
"fontStyle": "normal",
"fontWeight": "normal",
"fontVariant": "normal",
"textTransform": "none",
"lineHeight": 1,
"WebkitFontSmoothing": "antialiased",
"MozOsxFontSmoothing": "grayscale"
},
"mui-icongithub": {
"position": "absolute",
"paddingTop": 10,
"paddingRight": 10,
"paddingBottom": 10,
"paddingLeft": 10,
"fontSize": 42,
"right": 0,
"top": 0,
"textDecoration": "none",
"color": "rgba(255,255,255,.83)",
"transitionDuration": ".3s"
},
"mui-icongithub:hover": {
"color": "#fff"
},
"mui-icongithub:before": {
"content": "\\e625"
},
"page__title": {
"backgroundColor": "#fb8c00",
"color": "#fff",
"paddingTop": 32,
"paddingRight": 16,
"paddingBottom": 16,
"paddingLeft": 16
},
"page__title-main": {
"position": "relative",
"marginTop": 0,
"marginRight": 0,
"marginBottom": 0,
"marginLeft": 0,
"fontWeight": "400",
"fontSize": 56,
"verticalAlign": "baseline"
},
"page__title-desc": {
"fontStyle": "italic"
},
"card": {
"boxShadow": "rgba(0, 0, 0, 0.117647) 0 1px 6px, rgba(0, 0, 0, 0.117647) 0 1px 4px",
"width": "60%",
"marginTop": 10,
"marginRight": 10,
"marginBottom": 10,
"marginLeft": 10,
"backgroundColor": "#fff"
},
"card__head": {
"paddingTop": 16,
"paddingRight": 16,
"paddingBottom": 0,
"paddingLeft": 16
},
"card__title": {
"marginTop": 0,
"marginRight": 0,
"marginBottom": 0,
"marginLeft": 0,
"fontWeight": "500",
"fontSize": 20
},
"card__conent": {
"paddingTop": 16,
"paddingRight": 16,
"paddingBottom": 16,
"paddingLeft": 16
},
"gallery": {
"marginTop": 1.5,
"marginRight": 0,
"marginBottom": 1.5,
"marginLeft": 0,
"paddingTop": 0,
"paddingRight": 0,
"paddingBottom": 0,
"paddingLeft": 0,
"columnCount": 2,
"columnGap": 1.5,
"fontSize": 0.85
},
"gallery__image": {
"backgroundColor": "#eee",
"display": "inline-block",
"marginTop": 0,
"marginRight": 0,
"marginBottom": 1,
"marginLeft": 0,
"width": "100%"
}
});