@react-native-rethemed/material-ui-tokens 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +58 -0
- package/dist/cjs/index.d.ts +25 -0
- package/dist/cjs/index.js +49 -0
- package/dist/cjs/package.json +1 -0
- package/dist/cjs/tokens.gen.d.ts +820 -0
- package/dist/cjs/tokens.gen.js +687 -0
- package/dist/esm/index.d.ts +25 -0
- package/dist/esm/index.js +39 -0
- package/dist/esm/package.json +1 -0
- package/dist/esm/tokens.gen.d.ts +820 -0
- package/dist/esm/tokens.gen.js +684 -0
- package/package.json +74 -0
|
@@ -0,0 +1,684 @@
|
|
|
1
|
+
// Generated by scripts/generate.ts from @mui/material@9.4.0.
|
|
2
|
+
// Do not edit by hand: run `pnpm generate` instead.
|
|
3
|
+
/** Material UI's color palette (`@mui/material/colors`): `'<hue>.<shade>'`, plus `black` and `white`. */
|
|
4
|
+
export const colors = {
|
|
5
|
+
black: '#000000',
|
|
6
|
+
white: '#ffffff',
|
|
7
|
+
'red.50': '#ffebee',
|
|
8
|
+
'red.100': '#ffcdd2',
|
|
9
|
+
'red.200': '#ef9a9a',
|
|
10
|
+
'red.300': '#e57373',
|
|
11
|
+
'red.400': '#ef5350',
|
|
12
|
+
'red.500': '#f44336',
|
|
13
|
+
'red.600': '#e53935',
|
|
14
|
+
'red.700': '#d32f2f',
|
|
15
|
+
'red.800': '#c62828',
|
|
16
|
+
'red.900': '#b71c1c',
|
|
17
|
+
'red.A100': '#ff8a80',
|
|
18
|
+
'red.A200': '#ff5252',
|
|
19
|
+
'red.A400': '#ff1744',
|
|
20
|
+
'red.A700': '#d50000',
|
|
21
|
+
'pink.50': '#fce4ec',
|
|
22
|
+
'pink.100': '#f8bbd0',
|
|
23
|
+
'pink.200': '#f48fb1',
|
|
24
|
+
'pink.300': '#f06292',
|
|
25
|
+
'pink.400': '#ec407a',
|
|
26
|
+
'pink.500': '#e91e63',
|
|
27
|
+
'pink.600': '#d81b60',
|
|
28
|
+
'pink.700': '#c2185b',
|
|
29
|
+
'pink.800': '#ad1457',
|
|
30
|
+
'pink.900': '#880e4f',
|
|
31
|
+
'pink.A100': '#ff80ab',
|
|
32
|
+
'pink.A200': '#ff4081',
|
|
33
|
+
'pink.A400': '#f50057',
|
|
34
|
+
'pink.A700': '#c51162',
|
|
35
|
+
'purple.50': '#f3e5f5',
|
|
36
|
+
'purple.100': '#e1bee7',
|
|
37
|
+
'purple.200': '#ce93d8',
|
|
38
|
+
'purple.300': '#ba68c8',
|
|
39
|
+
'purple.400': '#ab47bc',
|
|
40
|
+
'purple.500': '#9c27b0',
|
|
41
|
+
'purple.600': '#8e24aa',
|
|
42
|
+
'purple.700': '#7b1fa2',
|
|
43
|
+
'purple.800': '#6a1b9a',
|
|
44
|
+
'purple.900': '#4a148c',
|
|
45
|
+
'purple.A100': '#ea80fc',
|
|
46
|
+
'purple.A200': '#e040fb',
|
|
47
|
+
'purple.A400': '#d500f9',
|
|
48
|
+
'purple.A700': '#aa00ff',
|
|
49
|
+
'deepPurple.50': '#ede7f6',
|
|
50
|
+
'deepPurple.100': '#d1c4e9',
|
|
51
|
+
'deepPurple.200': '#b39ddb',
|
|
52
|
+
'deepPurple.300': '#9575cd',
|
|
53
|
+
'deepPurple.400': '#7e57c2',
|
|
54
|
+
'deepPurple.500': '#673ab7',
|
|
55
|
+
'deepPurple.600': '#5e35b1',
|
|
56
|
+
'deepPurple.700': '#512da8',
|
|
57
|
+
'deepPurple.800': '#4527a0',
|
|
58
|
+
'deepPurple.900': '#311b92',
|
|
59
|
+
'deepPurple.A100': '#b388ff',
|
|
60
|
+
'deepPurple.A200': '#7c4dff',
|
|
61
|
+
'deepPurple.A400': '#651fff',
|
|
62
|
+
'deepPurple.A700': '#6200ea',
|
|
63
|
+
'indigo.50': '#e8eaf6',
|
|
64
|
+
'indigo.100': '#c5cae9',
|
|
65
|
+
'indigo.200': '#9fa8da',
|
|
66
|
+
'indigo.300': '#7986cb',
|
|
67
|
+
'indigo.400': '#5c6bc0',
|
|
68
|
+
'indigo.500': '#3f51b5',
|
|
69
|
+
'indigo.600': '#3949ab',
|
|
70
|
+
'indigo.700': '#303f9f',
|
|
71
|
+
'indigo.800': '#283593',
|
|
72
|
+
'indigo.900': '#1a237e',
|
|
73
|
+
'indigo.A100': '#8c9eff',
|
|
74
|
+
'indigo.A200': '#536dfe',
|
|
75
|
+
'indigo.A400': '#3d5afe',
|
|
76
|
+
'indigo.A700': '#304ffe',
|
|
77
|
+
'blue.50': '#e3f2fd',
|
|
78
|
+
'blue.100': '#bbdefb',
|
|
79
|
+
'blue.200': '#90caf9',
|
|
80
|
+
'blue.300': '#64b5f6',
|
|
81
|
+
'blue.400': '#42a5f5',
|
|
82
|
+
'blue.500': '#2196f3',
|
|
83
|
+
'blue.600': '#1e88e5',
|
|
84
|
+
'blue.700': '#1976d2',
|
|
85
|
+
'blue.800': '#1565c0',
|
|
86
|
+
'blue.900': '#0d47a1',
|
|
87
|
+
'blue.A100': '#82b1ff',
|
|
88
|
+
'blue.A200': '#448aff',
|
|
89
|
+
'blue.A400': '#2979ff',
|
|
90
|
+
'blue.A700': '#2962ff',
|
|
91
|
+
'lightBlue.50': '#e1f5fe',
|
|
92
|
+
'lightBlue.100': '#b3e5fc',
|
|
93
|
+
'lightBlue.200': '#81d4fa',
|
|
94
|
+
'lightBlue.300': '#4fc3f7',
|
|
95
|
+
'lightBlue.400': '#29b6f6',
|
|
96
|
+
'lightBlue.500': '#03a9f4',
|
|
97
|
+
'lightBlue.600': '#039be5',
|
|
98
|
+
'lightBlue.700': '#0288d1',
|
|
99
|
+
'lightBlue.800': '#0277bd',
|
|
100
|
+
'lightBlue.900': '#01579b',
|
|
101
|
+
'lightBlue.A100': '#80d8ff',
|
|
102
|
+
'lightBlue.A200': '#40c4ff',
|
|
103
|
+
'lightBlue.A400': '#00b0ff',
|
|
104
|
+
'lightBlue.A700': '#0091ea',
|
|
105
|
+
'cyan.50': '#e0f7fa',
|
|
106
|
+
'cyan.100': '#b2ebf2',
|
|
107
|
+
'cyan.200': '#80deea',
|
|
108
|
+
'cyan.300': '#4dd0e1',
|
|
109
|
+
'cyan.400': '#26c6da',
|
|
110
|
+
'cyan.500': '#00bcd4',
|
|
111
|
+
'cyan.600': '#00acc1',
|
|
112
|
+
'cyan.700': '#0097a7',
|
|
113
|
+
'cyan.800': '#00838f',
|
|
114
|
+
'cyan.900': '#006064',
|
|
115
|
+
'cyan.A100': '#84ffff',
|
|
116
|
+
'cyan.A200': '#18ffff',
|
|
117
|
+
'cyan.A400': '#00e5ff',
|
|
118
|
+
'cyan.A700': '#00b8d4',
|
|
119
|
+
'teal.50': '#e0f2f1',
|
|
120
|
+
'teal.100': '#b2dfdb',
|
|
121
|
+
'teal.200': '#80cbc4',
|
|
122
|
+
'teal.300': '#4db6ac',
|
|
123
|
+
'teal.400': '#26a69a',
|
|
124
|
+
'teal.500': '#009688',
|
|
125
|
+
'teal.600': '#00897b',
|
|
126
|
+
'teal.700': '#00796b',
|
|
127
|
+
'teal.800': '#00695c',
|
|
128
|
+
'teal.900': '#004d40',
|
|
129
|
+
'teal.A100': '#a7ffeb',
|
|
130
|
+
'teal.A200': '#64ffda',
|
|
131
|
+
'teal.A400': '#1de9b6',
|
|
132
|
+
'teal.A700': '#00bfa5',
|
|
133
|
+
'green.50': '#e8f5e9',
|
|
134
|
+
'green.100': '#c8e6c9',
|
|
135
|
+
'green.200': '#a5d6a7',
|
|
136
|
+
'green.300': '#81c784',
|
|
137
|
+
'green.400': '#66bb6a',
|
|
138
|
+
'green.500': '#4caf50',
|
|
139
|
+
'green.600': '#43a047',
|
|
140
|
+
'green.700': '#388e3c',
|
|
141
|
+
'green.800': '#2e7d32',
|
|
142
|
+
'green.900': '#1b5e20',
|
|
143
|
+
'green.A100': '#b9f6ca',
|
|
144
|
+
'green.A200': '#69f0ae',
|
|
145
|
+
'green.A400': '#00e676',
|
|
146
|
+
'green.A700': '#00c853',
|
|
147
|
+
'lightGreen.50': '#f1f8e9',
|
|
148
|
+
'lightGreen.100': '#dcedc8',
|
|
149
|
+
'lightGreen.200': '#c5e1a5',
|
|
150
|
+
'lightGreen.300': '#aed581',
|
|
151
|
+
'lightGreen.400': '#9ccc65',
|
|
152
|
+
'lightGreen.500': '#8bc34a',
|
|
153
|
+
'lightGreen.600': '#7cb342',
|
|
154
|
+
'lightGreen.700': '#689f38',
|
|
155
|
+
'lightGreen.800': '#558b2f',
|
|
156
|
+
'lightGreen.900': '#33691e',
|
|
157
|
+
'lightGreen.A100': '#ccff90',
|
|
158
|
+
'lightGreen.A200': '#b2ff59',
|
|
159
|
+
'lightGreen.A400': '#76ff03',
|
|
160
|
+
'lightGreen.A700': '#64dd17',
|
|
161
|
+
'lime.50': '#f9fbe7',
|
|
162
|
+
'lime.100': '#f0f4c3',
|
|
163
|
+
'lime.200': '#e6ee9c',
|
|
164
|
+
'lime.300': '#dce775',
|
|
165
|
+
'lime.400': '#d4e157',
|
|
166
|
+
'lime.500': '#cddc39',
|
|
167
|
+
'lime.600': '#c0ca33',
|
|
168
|
+
'lime.700': '#afb42b',
|
|
169
|
+
'lime.800': '#9e9d24',
|
|
170
|
+
'lime.900': '#827717',
|
|
171
|
+
'lime.A100': '#f4ff81',
|
|
172
|
+
'lime.A200': '#eeff41',
|
|
173
|
+
'lime.A400': '#c6ff00',
|
|
174
|
+
'lime.A700': '#aeea00',
|
|
175
|
+
'yellow.50': '#fffde7',
|
|
176
|
+
'yellow.100': '#fff9c4',
|
|
177
|
+
'yellow.200': '#fff59d',
|
|
178
|
+
'yellow.300': '#fff176',
|
|
179
|
+
'yellow.400': '#ffee58',
|
|
180
|
+
'yellow.500': '#ffeb3b',
|
|
181
|
+
'yellow.600': '#fdd835',
|
|
182
|
+
'yellow.700': '#fbc02d',
|
|
183
|
+
'yellow.800': '#f9a825',
|
|
184
|
+
'yellow.900': '#f57f17',
|
|
185
|
+
'yellow.A100': '#ffff8d',
|
|
186
|
+
'yellow.A200': '#ffff00',
|
|
187
|
+
'yellow.A400': '#ffea00',
|
|
188
|
+
'yellow.A700': '#ffd600',
|
|
189
|
+
'amber.50': '#fff8e1',
|
|
190
|
+
'amber.100': '#ffecb3',
|
|
191
|
+
'amber.200': '#ffe082',
|
|
192
|
+
'amber.300': '#ffd54f',
|
|
193
|
+
'amber.400': '#ffca28',
|
|
194
|
+
'amber.500': '#ffc107',
|
|
195
|
+
'amber.600': '#ffb300',
|
|
196
|
+
'amber.700': '#ffa000',
|
|
197
|
+
'amber.800': '#ff8f00',
|
|
198
|
+
'amber.900': '#ff6f00',
|
|
199
|
+
'amber.A100': '#ffe57f',
|
|
200
|
+
'amber.A200': '#ffd740',
|
|
201
|
+
'amber.A400': '#ffc400',
|
|
202
|
+
'amber.A700': '#ffab00',
|
|
203
|
+
'orange.50': '#fff3e0',
|
|
204
|
+
'orange.100': '#ffe0b2',
|
|
205
|
+
'orange.200': '#ffcc80',
|
|
206
|
+
'orange.300': '#ffb74d',
|
|
207
|
+
'orange.400': '#ffa726',
|
|
208
|
+
'orange.500': '#ff9800',
|
|
209
|
+
'orange.600': '#fb8c00',
|
|
210
|
+
'orange.700': '#f57c00',
|
|
211
|
+
'orange.800': '#ef6c00',
|
|
212
|
+
'orange.900': '#e65100',
|
|
213
|
+
'orange.A100': '#ffd180',
|
|
214
|
+
'orange.A200': '#ffab40',
|
|
215
|
+
'orange.A400': '#ff9100',
|
|
216
|
+
'orange.A700': '#ff6d00',
|
|
217
|
+
'deepOrange.50': '#fbe9e7',
|
|
218
|
+
'deepOrange.100': '#ffccbc',
|
|
219
|
+
'deepOrange.200': '#ffab91',
|
|
220
|
+
'deepOrange.300': '#ff8a65',
|
|
221
|
+
'deepOrange.400': '#ff7043',
|
|
222
|
+
'deepOrange.500': '#ff5722',
|
|
223
|
+
'deepOrange.600': '#f4511e',
|
|
224
|
+
'deepOrange.700': '#e64a19',
|
|
225
|
+
'deepOrange.800': '#d84315',
|
|
226
|
+
'deepOrange.900': '#bf360c',
|
|
227
|
+
'deepOrange.A100': '#ff9e80',
|
|
228
|
+
'deepOrange.A200': '#ff6e40',
|
|
229
|
+
'deepOrange.A400': '#ff3d00',
|
|
230
|
+
'deepOrange.A700': '#dd2c00',
|
|
231
|
+
'brown.50': '#efebe9',
|
|
232
|
+
'brown.100': '#d7ccc8',
|
|
233
|
+
'brown.200': '#bcaaa4',
|
|
234
|
+
'brown.300': '#a1887f',
|
|
235
|
+
'brown.400': '#8d6e63',
|
|
236
|
+
'brown.500': '#795548',
|
|
237
|
+
'brown.600': '#6d4c41',
|
|
238
|
+
'brown.700': '#5d4037',
|
|
239
|
+
'brown.800': '#4e342e',
|
|
240
|
+
'brown.900': '#3e2723',
|
|
241
|
+
'brown.A100': '#d7ccc8',
|
|
242
|
+
'brown.A200': '#bcaaa4',
|
|
243
|
+
'brown.A400': '#8d6e63',
|
|
244
|
+
'brown.A700': '#5d4037',
|
|
245
|
+
'grey.50': '#fafafa',
|
|
246
|
+
'grey.100': '#f5f5f5',
|
|
247
|
+
'grey.200': '#eeeeee',
|
|
248
|
+
'grey.300': '#e0e0e0',
|
|
249
|
+
'grey.400': '#bdbdbd',
|
|
250
|
+
'grey.500': '#9e9e9e',
|
|
251
|
+
'grey.600': '#757575',
|
|
252
|
+
'grey.700': '#616161',
|
|
253
|
+
'grey.800': '#424242',
|
|
254
|
+
'grey.900': '#212121',
|
|
255
|
+
'grey.A100': '#f5f5f5',
|
|
256
|
+
'grey.A200': '#eeeeee',
|
|
257
|
+
'grey.A400': '#bdbdbd',
|
|
258
|
+
'grey.A700': '#616161',
|
|
259
|
+
'blueGrey.50': '#eceff1',
|
|
260
|
+
'blueGrey.100': '#cfd8dc',
|
|
261
|
+
'blueGrey.200': '#b0bec5',
|
|
262
|
+
'blueGrey.300': '#90a4ae',
|
|
263
|
+
'blueGrey.400': '#78909c',
|
|
264
|
+
'blueGrey.500': '#607d8b',
|
|
265
|
+
'blueGrey.600': '#546e7a',
|
|
266
|
+
'blueGrey.700': '#455a64',
|
|
267
|
+
'blueGrey.800': '#37474f',
|
|
268
|
+
'blueGrey.900': '#263238',
|
|
269
|
+
'blueGrey.A100': '#cfd8dc',
|
|
270
|
+
'blueGrey.A200': '#b0bec5',
|
|
271
|
+
'blueGrey.A400': '#78909c',
|
|
272
|
+
'blueGrey.A700': '#455a64',
|
|
273
|
+
};
|
|
274
|
+
/** The default `palette` in light and dark mode. `divider` becomes `divider.default`. */
|
|
275
|
+
export const semanticColors = {
|
|
276
|
+
primary: {
|
|
277
|
+
main: { light: '#1976d2', dark: '#90caf9' },
|
|
278
|
+
light: { light: '#42a5f5', dark: '#e3f2fd' },
|
|
279
|
+
dark: { light: '#1565c0', dark: '#42a5f5' },
|
|
280
|
+
contrastText: {
|
|
281
|
+
light: '#ffffff',
|
|
282
|
+
dark: 'rgba(0, 0, 0, 0.87)',
|
|
283
|
+
},
|
|
284
|
+
},
|
|
285
|
+
secondary: {
|
|
286
|
+
main: { light: '#9c27b0', dark: '#ce93d8' },
|
|
287
|
+
light: { light: '#ba68c8', dark: '#f3e5f5' },
|
|
288
|
+
dark: { light: '#7b1fa2', dark: '#ab47bc' },
|
|
289
|
+
contrastText: {
|
|
290
|
+
light: '#ffffff',
|
|
291
|
+
dark: 'rgba(0, 0, 0, 0.87)',
|
|
292
|
+
},
|
|
293
|
+
},
|
|
294
|
+
error: {
|
|
295
|
+
main: { light: '#d32f2f', dark: '#f44336' },
|
|
296
|
+
light: { light: '#ef5350', dark: '#e57373' },
|
|
297
|
+
dark: { light: '#c62828', dark: '#d32f2f' },
|
|
298
|
+
contrastText: { light: '#ffffff', dark: '#ffffff' },
|
|
299
|
+
},
|
|
300
|
+
warning: {
|
|
301
|
+
main: { light: '#ed6c02', dark: '#ffa726' },
|
|
302
|
+
light: { light: '#ff9800', dark: '#ffb74d' },
|
|
303
|
+
dark: { light: '#e65100', dark: '#f57c00' },
|
|
304
|
+
contrastText: {
|
|
305
|
+
light: '#ffffff',
|
|
306
|
+
dark: 'rgba(0, 0, 0, 0.87)',
|
|
307
|
+
},
|
|
308
|
+
},
|
|
309
|
+
info: {
|
|
310
|
+
main: { light: '#0288d1', dark: '#29b6f6' },
|
|
311
|
+
light: { light: '#03a9f4', dark: '#4fc3f7' },
|
|
312
|
+
dark: { light: '#01579b', dark: '#0288d1' },
|
|
313
|
+
contrastText: {
|
|
314
|
+
light: '#ffffff',
|
|
315
|
+
dark: 'rgba(0, 0, 0, 0.87)',
|
|
316
|
+
},
|
|
317
|
+
},
|
|
318
|
+
success: {
|
|
319
|
+
main: { light: '#2e7d32', dark: '#66bb6a' },
|
|
320
|
+
light: { light: '#4caf50', dark: '#81c784' },
|
|
321
|
+
dark: { light: '#1b5e20', dark: '#388e3c' },
|
|
322
|
+
contrastText: {
|
|
323
|
+
light: '#ffffff',
|
|
324
|
+
dark: 'rgba(0, 0, 0, 0.87)',
|
|
325
|
+
},
|
|
326
|
+
},
|
|
327
|
+
text: {
|
|
328
|
+
primary: {
|
|
329
|
+
light: 'rgba(0, 0, 0, 0.87)',
|
|
330
|
+
dark: '#ffffff',
|
|
331
|
+
},
|
|
332
|
+
secondary: {
|
|
333
|
+
light: 'rgba(0, 0, 0, 0.6)',
|
|
334
|
+
dark: 'rgba(255, 255, 255, 0.7)',
|
|
335
|
+
},
|
|
336
|
+
disabled: {
|
|
337
|
+
light: 'rgba(0, 0, 0, 0.38)',
|
|
338
|
+
dark: 'rgba(255, 255, 255, 0.5)',
|
|
339
|
+
},
|
|
340
|
+
},
|
|
341
|
+
background: {
|
|
342
|
+
default: { light: '#ffffff', dark: '#121212' },
|
|
343
|
+
paper: { light: '#ffffff', dark: '#121212' },
|
|
344
|
+
},
|
|
345
|
+
action: {
|
|
346
|
+
active: {
|
|
347
|
+
light: 'rgba(0, 0, 0, 0.54)',
|
|
348
|
+
dark: '#ffffff',
|
|
349
|
+
},
|
|
350
|
+
hover: {
|
|
351
|
+
light: 'rgba(0, 0, 0, 0.04)',
|
|
352
|
+
dark: 'rgba(255, 255, 255, 0.08)',
|
|
353
|
+
},
|
|
354
|
+
selected: {
|
|
355
|
+
light: 'rgba(0, 0, 0, 0.08)',
|
|
356
|
+
dark: 'rgba(255, 255, 255, 0.16)',
|
|
357
|
+
},
|
|
358
|
+
disabled: {
|
|
359
|
+
light: 'rgba(0, 0, 0, 0.26)',
|
|
360
|
+
dark: 'rgba(255, 255, 255, 0.3)',
|
|
361
|
+
},
|
|
362
|
+
disabledBackground: {
|
|
363
|
+
light: 'rgba(0, 0, 0, 0.12)',
|
|
364
|
+
dark: 'rgba(255, 255, 255, 0.12)',
|
|
365
|
+
},
|
|
366
|
+
focus: {
|
|
367
|
+
light: 'rgba(0, 0, 0, 0.12)',
|
|
368
|
+
dark: 'rgba(255, 255, 255, 0.12)',
|
|
369
|
+
},
|
|
370
|
+
},
|
|
371
|
+
divider: {
|
|
372
|
+
default: {
|
|
373
|
+
light: 'rgba(0, 0, 0, 0.12)',
|
|
374
|
+
dark: 'rgba(255, 255, 255, 0.12)',
|
|
375
|
+
},
|
|
376
|
+
},
|
|
377
|
+
};
|
|
378
|
+
/** `theme.typography` variants as text presets: rem and em in points at `htmlFontSize`, line heights absolute. */
|
|
379
|
+
export const typography = {
|
|
380
|
+
h1: {
|
|
381
|
+
fontSize: 96,
|
|
382
|
+
lineHeight: 112.03,
|
|
383
|
+
letterSpacing: -1.5,
|
|
384
|
+
fontWeight: '300',
|
|
385
|
+
},
|
|
386
|
+
h2: {
|
|
387
|
+
fontSize: 60,
|
|
388
|
+
lineHeight: 72,
|
|
389
|
+
letterSpacing: -0.5,
|
|
390
|
+
fontWeight: '300',
|
|
391
|
+
},
|
|
392
|
+
h3: {
|
|
393
|
+
fontSize: 48,
|
|
394
|
+
lineHeight: 56.02,
|
|
395
|
+
letterSpacing: 0,
|
|
396
|
+
fontWeight: '400',
|
|
397
|
+
},
|
|
398
|
+
h4: {
|
|
399
|
+
fontSize: 34,
|
|
400
|
+
lineHeight: 41.99,
|
|
401
|
+
letterSpacing: 0.25,
|
|
402
|
+
fontWeight: '400',
|
|
403
|
+
},
|
|
404
|
+
h5: {
|
|
405
|
+
fontSize: 24,
|
|
406
|
+
lineHeight: 32.02,
|
|
407
|
+
letterSpacing: 0,
|
|
408
|
+
fontWeight: '400',
|
|
409
|
+
},
|
|
410
|
+
h6: {
|
|
411
|
+
fontSize: 20,
|
|
412
|
+
lineHeight: 32,
|
|
413
|
+
letterSpacing: 0.15,
|
|
414
|
+
fontWeight: '500',
|
|
415
|
+
},
|
|
416
|
+
subtitle1: {
|
|
417
|
+
fontSize: 16,
|
|
418
|
+
lineHeight: 28,
|
|
419
|
+
letterSpacing: 0.15,
|
|
420
|
+
fontWeight: '400',
|
|
421
|
+
},
|
|
422
|
+
subtitle2: {
|
|
423
|
+
fontSize: 14,
|
|
424
|
+
lineHeight: 21.98,
|
|
425
|
+
letterSpacing: 0.1,
|
|
426
|
+
fontWeight: '500',
|
|
427
|
+
},
|
|
428
|
+
body1: {
|
|
429
|
+
fontSize: 16,
|
|
430
|
+
lineHeight: 24,
|
|
431
|
+
letterSpacing: 0.15,
|
|
432
|
+
fontWeight: '400',
|
|
433
|
+
},
|
|
434
|
+
body2: {
|
|
435
|
+
fontSize: 14,
|
|
436
|
+
lineHeight: 20.02,
|
|
437
|
+
letterSpacing: 0.15,
|
|
438
|
+
fontWeight: '400',
|
|
439
|
+
},
|
|
440
|
+
button: {
|
|
441
|
+
fontSize: 14,
|
|
442
|
+
lineHeight: 24.5,
|
|
443
|
+
letterSpacing: 0.4,
|
|
444
|
+
fontWeight: '500',
|
|
445
|
+
textTransform: 'uppercase',
|
|
446
|
+
},
|
|
447
|
+
caption: {
|
|
448
|
+
fontSize: 12,
|
|
449
|
+
lineHeight: 19.92,
|
|
450
|
+
letterSpacing: 0.4,
|
|
451
|
+
fontWeight: '400',
|
|
452
|
+
},
|
|
453
|
+
overline: {
|
|
454
|
+
fontSize: 12,
|
|
455
|
+
lineHeight: 31.92,
|
|
456
|
+
letterSpacing: 1,
|
|
457
|
+
fontWeight: '400',
|
|
458
|
+
textTransform: 'uppercase',
|
|
459
|
+
},
|
|
460
|
+
};
|
|
461
|
+
/** `typography.fontWeightLight` / `Regular` / `Medium` / `Bold`. */
|
|
462
|
+
export const fontWeights = {
|
|
463
|
+
light: '300',
|
|
464
|
+
regular: '400',
|
|
465
|
+
medium: '500',
|
|
466
|
+
bold: '700',
|
|
467
|
+
};
|
|
468
|
+
/** `theme.spacing(n)` for common factors: `padding: 2` is `theme.spacing(2)`. */
|
|
469
|
+
export const spacing = {
|
|
470
|
+
0: 0,
|
|
471
|
+
0.5: 4,
|
|
472
|
+
1: 8,
|
|
473
|
+
1.5: 12,
|
|
474
|
+
2: 16,
|
|
475
|
+
2.5: 20,
|
|
476
|
+
3: 24,
|
|
477
|
+
4: 32,
|
|
478
|
+
5: 40,
|
|
479
|
+
6: 48,
|
|
480
|
+
7: 56,
|
|
481
|
+
8: 64,
|
|
482
|
+
9: 72,
|
|
483
|
+
10: 80,
|
|
484
|
+
12: 96,
|
|
485
|
+
};
|
|
486
|
+
/** Multiples of `shape.borderRadius`: `borderRadius: 2` is `sx={{ borderRadius: 2 }}`. */
|
|
487
|
+
export const radii = {
|
|
488
|
+
0: 0,
|
|
489
|
+
0.5: 2,
|
|
490
|
+
1: 4,
|
|
491
|
+
1.5: 6,
|
|
492
|
+
2: 8,
|
|
493
|
+
3: 12,
|
|
494
|
+
4: 16,
|
|
495
|
+
};
|
|
496
|
+
/** `theme.zIndex`. */
|
|
497
|
+
export const zIndices = {
|
|
498
|
+
mobileStepper: 1000,
|
|
499
|
+
fab: 1050,
|
|
500
|
+
speedDial: 1050,
|
|
501
|
+
appBar: 1100,
|
|
502
|
+
drawer: 1200,
|
|
503
|
+
modal: 1300,
|
|
504
|
+
snackbar: 1400,
|
|
505
|
+
tooltip: 1500,
|
|
506
|
+
};
|
|
507
|
+
/** `theme.shadows` by elevation, first layer only; `elevation` matches on Android. */
|
|
508
|
+
export const shadows = {
|
|
509
|
+
0: {
|
|
510
|
+
shadowColor: '#000000',
|
|
511
|
+
shadowOffset: { width: 0, height: 0 },
|
|
512
|
+
shadowOpacity: 0,
|
|
513
|
+
shadowRadius: 0,
|
|
514
|
+
elevation: 0,
|
|
515
|
+
},
|
|
516
|
+
1: {
|
|
517
|
+
shadowColor: '#000000',
|
|
518
|
+
shadowOffset: { width: 0, height: 2 },
|
|
519
|
+
shadowOpacity: 0.2,
|
|
520
|
+
shadowRadius: 0.5,
|
|
521
|
+
elevation: 1,
|
|
522
|
+
},
|
|
523
|
+
2: {
|
|
524
|
+
shadowColor: '#000000',
|
|
525
|
+
shadowOffset: { width: 0, height: 3 },
|
|
526
|
+
shadowOpacity: 0.2,
|
|
527
|
+
shadowRadius: 0.5,
|
|
528
|
+
elevation: 2,
|
|
529
|
+
},
|
|
530
|
+
3: {
|
|
531
|
+
shadowColor: '#000000',
|
|
532
|
+
shadowOffset: { width: 0, height: 3 },
|
|
533
|
+
shadowOpacity: 0.2,
|
|
534
|
+
shadowRadius: 1.5,
|
|
535
|
+
elevation: 3,
|
|
536
|
+
},
|
|
537
|
+
4: {
|
|
538
|
+
shadowColor: '#000000',
|
|
539
|
+
shadowOffset: { width: 0, height: 2 },
|
|
540
|
+
shadowOpacity: 0.2,
|
|
541
|
+
shadowRadius: 2,
|
|
542
|
+
elevation: 4,
|
|
543
|
+
},
|
|
544
|
+
5: {
|
|
545
|
+
shadowColor: '#000000',
|
|
546
|
+
shadowOffset: { width: 0, height: 3 },
|
|
547
|
+
shadowOpacity: 0.2,
|
|
548
|
+
shadowRadius: 2.5,
|
|
549
|
+
elevation: 5,
|
|
550
|
+
},
|
|
551
|
+
6: {
|
|
552
|
+
shadowColor: '#000000',
|
|
553
|
+
shadowOffset: { width: 0, height: 3 },
|
|
554
|
+
shadowOpacity: 0.2,
|
|
555
|
+
shadowRadius: 2.5,
|
|
556
|
+
elevation: 6,
|
|
557
|
+
},
|
|
558
|
+
7: {
|
|
559
|
+
shadowColor: '#000000',
|
|
560
|
+
shadowOffset: { width: 0, height: 4 },
|
|
561
|
+
shadowOpacity: 0.2,
|
|
562
|
+
shadowRadius: 2.5,
|
|
563
|
+
elevation: 7,
|
|
564
|
+
},
|
|
565
|
+
8: {
|
|
566
|
+
shadowColor: '#000000',
|
|
567
|
+
shadowOffset: { width: 0, height: 5 },
|
|
568
|
+
shadowOpacity: 0.2,
|
|
569
|
+
shadowRadius: 2.5,
|
|
570
|
+
elevation: 8,
|
|
571
|
+
},
|
|
572
|
+
9: {
|
|
573
|
+
shadowColor: '#000000',
|
|
574
|
+
shadowOffset: { width: 0, height: 5 },
|
|
575
|
+
shadowOpacity: 0.2,
|
|
576
|
+
shadowRadius: 3,
|
|
577
|
+
elevation: 9,
|
|
578
|
+
},
|
|
579
|
+
10: {
|
|
580
|
+
shadowColor: '#000000',
|
|
581
|
+
shadowOffset: { width: 0, height: 6 },
|
|
582
|
+
shadowOpacity: 0.2,
|
|
583
|
+
shadowRadius: 3,
|
|
584
|
+
elevation: 10,
|
|
585
|
+
},
|
|
586
|
+
11: {
|
|
587
|
+
shadowColor: '#000000',
|
|
588
|
+
shadowOffset: { width: 0, height: 6 },
|
|
589
|
+
shadowOpacity: 0.2,
|
|
590
|
+
shadowRadius: 3.5,
|
|
591
|
+
elevation: 11,
|
|
592
|
+
},
|
|
593
|
+
12: {
|
|
594
|
+
shadowColor: '#000000',
|
|
595
|
+
shadowOffset: { width: 0, height: 7 },
|
|
596
|
+
shadowOpacity: 0.2,
|
|
597
|
+
shadowRadius: 4,
|
|
598
|
+
elevation: 12,
|
|
599
|
+
},
|
|
600
|
+
13: {
|
|
601
|
+
shadowColor: '#000000',
|
|
602
|
+
shadowOffset: { width: 0, height: 7 },
|
|
603
|
+
shadowOpacity: 0.2,
|
|
604
|
+
shadowRadius: 4,
|
|
605
|
+
elevation: 13,
|
|
606
|
+
},
|
|
607
|
+
14: {
|
|
608
|
+
shadowColor: '#000000',
|
|
609
|
+
shadowOffset: { width: 0, height: 7 },
|
|
610
|
+
shadowOpacity: 0.2,
|
|
611
|
+
shadowRadius: 4.5,
|
|
612
|
+
elevation: 14,
|
|
613
|
+
},
|
|
614
|
+
15: {
|
|
615
|
+
shadowColor: '#000000',
|
|
616
|
+
shadowOffset: { width: 0, height: 8 },
|
|
617
|
+
shadowOpacity: 0.2,
|
|
618
|
+
shadowRadius: 4.5,
|
|
619
|
+
elevation: 15,
|
|
620
|
+
},
|
|
621
|
+
16: {
|
|
622
|
+
shadowColor: '#000000',
|
|
623
|
+
shadowOffset: { width: 0, height: 8 },
|
|
624
|
+
shadowOpacity: 0.2,
|
|
625
|
+
shadowRadius: 5,
|
|
626
|
+
elevation: 16,
|
|
627
|
+
},
|
|
628
|
+
17: {
|
|
629
|
+
shadowColor: '#000000',
|
|
630
|
+
shadowOffset: { width: 0, height: 8 },
|
|
631
|
+
shadowOpacity: 0.2,
|
|
632
|
+
shadowRadius: 5.5,
|
|
633
|
+
elevation: 17,
|
|
634
|
+
},
|
|
635
|
+
18: {
|
|
636
|
+
shadowColor: '#000000',
|
|
637
|
+
shadowOffset: { width: 0, height: 9 },
|
|
638
|
+
shadowOpacity: 0.2,
|
|
639
|
+
shadowRadius: 5.5,
|
|
640
|
+
elevation: 18,
|
|
641
|
+
},
|
|
642
|
+
19: {
|
|
643
|
+
shadowColor: '#000000',
|
|
644
|
+
shadowOffset: { width: 0, height: 9 },
|
|
645
|
+
shadowOpacity: 0.2,
|
|
646
|
+
shadowRadius: 6,
|
|
647
|
+
elevation: 19,
|
|
648
|
+
},
|
|
649
|
+
20: {
|
|
650
|
+
shadowColor: '#000000',
|
|
651
|
+
shadowOffset: { width: 0, height: 10 },
|
|
652
|
+
shadowOpacity: 0.2,
|
|
653
|
+
shadowRadius: 6.5,
|
|
654
|
+
elevation: 20,
|
|
655
|
+
},
|
|
656
|
+
21: {
|
|
657
|
+
shadowColor: '#000000',
|
|
658
|
+
shadowOffset: { width: 0, height: 10 },
|
|
659
|
+
shadowOpacity: 0.2,
|
|
660
|
+
shadowRadius: 6.5,
|
|
661
|
+
elevation: 21,
|
|
662
|
+
},
|
|
663
|
+
22: {
|
|
664
|
+
shadowColor: '#000000',
|
|
665
|
+
shadowOffset: { width: 0, height: 10 },
|
|
666
|
+
shadowOpacity: 0.2,
|
|
667
|
+
shadowRadius: 7,
|
|
668
|
+
elevation: 22,
|
|
669
|
+
},
|
|
670
|
+
23: {
|
|
671
|
+
shadowColor: '#000000',
|
|
672
|
+
shadowOffset: { width: 0, height: 11 },
|
|
673
|
+
shadowOpacity: 0.2,
|
|
674
|
+
shadowRadius: 7,
|
|
675
|
+
elevation: 23,
|
|
676
|
+
},
|
|
677
|
+
24: {
|
|
678
|
+
shadowColor: '#000000',
|
|
679
|
+
shadowOffset: { width: 0, height: 11 },
|
|
680
|
+
shadowOpacity: 0.2,
|
|
681
|
+
shadowRadius: 7.5,
|
|
682
|
+
elevation: 24,
|
|
683
|
+
},
|
|
684
|
+
};
|