@tamagui/theme-base 1.0.0-beta.172

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 (59) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +21 -0
  3. package/dist/cjs/colorUtils.js +60 -0
  4. package/dist/cjs/colorUtils.js.map +7 -0
  5. package/dist/cjs/colors.js +64 -0
  6. package/dist/cjs/colors.js.map +7 -0
  7. package/dist/cjs/firaFont.js +51 -0
  8. package/dist/cjs/firaFont.js.map +7 -0
  9. package/dist/cjs/fonts.js +19 -0
  10. package/dist/cjs/fonts.js.map +7 -0
  11. package/dist/cjs/index.js +20 -0
  12. package/dist/cjs/index.js.map +7 -0
  13. package/dist/cjs/interFont.js +80 -0
  14. package/dist/cjs/interFont.js.map +7 -0
  15. package/dist/cjs/themes.js +256 -0
  16. package/dist/cjs/themes.js.map +7 -0
  17. package/dist/cjs/tokens.js +89 -0
  18. package/dist/cjs/tokens.js.map +7 -0
  19. package/dist/esm/colorUtils.js +43 -0
  20. package/dist/esm/colorUtils.js.map +7 -0
  21. package/dist/esm/colors.js +54 -0
  22. package/dist/esm/colors.js.map +7 -0
  23. package/dist/esm/firaFont.js +32 -0
  24. package/dist/esm/firaFont.js.map +7 -0
  25. package/dist/esm/fonts.js +3 -0
  26. package/dist/esm/fonts.js.map +7 -0
  27. package/dist/esm/index.js +4 -0
  28. package/dist/esm/index.js.map +7 -0
  29. package/dist/esm/interFont.js +61 -0
  30. package/dist/esm/interFont.js.map +7 -0
  31. package/dist/esm/themes.js +232 -0
  32. package/dist/esm/themes.js.map +7 -0
  33. package/dist/esm/tokens.js +62 -0
  34. package/dist/esm/tokens.js.map +7 -0
  35. package/dist/jsx/colorUtils.js +42 -0
  36. package/dist/jsx/colors.js +53 -0
  37. package/dist/jsx/firaFont.js +31 -0
  38. package/dist/jsx/fonts.js +2 -0
  39. package/dist/jsx/index.js +3 -0
  40. package/dist/jsx/interFont.js +60 -0
  41. package/dist/jsx/themes.js +231 -0
  42. package/dist/jsx/tokens.js +61 -0
  43. package/package.json +27 -0
  44. package/types/colorUtils.d.ts +4 -0
  45. package/types/colorUtils.d.ts.map +1 -0
  46. package/types/colors.d.ts +444 -0
  47. package/types/colors.d.ts.map +1 -0
  48. package/types/firaFont.d.ts +28 -0
  49. package/types/firaFont.d.ts.map +1 -0
  50. package/types/fonts.d.ts +3 -0
  51. package/types/fonts.d.ts.map +1 -0
  52. package/types/index.d.ts +4 -0
  53. package/types/index.d.ts.map +1 -0
  54. package/types/interFont.d.ts +57 -0
  55. package/types/interFont.d.ts.map +1 -0
  56. package/types/themes.d.ts +559 -0
  57. package/types/themes.d.ts.map +1 -0
  58. package/types/tokens.d.ts +457 -0
  59. package/types/tokens.d.ts.map +1 -0
@@ -0,0 +1,559 @@
1
+ import { Variable } from '@tamagui/core';
2
+ export declare const colorSchemes: readonly [{
3
+ readonly name: "blue";
4
+ readonly colors: {
5
+ blue1: string;
6
+ blue2: string;
7
+ blue3: string;
8
+ blue4: string;
9
+ blue5: string;
10
+ blue6: string;
11
+ blue7: string;
12
+ blue8: string;
13
+ blue9: string;
14
+ blue10: string;
15
+ blue11: string;
16
+ blue12: string;
17
+ };
18
+ readonly darkColors: {
19
+ blue1: string;
20
+ blue2: string;
21
+ blue3: string;
22
+ blue4: string;
23
+ blue5: string;
24
+ blue6: string;
25
+ blue7: string;
26
+ blue8: string;
27
+ blue9: string;
28
+ blue10: string;
29
+ blue11: string;
30
+ blue12: string;
31
+ };
32
+ }, {
33
+ readonly name: "gray";
34
+ readonly colors: {
35
+ gray1: string;
36
+ gray2: string;
37
+ gray3: string;
38
+ gray4: string;
39
+ gray5: string;
40
+ gray6: string;
41
+ gray7: string;
42
+ gray8: string;
43
+ gray9: string;
44
+ gray10: string;
45
+ gray11: string;
46
+ gray12: string;
47
+ };
48
+ readonly darkColors: {
49
+ gray1: string;
50
+ gray2: string;
51
+ gray3: string;
52
+ gray4: string;
53
+ gray5: string;
54
+ gray6: string;
55
+ gray7: string;
56
+ gray8: string;
57
+ gray9: string;
58
+ gray10: string;
59
+ gray11: string;
60
+ gray12: string;
61
+ };
62
+ }, {
63
+ readonly name: "green";
64
+ readonly colors: {
65
+ green1: string;
66
+ green2: string;
67
+ green3: string;
68
+ green4: string;
69
+ green5: string;
70
+ green6: string;
71
+ green7: string;
72
+ green8: string;
73
+ green9: string;
74
+ green10: string;
75
+ green11: string;
76
+ green12: string;
77
+ };
78
+ readonly darkColors: {
79
+ green1: string;
80
+ green2: string;
81
+ green3: string;
82
+ green4: string;
83
+ green5: string;
84
+ green6: string;
85
+ green7: string;
86
+ green8: string;
87
+ green9: string;
88
+ green10: string;
89
+ green11: string;
90
+ green12: string;
91
+ };
92
+ }, {
93
+ readonly name: "indigo";
94
+ readonly colors: {
95
+ indigo1: string;
96
+ indigo2: string;
97
+ indigo3: string;
98
+ indigo4: string;
99
+ indigo5: string;
100
+ indigo6: string;
101
+ indigo7: string;
102
+ indigo8: string;
103
+ indigo9: string;
104
+ indigo10: string;
105
+ indigo11: string;
106
+ indigo12: string;
107
+ };
108
+ readonly darkColors: {
109
+ indigo1: string;
110
+ indigo2: string;
111
+ indigo3: string;
112
+ indigo4: string;
113
+ indigo5: string;
114
+ indigo6: string;
115
+ indigo7: string;
116
+ indigo8: string;
117
+ indigo9: string;
118
+ indigo10: string;
119
+ indigo11: string;
120
+ indigo12: string;
121
+ };
122
+ }, {
123
+ readonly name: "orange";
124
+ readonly colors: {
125
+ orange1: string;
126
+ orange2: string;
127
+ orange3: string;
128
+ orange4: string;
129
+ orange5: string;
130
+ orange6: string;
131
+ orange7: string;
132
+ orange8: string;
133
+ orange9: string;
134
+ orange10: string;
135
+ orange11: string;
136
+ orange12: string;
137
+ };
138
+ readonly darkColors: {
139
+ orange1: string;
140
+ orange2: string;
141
+ orange3: string;
142
+ orange4: string;
143
+ orange5: string;
144
+ orange6: string;
145
+ orange7: string;
146
+ orange8: string;
147
+ orange9: string;
148
+ orange10: string;
149
+ orange11: string;
150
+ orange12: string;
151
+ };
152
+ }, {
153
+ readonly name: "pink";
154
+ readonly colors: {
155
+ pink1: string;
156
+ pink2: string;
157
+ pink3: string;
158
+ pink4: string;
159
+ pink5: string;
160
+ pink6: string;
161
+ pink7: string;
162
+ pink8: string;
163
+ pink9: string;
164
+ pink10: string;
165
+ pink11: string;
166
+ pink12: string;
167
+ };
168
+ readonly darkColors: {
169
+ pink1: string;
170
+ pink2: string;
171
+ pink3: string;
172
+ pink4: string;
173
+ pink5: string;
174
+ pink6: string;
175
+ pink7: string;
176
+ pink8: string;
177
+ pink9: string;
178
+ pink10: string;
179
+ pink11: string;
180
+ pink12: string;
181
+ };
182
+ }, {
183
+ readonly name: "purple";
184
+ readonly colors: {
185
+ purple1: string;
186
+ purple2: string;
187
+ purple3: string;
188
+ purple4: string;
189
+ purple5: string;
190
+ purple6: string;
191
+ purple7: string;
192
+ purple8: string;
193
+ purple9: string;
194
+ purple10: string;
195
+ purple11: string;
196
+ purple12: string;
197
+ };
198
+ readonly darkColors: {
199
+ purple1: string;
200
+ purple2: string;
201
+ purple3: string;
202
+ purple4: string;
203
+ purple5: string;
204
+ purple6: string;
205
+ purple7: string;
206
+ purple8: string;
207
+ purple9: string;
208
+ purple10: string;
209
+ purple11: string;
210
+ purple12: string;
211
+ };
212
+ }, {
213
+ readonly name: "red";
214
+ readonly colors: {
215
+ red1: string;
216
+ red2: string;
217
+ red3: string;
218
+ red4: string;
219
+ red5: string;
220
+ red6: string;
221
+ red7: string;
222
+ red8: string;
223
+ red9: string;
224
+ red10: string;
225
+ red11: string;
226
+ red12: string;
227
+ };
228
+ readonly darkColors: {
229
+ red1: string;
230
+ red2: string;
231
+ red3: string;
232
+ red4: string;
233
+ red5: string;
234
+ red6: string;
235
+ red7: string;
236
+ red8: string;
237
+ red9: string;
238
+ red10: string;
239
+ red11: string;
240
+ red12: string;
241
+ };
242
+ }, {
243
+ readonly name: "violet";
244
+ readonly colors: {
245
+ violet1: string;
246
+ violet2: string;
247
+ violet3: string;
248
+ violet4: string;
249
+ violet5: string;
250
+ violet6: string;
251
+ violet7: string;
252
+ violet8: string;
253
+ violet9: string;
254
+ violet10: string;
255
+ violet11: string;
256
+ violet12: string;
257
+ };
258
+ readonly darkColors: {
259
+ violet1: string;
260
+ violet2: string;
261
+ violet3: string;
262
+ violet4: string;
263
+ violet5: string;
264
+ violet6: string;
265
+ violet7: string;
266
+ violet8: string;
267
+ violet9: string;
268
+ violet10: string;
269
+ violet11: string;
270
+ violet12: string;
271
+ };
272
+ }, {
273
+ readonly name: "yellow";
274
+ readonly colors: {
275
+ yellow1: string;
276
+ yellow2: string;
277
+ yellow3: string;
278
+ yellow4: string;
279
+ yellow5: string;
280
+ yellow6: string;
281
+ yellow7: string;
282
+ yellow8: string;
283
+ yellow9: string;
284
+ yellow10: string;
285
+ yellow11: string;
286
+ yellow12: string;
287
+ };
288
+ readonly darkColors: {
289
+ yellow1: string;
290
+ yellow2: string;
291
+ yellow3: string;
292
+ yellow4: string;
293
+ yellow5: string;
294
+ yellow6: string;
295
+ yellow7: string;
296
+ yellow8: string;
297
+ yellow9: string;
298
+ yellow10: string;
299
+ yellow11: string;
300
+ yellow12: string;
301
+ };
302
+ }, {
303
+ readonly name: "teal";
304
+ readonly colors: {
305
+ teal1: string;
306
+ teal2: string;
307
+ teal3: string;
308
+ teal4: string;
309
+ teal5: string;
310
+ teal6: string;
311
+ teal7: string;
312
+ teal8: string;
313
+ teal9: string;
314
+ teal10: string;
315
+ teal11: string;
316
+ teal12: string;
317
+ };
318
+ readonly darkColors: {
319
+ teal1: string;
320
+ teal2: string;
321
+ teal3: string;
322
+ teal4: string;
323
+ teal5: string;
324
+ teal6: string;
325
+ teal7: string;
326
+ teal8: string;
327
+ teal9: string;
328
+ teal10: string;
329
+ teal11: string;
330
+ teal12: string;
331
+ };
332
+ }, {
333
+ readonly name: "lime";
334
+ readonly colors: {
335
+ lime1: string;
336
+ lime2: string;
337
+ lime3: string;
338
+ lime4: string;
339
+ lime5: string;
340
+ lime6: string;
341
+ lime7: string;
342
+ lime8: string;
343
+ lime9: string;
344
+ lime10: string;
345
+ lime11: string;
346
+ lime12: string;
347
+ };
348
+ readonly darkColors: {
349
+ lime1: string;
350
+ lime2: string;
351
+ lime3: string;
352
+ lime4: string;
353
+ lime5: string;
354
+ lime6: string;
355
+ lime7: string;
356
+ lime8: string;
357
+ lime9: string;
358
+ lime10: string;
359
+ lime11: string;
360
+ lime12: string;
361
+ };
362
+ }, {
363
+ readonly name: "brown";
364
+ readonly colors: {
365
+ brown1: string;
366
+ brown2: string;
367
+ brown3: string;
368
+ brown4: string;
369
+ brown5: string;
370
+ brown6: string;
371
+ brown7: string;
372
+ brown8: string;
373
+ brown9: string;
374
+ brown10: string;
375
+ brown11: string;
376
+ brown12: string;
377
+ };
378
+ readonly darkColors: {
379
+ brown1: string;
380
+ brown2: string;
381
+ brown3: string;
382
+ brown4: string;
383
+ brown5: string;
384
+ brown6: string;
385
+ brown7: string;
386
+ brown8: string;
387
+ brown9: string;
388
+ brown10: string;
389
+ brown11: string;
390
+ brown12: string;
391
+ };
392
+ }];
393
+ export declare type ColorNames = typeof colorSchemes[number]['name'];
394
+ export declare const lightGradient: (string | Variable)[];
395
+ export declare const darkGradient: string[];
396
+ declare const baseThemes: {
397
+ dark: any;
398
+ dark_active: any;
399
+ dark_Card: any;
400
+ dark_Button: any;
401
+ dark_alt1: any;
402
+ dark_alt4: any;
403
+ dark_alt2: any;
404
+ dark_alt3: any;
405
+ dark_darker: any;
406
+ light: any;
407
+ light_active: any;
408
+ light_Card: any;
409
+ light_Button: any;
410
+ light_alt1: any;
411
+ light_alt4: any;
412
+ light_alt2: any;
413
+ light_alt3: any;
414
+ light_darker: any;
415
+ };
416
+ declare const allThemes: {
417
+ readonly dark_outline: any;
418
+ readonly light_outline: any;
419
+ readonly blue: any;
420
+ readonly gray: any;
421
+ readonly green: any;
422
+ readonly indigo: any;
423
+ readonly orange: any;
424
+ readonly pink: any;
425
+ readonly purple: any;
426
+ readonly red: any;
427
+ readonly violet: any;
428
+ readonly yellow: any;
429
+ readonly teal: any;
430
+ readonly lime: any;
431
+ readonly brown: any;
432
+ readonly light_blue_alt1: any;
433
+ readonly light_blue_alt4: any;
434
+ readonly light_blue_alt2: any;
435
+ readonly light_blue_alt3: any;
436
+ readonly light_gray_alt1: any;
437
+ readonly light_gray_alt4: any;
438
+ readonly light_gray_alt2: any;
439
+ readonly light_gray_alt3: any;
440
+ readonly light_green_alt1: any;
441
+ readonly light_green_alt4: any;
442
+ readonly light_green_alt2: any;
443
+ readonly light_green_alt3: any;
444
+ readonly light_indigo_alt1: any;
445
+ readonly light_indigo_alt4: any;
446
+ readonly light_indigo_alt2: any;
447
+ readonly light_indigo_alt3: any;
448
+ readonly light_orange_alt1: any;
449
+ readonly light_orange_alt4: any;
450
+ readonly light_orange_alt2: any;
451
+ readonly light_orange_alt3: any;
452
+ readonly light_pink_alt1: any;
453
+ readonly light_pink_alt4: any;
454
+ readonly light_pink_alt2: any;
455
+ readonly light_pink_alt3: any;
456
+ readonly light_purple_alt1: any;
457
+ readonly light_purple_alt4: any;
458
+ readonly light_purple_alt2: any;
459
+ readonly light_purple_alt3: any;
460
+ readonly light_red_alt1: any;
461
+ readonly light_red_alt4: any;
462
+ readonly light_red_alt2: any;
463
+ readonly light_red_alt3: any;
464
+ readonly light_violet_alt1: any;
465
+ readonly light_violet_alt4: any;
466
+ readonly light_violet_alt2: any;
467
+ readonly light_violet_alt3: any;
468
+ readonly light_yellow_alt1: any;
469
+ readonly light_yellow_alt4: any;
470
+ readonly light_yellow_alt2: any;
471
+ readonly light_yellow_alt3: any;
472
+ readonly light_teal_alt1: any;
473
+ readonly light_teal_alt4: any;
474
+ readonly light_teal_alt2: any;
475
+ readonly light_teal_alt3: any;
476
+ readonly light_lime_alt1: any;
477
+ readonly light_lime_alt4: any;
478
+ readonly light_lime_alt2: any;
479
+ readonly light_lime_alt3: any;
480
+ readonly light_brown_alt1: any;
481
+ readonly light_brown_alt4: any;
482
+ readonly light_brown_alt2: any;
483
+ readonly light_brown_alt3: any;
484
+ readonly dark_blue_alt1: any;
485
+ readonly dark_blue_alt4: any;
486
+ readonly dark_blue_alt2: any;
487
+ readonly dark_blue_alt3: any;
488
+ readonly dark_gray_alt1: any;
489
+ readonly dark_gray_alt4: any;
490
+ readonly dark_gray_alt2: any;
491
+ readonly dark_gray_alt3: any;
492
+ readonly dark_green_alt1: any;
493
+ readonly dark_green_alt4: any;
494
+ readonly dark_green_alt2: any;
495
+ readonly dark_green_alt3: any;
496
+ readonly dark_indigo_alt1: any;
497
+ readonly dark_indigo_alt4: any;
498
+ readonly dark_indigo_alt2: any;
499
+ readonly dark_indigo_alt3: any;
500
+ readonly dark_orange_alt1: any;
501
+ readonly dark_orange_alt4: any;
502
+ readonly dark_orange_alt2: any;
503
+ readonly dark_orange_alt3: any;
504
+ readonly dark_pink_alt1: any;
505
+ readonly dark_pink_alt4: any;
506
+ readonly dark_pink_alt2: any;
507
+ readonly dark_pink_alt3: any;
508
+ readonly dark_purple_alt1: any;
509
+ readonly dark_purple_alt4: any;
510
+ readonly dark_purple_alt2: any;
511
+ readonly dark_purple_alt3: any;
512
+ readonly dark_red_alt1: any;
513
+ readonly dark_red_alt4: any;
514
+ readonly dark_red_alt2: any;
515
+ readonly dark_red_alt3: any;
516
+ readonly dark_violet_alt1: any;
517
+ readonly dark_violet_alt4: any;
518
+ readonly dark_violet_alt2: any;
519
+ readonly dark_violet_alt3: any;
520
+ readonly dark_yellow_alt1: any;
521
+ readonly dark_yellow_alt4: any;
522
+ readonly dark_yellow_alt2: any;
523
+ readonly dark_yellow_alt3: any;
524
+ readonly dark_teal_alt1: any;
525
+ readonly dark_teal_alt4: any;
526
+ readonly dark_teal_alt2: any;
527
+ readonly dark_teal_alt3: any;
528
+ readonly dark_lime_alt1: any;
529
+ readonly dark_lime_alt4: any;
530
+ readonly dark_lime_alt2: any;
531
+ readonly dark_lime_alt3: any;
532
+ readonly dark_brown_alt1: any;
533
+ readonly dark_brown_alt4: any;
534
+ readonly dark_brown_alt2: any;
535
+ readonly dark_brown_alt3: any;
536
+ readonly dark: any;
537
+ readonly dark_active: any;
538
+ readonly dark_Card: any;
539
+ readonly dark_Button: any;
540
+ readonly dark_alt1: any;
541
+ readonly dark_alt4: any;
542
+ readonly dark_alt2: any;
543
+ readonly dark_alt3: any;
544
+ readonly dark_darker: any;
545
+ readonly light: any;
546
+ readonly light_active: any;
547
+ readonly light_Card: any;
548
+ readonly light_Button: any;
549
+ readonly light_alt1: any;
550
+ readonly light_alt4: any;
551
+ readonly light_alt2: any;
552
+ readonly light_alt3: any;
553
+ readonly light_darker: any;
554
+ };
555
+ export declare const themes: {
556
+ [key in keyof typeof allThemes]: typeof baseThemes['light'];
557
+ };
558
+ export {};
559
+ //# sourceMappingURL=themes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"themes.d.ts","sourceRoot":"","sources":["../src/themes.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAoB,MAAM,eAAe,CAAA;AA4H1D,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAcf,CAAA;AAEV,oBAAY,UAAU,GAAG,OAAO,YAAY,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAAA;AAE5D,eAAO,MAAM,aAAa,uBAezB,CAAA;AAED,eAAO,MAAM,YAAY,UAaxB,CAAA;AAiBD,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;CAoBf,CAAA;AAoFD,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKL,CAAA;AAEV,eAAO,MAAM,MAAM,EAAE;KAClB,GAAG,IAAI,MAAM,OAAO,SAAS,GAAG,OAAO,UAAU,CAAC,OAAO,CAAC;CACzC,CAAA"}