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