@expo/styleguide 3.3.1 → 3.4.2-alpha.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.
Files changed (40) hide show
  1. package/dist/expo-theme.css +300 -88
  2. package/dist/index.d.ts +3 -1
  3. package/dist/index.js +5 -1
  4. package/dist/src/icons/ActivityIcon.d.ts +3 -0
  5. package/dist/src/icons/ActivityIcon.js +17 -0
  6. package/dist/src/icons/AndroidIcon.js +1 -1
  7. package/dist/src/icons/AppleAppStoreIcon.d.ts +3 -0
  8. package/dist/src/icons/AppleAppStoreIcon.js +19 -0
  9. package/dist/src/icons/AppleSimulatorIcon.d.ts +3 -0
  10. package/dist/src/icons/AppleSimulatorIcon.js +17 -0
  11. package/dist/src/icons/AtIcon.d.ts +3 -0
  12. package/dist/src/icons/AtIcon.js +13 -0
  13. package/dist/src/icons/CredentialIcon.d.ts +3 -0
  14. package/dist/src/icons/CredentialIcon.js +19 -0
  15. package/dist/src/icons/DeploymentsIcon.d.ts +3 -0
  16. package/dist/src/icons/DeploymentsIcon.js +20 -0
  17. package/dist/src/icons/GeneralIcon.d.ts +3 -0
  18. package/dist/src/icons/GeneralIcon.js +24 -0
  19. package/dist/src/icons/GoogleAppStoreIcon.d.ts +3 -0
  20. package/dist/src/icons/GoogleAppStoreIcon.js +17 -0
  21. package/dist/src/icons/InvoicesIcon.d.ts +3 -0
  22. package/dist/src/icons/InvoicesIcon.js +18 -0
  23. package/dist/src/icons/PlansIcon.d.ts +3 -0
  24. package/dist/src/icons/PlansIcon.js +18 -0
  25. package/dist/src/icons/ProjectTransferIcon.d.ts +3 -0
  26. package/dist/src/icons/ProjectTransferIcon.js +14 -0
  27. package/dist/src/icons/SecretsIcon.d.ts +3 -0
  28. package/dist/src/icons/SecretsIcon.js +13 -0
  29. package/dist/src/icons/TokensIcon.d.ts +3 -0
  30. package/dist/src/icons/TokensIcon.js +15 -0
  31. package/dist/src/icons/YoutubeIcon.js +1 -1
  32. package/dist/src/icons/index.d.ts +13 -0
  33. package/dist/src/icons/index.js +28 -2
  34. package/dist/src/styles/breakpoints.d.ts +5 -0
  35. package/dist/src/styles/breakpoints.js +8 -0
  36. package/dist/src/styles/themes.d.ts +122 -0
  37. package/dist/src/styles/themes.js +122 -0
  38. package/dist/src/styles/typography.d.ts +324 -0
  39. package/dist/src/styles/typography.js +318 -0
  40. package/package.json +2 -2
@@ -232,4 +232,126 @@ exports.darkTheme = {
232
232
  accent: 'var(--expo-color-base-dark-primary-700)',
233
233
  emphasis: 'var(--expo-color-base-dark-yellow-300)',
234
234
  },
235
+ project: {
236
+ blue: 'var(--expo-theme-project-blue)',
237
+ green: 'var(--expo-theme-project-green)',
238
+ yellow: 'var(--expo-theme-project-yellow)',
239
+ orange: 'var(--expo-theme-project-orange)',
240
+ red: 'var(--expo-theme-project-red)',
241
+ pink: 'var(--expo-theme-project-pink)',
242
+ purple: 'var(--expo-theme-project-purple)',
243
+ },
244
+ palette: {
245
+ gray: {
246
+ 100: 'var(--expo-theme-palette-gray-100)',
247
+ 200: 'var(--expo-theme-palette-gray-200)',
248
+ 300: 'var(--expo-theme-palette-gray-300)',
249
+ 400: 'var(--expo-theme-palette-gray-400)',
250
+ 500: 'var(--expo-theme-palette-gray-500)',
251
+ 600: 'var(--expo-theme-palette-gray-600)',
252
+ 700: 'var(--expo-theme-palette-gray-700)',
253
+ 800: 'var(--expo-theme-palette-gray-800)',
254
+ 900: 'var(--expo-theme-palette-gray-900)',
255
+ 1000: 'var(--expo-theme-palette-gray-1000)',
256
+ '000': 'var(--expo-theme-palette-gray-000)',
257
+ },
258
+ primary: {
259
+ 100: 'var(--expo-theme-palette-primary-100)',
260
+ 200: 'var(--expo-theme-palette-primary-200)',
261
+ 300: 'var(--expo-theme-palette-primary-300)',
262
+ 400: 'var(--expo-theme-palette-primary-400)',
263
+ 500: 'var(--expo-theme-palette-primary-500)',
264
+ 600: 'var(--expo-theme-palette-primary-600)',
265
+ 700: 'var(--expo-theme-palette-primary-700)',
266
+ 800: 'var(--expo-theme-palette-primary-800)',
267
+ 900: 'var(--expo-theme-palette-primary-900)',
268
+ '000': 'var(--expo-theme-palette-primary-000)',
269
+ },
270
+ blue: {
271
+ 100: 'var(--expo-theme-palette-blue-100)',
272
+ 200: 'var(--expo-theme-palette-blue-200)',
273
+ 300: 'var(--expo-theme-palette-blue-300)',
274
+ 400: 'var(--expo-theme-palette-blue-400)',
275
+ 500: 'var(--expo-theme-palette-blue-500)',
276
+ 600: 'var(--expo-theme-palette-blue-600)',
277
+ 700: 'var(--expo-theme-palette-blue-700)',
278
+ 800: 'var(--expo-theme-palette-blue-800)',
279
+ 900: 'var(--expo-theme-palette-blue-900)',
280
+ '000': 'var(--expo-theme-palette-blue-000)',
281
+ },
282
+ green: {
283
+ 100: 'var(--expo-theme-palette-green-100)',
284
+ 200: 'var(--expo-theme-palette-green-200)',
285
+ 300: 'var(--expo-theme-palette-green-300)',
286
+ 400: 'var(--expo-theme-palette-green-400)',
287
+ 500: 'var(--expo-theme-palette-green-500)',
288
+ 600: 'var(--expo-theme-palette-green-600)',
289
+ 700: 'var(--expo-theme-palette-green-700)',
290
+ 800: 'var(--expo-theme-palette-green-800)',
291
+ 900: 'var(--expo-theme-palette-green-900)',
292
+ '000': 'var(--expo-theme-palette-green-000)',
293
+ },
294
+ yellow: {
295
+ 100: 'var(--expo-theme-palette-yellow-100)',
296
+ 200: 'var(--expo-theme-palette-yellow-200)',
297
+ 300: 'var(--expo-theme-palette-yellow-300)',
298
+ 400: 'var(--expo-theme-palette-yellow-400)',
299
+ 500: 'var(--expo-theme-palette-yellow-500)',
300
+ 600: 'var(--expo-theme-palette-yellow-600)',
301
+ 700: 'var(--expo-theme-palette-yellow-700)',
302
+ 800: 'var(--expo-theme-palette-yellow-800)',
303
+ 900: 'var(--expo-theme-palette-yellow-900)',
304
+ '000': 'var(--expo-theme-palette-yellow-000)',
305
+ },
306
+ orange: {
307
+ 100: 'var(--expo-theme-palette-orange-100)',
308
+ 200: 'var(--expo-theme-palette-orange-200)',
309
+ 300: 'var(--expo-theme-palette-orange-300)',
310
+ 400: 'var(--expo-theme-palette-orange-400)',
311
+ 500: 'var(--expo-theme-palette-orange-500)',
312
+ 600: 'var(--expo-theme-palette-orange-600)',
313
+ 700: 'var(--expo-theme-palette-orange-700)',
314
+ 800: 'var(--expo-theme-palette-orange-800)',
315
+ 900: 'var(--expo-theme-palette-orange-900)',
316
+ '000': 'var(--expo-theme-palette-orange-000)',
317
+ },
318
+ red: {
319
+ 100: 'var(--expo-theme-palette-red-100)',
320
+ 200: 'var(--expo-theme-palette-red-200)',
321
+ 300: 'var(--expo-theme-palette-red-300)',
322
+ 400: 'var(--expo-theme-palette-red-400)',
323
+ 500: 'var(--expo-theme-palette-red-500)',
324
+ 600: 'var(--expo-theme-palette-red-600)',
325
+ 700: 'var(--expo-theme-palette-red-700)',
326
+ 800: 'var(--expo-theme-palette-red-800)',
327
+ 900: 'var(--expo-theme-palette-red-900)',
328
+ '000': 'var(--expo-theme-palette-red-000)',
329
+ },
330
+ pink: {
331
+ 100: 'var(--expo-theme-palette-pink-100)',
332
+ 200: 'var(--expo-theme-palette-pink-200)',
333
+ 300: 'var(--expo-theme-palette-pink-300)',
334
+ 400: 'var(--expo-theme-palette-pink-400)',
335
+ 500: 'var(--expo-theme-palette-pink-500)',
336
+ 600: 'var(--expo-theme-palette-pink-600)',
337
+ 700: 'var(--expo-theme-palette-pink-700)',
338
+ 800: 'var(--expo-theme-palette-pink-800)',
339
+ 900: 'var(--expo-theme-palette-pink-900)',
340
+ '000': 'var(--expo-theme-palette-pink-000)',
341
+ },
342
+ purple: {
343
+ 100: 'var(--expo-theme-palette-purple-100)',
344
+ 200: 'var(--expo-theme-palette-purple-200)',
345
+ 300: 'var(--expo-theme-palette-purple-300)',
346
+ 400: 'var(--expo-theme-palette-purple-400)',
347
+ 500: 'var(--expo-theme-palette-purple-500)',
348
+ 600: 'var(--expo-theme-palette-purple-600)',
349
+ 700: 'var(--expo-theme-palette-purple-700)',
350
+ 800: 'var(--expo-theme-palette-purple-800)',
351
+ 900: 'var(--expo-theme-palette-purple-900)',
352
+ '000': 'var(--expo-theme-palette-purple-000)',
353
+ },
354
+ white: 'var(--expo-theme-palette-white)',
355
+ black: 'var(--expo-theme-palette-black)',
356
+ },
235
357
  };
@@ -0,0 +1,324 @@
1
+ export declare const typography: {
2
+ baseFontSize: number;
3
+ headers: {
4
+ huge: {
5
+ fontSize: string;
6
+ lineHeight: string;
7
+ letterSpacing: string;
8
+ fontFamily: string;
9
+ fontWeight: number;
10
+ };
11
+ h1: {
12
+ fontSize: string;
13
+ lineHeight: string;
14
+ letterSpacing: string;
15
+ fontFamily: string;
16
+ fontWeight: number;
17
+ };
18
+ h2: {
19
+ fontSize: string;
20
+ lineHeight: string;
21
+ letterSpacing: string;
22
+ fontFamily: string;
23
+ fontWeight: number;
24
+ };
25
+ h3: {
26
+ fontSize: string;
27
+ lineHeight: string;
28
+ letterSpacing: string;
29
+ fontFamily: string;
30
+ fontWeight: number;
31
+ };
32
+ h4: {
33
+ fontSize: string;
34
+ lineHeight: string;
35
+ letterSpacing: string;
36
+ fontFamily: string;
37
+ fontWeight: number;
38
+ };
39
+ h5: {
40
+ fontSize: string;
41
+ lineHeight: string;
42
+ letterSpacing: string;
43
+ fontFamily: string;
44
+ fontWeight: number;
45
+ };
46
+ h6: {
47
+ fontSize: string;
48
+ lineHeight: string;
49
+ letterSpacing: string;
50
+ fontFamily: string;
51
+ fontWeight: number;
52
+ };
53
+ };
54
+ body: {
55
+ headline: {
56
+ fontSize: string;
57
+ lineHeight: string;
58
+ letterSpacing: string;
59
+ fontFamily: string;
60
+ fontWeight: number;
61
+ };
62
+ paragraph: {
63
+ fontSize: string;
64
+ lineHeight: string;
65
+ letterSpacing: string;
66
+ fontFamily: string;
67
+ fontWeight: number;
68
+ };
69
+ label: {
70
+ fontSize: string;
71
+ lineHeight: string;
72
+ letterSpacing: string;
73
+ fontFamily: string;
74
+ fontWeight: number;
75
+ };
76
+ callout: {
77
+ fontSize: string;
78
+ lineHeight: string;
79
+ letterSpacing: string;
80
+ fontFamily: string;
81
+ fontWeight: number;
82
+ };
83
+ footnote: {
84
+ fontSize: string;
85
+ lineHeight: string;
86
+ letterSpacing: string;
87
+ fontFamily: string;
88
+ fontWeight: number;
89
+ };
90
+ caption: {
91
+ fontSize: string;
92
+ lineHeight: string;
93
+ fontFamily: string;
94
+ fontWeight: number;
95
+ };
96
+ code: {
97
+ fontSize: string;
98
+ lineHeight: string;
99
+ letterSpacing: string;
100
+ fontFamily: string;
101
+ fontWeight: number;
102
+ };
103
+ };
104
+ utility: {
105
+ anchor: {
106
+ color: string;
107
+ fontWeight: number;
108
+ textDecoration: string;
109
+ cursor: string;
110
+ opacity: number;
111
+ transform: string;
112
+ ':visited': {
113
+ color: string;
114
+ };
115
+ ':hover': {
116
+ transition: string;
117
+ opacity: number;
118
+ };
119
+ };
120
+ li: {
121
+ fontWeight: number;
122
+ marginBottom: string;
123
+ fontSize: string;
124
+ lineHeight: string;
125
+ letterSpacing: string;
126
+ };
127
+ inlineCode: {
128
+ fontWeight: number;
129
+ display: string;
130
+ backgroundColor: string;
131
+ border: string;
132
+ borderRadius: number;
133
+ padding: string;
134
+ lineHeight: string;
135
+ fontSize: string;
136
+ letterSpacing: string;
137
+ fontFamily: string;
138
+ };
139
+ terminalCode: {
140
+ fontWeight: number;
141
+ display: string;
142
+ backgroundColor: string;
143
+ color: string;
144
+ border: string;
145
+ borderRadius: number;
146
+ padding: string;
147
+ lineHeight: string;
148
+ fontSize: string;
149
+ letterSpacing: string;
150
+ fontFamily: string;
151
+ };
152
+ pre: {
153
+ fontWeight: number;
154
+ backgroundColor: string;
155
+ borderRadius: number;
156
+ border: string;
157
+ padding: number;
158
+ whiteSpace: string;
159
+ margin: string;
160
+ fontSize: string;
161
+ lineHeight: string;
162
+ letterSpacing: string;
163
+ fontFamily: string;
164
+ };
165
+ terminalPre: {
166
+ fontWeight: number;
167
+ backgroundColor: string;
168
+ color: string;
169
+ borderRadius: number;
170
+ border: string;
171
+ padding: number;
172
+ margin: string;
173
+ whiteSpace: string;
174
+ '&:before': {
175
+ content: string;
176
+ };
177
+ fontSize: string;
178
+ lineHeight: string;
179
+ letterSpacing: string;
180
+ fontFamily: string;
181
+ };
182
+ hr: {
183
+ backgroundColor: string;
184
+ border: number;
185
+ height: number;
186
+ display: string;
187
+ width: string;
188
+ };
189
+ blockquote: {
190
+ fontWeight: number;
191
+ color: string;
192
+ paddingLeft: number;
193
+ borderLeft: string;
194
+ fontSize: string;
195
+ lineHeight: string;
196
+ letterSpacing: string;
197
+ };
198
+ };
199
+ fontFaces: {
200
+ black: string;
201
+ semiBold: string;
202
+ medium: string;
203
+ regular: string;
204
+ mono: string;
205
+ };
206
+ fontStacks: {
207
+ black: string;
208
+ semiBold: string;
209
+ medium: string;
210
+ regular: string;
211
+ mono: string;
212
+ };
213
+ fontSizes: {
214
+ 61: {
215
+ fontSize: string;
216
+ lineHeight: string;
217
+ letterSpacing: string;
218
+ };
219
+ 53: {
220
+ fontSize: string;
221
+ lineHeight: string;
222
+ letterSpacing: string;
223
+ };
224
+ 49: {
225
+ fontSize: string;
226
+ lineHeight: string;
227
+ letterSpacing: string;
228
+ };
229
+ 46: {
230
+ fontSize: string;
231
+ lineHeight: string;
232
+ letterSpacing: string;
233
+ };
234
+ 43: {
235
+ fontSize: string;
236
+ lineHeight: string;
237
+ letterSpacing: string;
238
+ };
239
+ 39: {
240
+ fontSize: string;
241
+ lineHeight: string;
242
+ letterSpacing: string;
243
+ };
244
+ 37: {
245
+ fontSize: string;
246
+ lineHeight: string;
247
+ letterSpacing: string;
248
+ };
249
+ 34: {
250
+ fontSize: string;
251
+ lineHeight: string;
252
+ letterSpacing: string;
253
+ };
254
+ 31: {
255
+ fontSize: string;
256
+ lineHeight: string;
257
+ letterSpacing: string;
258
+ };
259
+ 29: {
260
+ fontSize: string;
261
+ lineHeight: string;
262
+ letterSpacing: string;
263
+ };
264
+ 27: {
265
+ fontSize: string;
266
+ lineHeight: string;
267
+ letterSpacing: string;
268
+ };
269
+ 25: {
270
+ fontSize: string;
271
+ lineHeight: string;
272
+ letterSpacing: string;
273
+ };
274
+ 23: {
275
+ fontSize: string;
276
+ lineHeight: string;
277
+ letterSpacing: string;
278
+ };
279
+ 22: {
280
+ fontSize: string;
281
+ lineHeight: string;
282
+ letterSpacing: string;
283
+ };
284
+ 20: {
285
+ fontSize: string;
286
+ lineHeight: string;
287
+ letterSpacing: string;
288
+ };
289
+ 19: {
290
+ fontSize: string;
291
+ lineHeight: string;
292
+ letterSpacing: string;
293
+ };
294
+ 18: {
295
+ fontSize: string;
296
+ lineHeight: string;
297
+ letterSpacing: string;
298
+ };
299
+ 16: {
300
+ fontSize: string;
301
+ lineHeight: string;
302
+ letterSpacing: string;
303
+ };
304
+ 15: {
305
+ fontSize: string;
306
+ lineHeight: string;
307
+ letterSpacing: string;
308
+ };
309
+ 14: {
310
+ fontSize: string;
311
+ lineHeight: string;
312
+ letterSpacing: string;
313
+ };
314
+ 13: {
315
+ fontSize: string;
316
+ lineHeight: string;
317
+ letterSpacing: string;
318
+ };
319
+ 12: {
320
+ fontSize: string;
321
+ lineHeight: string;
322
+ };
323
+ };
324
+ };