-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbase.styl
170 lines (138 loc) · 4.49 KB
/
base.styl
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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
json('./colors.json')
// https://github.com/PolymerElements/paper-styles
zp-shadow-transition()
transition: box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1)
zp-shadow-2()
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14),
0 1px 5px 0 rgba(0, 0, 0, 0.12),
0 3px 1px -2px rgba(0, 0, 0, 0.2)
zp-shadow-3()
box-shadow: 0 3px 4px 0 rgba(0, 0, 0, 0.14),
0 1px 8px 0 rgba(0, 0, 0, 0.12),
0 3px 3px -2px rgba(0, 0, 0, 0.4)
zp-shadow-4()
box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.14),
0 1px 10px 0 rgba(0, 0, 0, 0.12),
0 2px 4px -1px rgba(0, 0, 0, 0.4)
zp-shadow-6()
box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.14),
0 1px 18px 0 rgba(0, 0, 0, 0.12),
0 3px 5px -1px rgba(0, 0, 0, 0.4)
zp-shadow-8()
box-shadow: 0 8px 10px 1px rgba(0, 0, 0, 0.14),
0 3px 14px 2px rgba(0, 0, 0, 0.12),
0 5px 5px -3px rgba(0, 0, 0, 0.4)
zp-shadow-12()
box-shadow: 0 12px 16px 1px rgba(0, 0, 0, 0.14),
0 4px 22px 3px rgba(0, 0, 0, 0.12),
0 6px 7px -4px rgba(0, 0, 0, 0.4)
zp-shadow-16()
box-shadow: 0 16px 24px 2px rgba(0, 0, 0, 0.14),
0 6px 30px 5px rgba(0, 0, 0, 0.12),
0 8px 10px -5px rgba(0, 0, 0, 0.4)
zp-shadow-24()
box-shadow: 0 24px 38px 3px rgba(0, 0, 0, 0.14),
0 9px 46px 8px rgba(0, 0, 0, 0.12),
0 11px 15px -7px rgba(0, 0, 0, 0.4)
zp-shadow-transition-filter()
transition: filter 0.28s cubic-bezier(0.4, 0, 0.2, 1)
// TODO: technically unequivalent because of missing blur-spread parameter
zp-shadow-2-filter()
filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.14)) \
drop-shadow(0 1px 5px rgba(0, 0, 0, 0.12)) \
drop-shadow(0 3px 1px rgba(0, 0, 0, 0.2))
zp-shadow-3-filter()
filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.14)) \
drop-shadow(0 1px 8px rgba(0, 0, 0, 0.12)) \
drop-shadow(0 3px 3px rgba(0, 0, 0, 0.4))
zp-shadow-4-filter()
filter: drop-shadow(0 4px 5px rgba(0, 0, 0, 0.14)) \
drop-shadow(0 1px 10px rgba(0, 0, 0, 0.12)) \
drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4))
zp-shadow-6-filter()
filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.14)) \
drop-shadow(0 1px 18px rgba(0, 0, 0, 0.12)) \
drop-shadow(0 3px 5px rgba(0, 0, 0, 0.4))
zp-shadow-8-filter()
filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.14)) \
drop-shadow(0 3px 14px rgba(0, 0, 0, 0.12)) \
drop-shadow(0 5px 5px rgba(0, 0, 0, 0.4))
zp-shadow-12-filter()
filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.14)) \
drop-shadow(0 4px 22px rgba(0, 0, 0, 0.12)) \
drop-shadow(0 6px 7px rgba(0, 0, 0, 0.4))
zp-shadow-16-filter()
filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.14)) \
drop-shadow(0 6px 30px rgba(0, 0, 0, 0.12)) \
drop-shadow(0 8px 10px rgba(0, 0, 0, 0.4))
zp-shadow-24-filter()
filter: drop-shadow(0 24px 38px rgba(0, 0, 0, 0.14)) \
drop-shadow(0 9px 46px rgba(0, 0, 0, 0.12)) \
drop-shadow(0 11px 15px rgba(0, 0, 0, 0.4))
zp-font-h1()
font-family: Roboto
font-weight: 300
font-size: 96 * 0.0625rem
letter-spacing: -1.5px
zp-font-h2()
font-family: Roboto
font-weight: 300
font-size: 60 * 0.0625rem
letter-spacing: -0.5 * 0.0625rem
zp-font-h3()
font-family: Roboto
font-weight: 400
font-size: 48 * 0.0625rem
letter-spacing: 0
zp-font-h4()
font-family: Roboto
font-weight: 400
font-size: 34 * 0.0625rem
letter-spacing: 0.25 * 0.0625rem
zp-font-h5()
font-family: Roboto
font-weight: 400
font-size: 24 * 0.0625rem
letter-spacing: 0
zp-font-h6()
font-family: Roboto
font-weight: 500
font-size: 20 * 0.0625rem
letter-spacing: 0.15 * 0.0625rem
zp-font-subtitle1()
font-family: Roboto
font-weight: 400
font-size: 16 * 0.0625rem
letter-spacing: 0.15 * 0.0625rem
zp-font-subtitle2()
font-family: Roboto
font-weight: 500
font-size: 14 * 0.0625rem
letter-spacing: 0.1 * 0.0625rem
zp-font-body1()
font-family: Roboto
font-weight: 400
font-size: 16 * 0.0625rem
letter-spacing: 0.5 * 0.0625rem
zp-font-body2()
font-family: Roboto
font-weight: 400
font-size: 14 * 0.0625rem
letter-spacing: 0.25 * 0.0625rem
zp-font-button()
font-family: Roboto
font-weight: 500
font-size: 14 * 0.0625rem
text-transform: uppercase
letter-spacing: 0.75 * 0.0625rem
zp-font-caption()
font-family: Roboto
font-weight: 400
font-size: 12 * 0.0625rem
letter-spacing: 0.4 * 0.0625rem
zp-font-overline()
font-family: Roboto
font-weight: 400
font-size: 10 * 0.0625rem
text-transform: uppercase
letter-spacing: 1.5 * 0.0625rem