@tamagui/theme-base 1.0.0-beta.181 → 1.0.0-beta.193

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 (56) hide show
  1. package/dist/cjs/colorUtils.js +0 -0
  2. package/dist/cjs/colorUtils.js.map +0 -0
  3. package/dist/cjs/index.js +0 -0
  4. package/dist/cjs/index.js.map +0 -0
  5. package/dist/cjs/themes.js +1 -2
  6. package/dist/cjs/themes.js.map +2 -2
  7. package/dist/cjs/tokens.js +0 -0
  8. package/dist/cjs/tokens.js.map +0 -0
  9. package/dist/esm/colorUtils.js +0 -0
  10. package/dist/esm/colorUtils.js.map +0 -0
  11. package/dist/esm/index.js +0 -0
  12. package/dist/esm/index.js.map +0 -0
  13. package/dist/esm/themes.js +1 -2
  14. package/dist/esm/themes.js.map +2 -2
  15. package/dist/esm/tokens.js +0 -0
  16. package/dist/esm/tokens.js.map +0 -0
  17. package/dist/jsx/colorUtils.js +0 -0
  18. package/dist/jsx/index.js +0 -0
  19. package/dist/jsx/themes.js +1 -2
  20. package/dist/jsx/tokens.js +0 -0
  21. package/package.json +5 -5
  22. package/types/themes.d.ts.map +1 -1
  23. package/dist/cjs/colors.js +0 -64
  24. package/dist/cjs/colors.js.map +0 -7
  25. package/dist/cjs/firaFont.js +0 -54
  26. package/dist/cjs/firaFont.js.map +0 -7
  27. package/dist/cjs/fonts.js +0 -19
  28. package/dist/cjs/fonts.js.map +0 -7
  29. package/dist/cjs/interFont.js +0 -80
  30. package/dist/cjs/interFont.js.map +0 -7
  31. package/dist/cjs/silkscreenFont.js +0 -54
  32. package/dist/cjs/silkscreenFont.js.map +0 -7
  33. package/dist/esm/colors.js +0 -54
  34. package/dist/esm/colors.js.map +0 -7
  35. package/dist/esm/firaFont.js +0 -35
  36. package/dist/esm/firaFont.js.map +0 -7
  37. package/dist/esm/fonts.js +0 -3
  38. package/dist/esm/fonts.js.map +0 -7
  39. package/dist/esm/interFont.js +0 -61
  40. package/dist/esm/interFont.js.map +0 -7
  41. package/dist/esm/silkscreenFont.js +0 -35
  42. package/dist/esm/silkscreenFont.js.map +0 -7
  43. package/dist/jsx/colors.js +0 -53
  44. package/dist/jsx/firaFont.js +0 -34
  45. package/dist/jsx/fonts.js +0 -2
  46. package/dist/jsx/interFont.js +0 -60
  47. package/dist/jsx/silkscreenFont.js +0 -34
  48. package/types/colors.d.ts +0 -444
  49. package/types/colors.d.ts.map +0 -1
  50. package/types/firaFont.d.ts +0 -47
  51. package/types/firaFont.d.ts.map +0 -1
  52. package/types/fonts.d.ts +0 -3
  53. package/types/fonts.d.ts.map +0 -1
  54. package/types/interFont.d.ts.map +0 -1
  55. package/types/silkscreenFont.d.ts +0 -48
  56. package/types/silkscreenFont.d.ts.map +0 -1
@@ -1,54 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __export = (target, all) => {
6
- for (var name in all)
7
- __defProp(target, name, { get: all[name], enumerable: true });
8
- };
9
- var __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from === "object" || typeof from === "function") {
11
- for (let key of __getOwnPropNames(from))
12
- if (!__hasOwnProp.call(to, key) && key !== except)
13
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
- }
15
- return to;
16
- };
17
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
- var silkscreenFont_exports = {};
19
- __export(silkscreenFont_exports, {
20
- silkscreenFont: () => silkscreenFont
21
- });
22
- module.exports = __toCommonJS(silkscreenFont_exports);
23
- var import_core = require("@tamagui/core");
24
- const size = {
25
- 1: 10,
26
- 2: 11,
27
- 3: 12,
28
- 4: 13,
29
- 5: 14,
30
- 6: 16,
31
- 7: 20,
32
- 8: 22,
33
- 9: 30,
34
- 10: 42,
35
- 11: 52,
36
- 12: 62,
37
- 13: 72,
38
- 14: 92,
39
- 15: 114,
40
- 16: 124
41
- };
42
- const silkscreenFont = (0, import_core.createFont)({
43
- family: "Silkscreen, Fira Code, Monaco, Consolas, Ubuntu Mono, monospace",
44
- size,
45
- lineHeight: Object.fromEntries(Object.entries(size).map(([k, v]) => [k, v * 1.75])),
46
- weight: {
47
- 4: "300"
48
- },
49
- letterSpacing: {
50
- 4: 1,
51
- 6: 3
52
- }
53
- });
54
- //# sourceMappingURL=silkscreenFont.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/silkscreenFont.tsx"],
4
- "sourcesContent": ["import { createFont } from '@tamagui/core'\n\nconst size = {\n 1: 10,\n 2: 11,\n 3: 12,\n 4: 13,\n 5: 14,\n 6: 16,\n 7: 20,\n 8: 22,\n 9: 30,\n 10: 42,\n 11: 52,\n 12: 62,\n 13: 72,\n 14: 92,\n 15: 114,\n 16: 124,\n}\n\nexport const silkscreenFont = createFont({\n family: 'Silkscreen, Fira Code, Monaco, Consolas, Ubuntu Mono, monospace',\n size,\n lineHeight: Object.fromEntries(\n Object.entries(size).map(([k, v]) => [k, v * 1.75])\n ) as typeof size,\n weight: {\n 4: '300',\n },\n letterSpacing: {\n 4: 1,\n 6: 3,\n },\n})\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAA2B;AAE3B,MAAM,OAAO;AAAA,EACX,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AACN;AAEO,MAAM,iBAAiB,4BAAW;AAAA,EACvC,QAAQ;AAAA,EACR;AAAA,EACA,YAAY,OAAO,YACjB,OAAO,QAAQ,IAAI,EAAE,IAAI,CAAC,CAAC,GAAG,OAAO,CAAC,GAAG,IAAI,IAAI,CAAC,CACpD;AAAA,EACA,QAAQ;AAAA,IACN,GAAG;AAAA,EACL;AAAA,EACA,eAAe;AAAA,IACb,GAAG;AAAA,IACH,GAAG;AAAA,EACL;AACF,CAAC;",
6
- "names": []
7
- }
@@ -1,54 +0,0 @@
1
- import * as Colors from "@tamagui/colors";
2
- const colorNames = [
3
- "blue",
4
- "gray",
5
- "green",
6
- "indigo",
7
- "orange",
8
- "pink",
9
- "purple",
10
- "red",
11
- "violet",
12
- "yellow",
13
- "teal"
14
- ];
15
- const allLightColors = {
16
- ...Colors.blue,
17
- ...Colors.gray,
18
- ...Colors.grayA,
19
- ...Colors.green,
20
- ...Colors.indigo,
21
- ...Colors.orange,
22
- ...Colors.pink,
23
- ...Colors.purple,
24
- ...Colors.red,
25
- ...Colors.violet,
26
- ...Colors.yellow,
27
- ...Colors.teal
28
- };
29
- const allDarkColors = {
30
- ...Colors.blueDark,
31
- ...Colors.grayDark,
32
- ...Colors.grayDarkA,
33
- ...Colors.greenDark,
34
- ...Colors.indigoDark,
35
- ...Colors.orangeDark,
36
- ...Colors.pinkDark,
37
- ...Colors.purpleDark,
38
- ...Colors.redDark,
39
- ...Colors.violetDark,
40
- ...Colors.yellowDark,
41
- ...Colors.tealDark
42
- };
43
- const darkColorsPostfixed = Object.fromEntries(Object.entries(allDarkColors).map(([k, v]) => [`${k}Dark`, v]));
44
- const colorNamesLight = Object.keys(allLightColors);
45
- const colorNamesDark = Object.keys(allDarkColors);
46
- export {
47
- allDarkColors,
48
- allLightColors,
49
- colorNames,
50
- colorNamesDark,
51
- colorNamesLight,
52
- darkColorsPostfixed
53
- };
54
- //# sourceMappingURL=colors.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/colors.tsx"],
4
- "sourcesContent": ["import * as Colors from '@tamagui/colors'\n\n// nice and flat\n\nexport const colorNames = [\n 'blue',\n 'gray',\n 'green',\n 'indigo',\n 'orange',\n 'pink',\n 'purple',\n 'red',\n 'violet',\n 'yellow',\n 'teal',\n] as const\n\nexport const allLightColors = {\n ...Colors.blue,\n ...Colors.gray,\n ...Colors.grayA,\n ...Colors.green,\n ...Colors.indigo,\n ...Colors.orange,\n ...Colors.pink,\n ...Colors.purple,\n ...Colors.red,\n ...Colors.violet,\n ...Colors.yellow,\n ...Colors.teal,\n}\n\nexport const allDarkColors = {\n ...Colors.blueDark,\n ...Colors.grayDark,\n ...Colors.grayDarkA,\n ...Colors.greenDark,\n ...Colors.indigoDark,\n ...Colors.orangeDark,\n ...Colors.pinkDark,\n ...Colors.purpleDark,\n ...Colors.redDark,\n ...Colors.violetDark,\n ...Colors.yellowDark,\n ...Colors.tealDark,\n}\n\nexport const darkColorsPostfixed = Object.fromEntries(\n // Dark\n Object.entries(allDarkColors).map(([k, v]) => [`${k}Dark`, v])\n) as {\n [key in `${keyof typeof allDarkColors}Dark`]: string\n}\n\nexport type ColorNamesLight = keyof typeof allLightColors\nexport type ColorNamesDark = keyof typeof allDarkColors\n\nexport const colorNamesLight = Object.keys(allLightColors) as ColorNamesLight[]\nexport const colorNamesDark = Object.keys(allDarkColors) as ColorNamesDark[]\n"],
5
- "mappings": "AAAA;AAIO,MAAM,aAAa;AAAA,EACxB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;AAEO,MAAM,iBAAiB;AAAA,KACzB,OAAO;AAAA,KACP,OAAO;AAAA,KACP,OAAO;AAAA,KACP,OAAO;AAAA,KACP,OAAO;AAAA,KACP,OAAO;AAAA,KACP,OAAO;AAAA,KACP,OAAO;AAAA,KACP,OAAO;AAAA,KACP,OAAO;AAAA,KACP,OAAO;AAAA,KACP,OAAO;AACZ;AAEO,MAAM,gBAAgB;AAAA,KACxB,OAAO;AAAA,KACP,OAAO;AAAA,KACP,OAAO;AAAA,KACP,OAAO;AAAA,KACP,OAAO;AAAA,KACP,OAAO;AAAA,KACP,OAAO;AAAA,KACP,OAAO;AAAA,KACP,OAAO;AAAA,KACP,OAAO;AAAA,KACP,OAAO;AAAA,KACP,OAAO;AACZ;AAEO,MAAM,sBAAsB,OAAO,YAExC,OAAO,QAAQ,aAAa,EAAE,IAAI,CAAC,CAAC,GAAG,OAAO,CAAC,GAAG,SAAS,CAAC,CAAC,CAC/D;AAOO,MAAM,kBAAkB,OAAO,KAAK,cAAc;AAClD,MAAM,iBAAiB,OAAO,KAAK,aAAa;",
6
- "names": []
7
- }
@@ -1,35 +0,0 @@
1
- import { createFont } from "@tamagui/core";
2
- const size = {
3
- 1: 10,
4
- 2: 11,
5
- 3: 12,
6
- 4: 13,
7
- 5: 14,
8
- 6: 16,
9
- 7: 20,
10
- 8: 22,
11
- 9: 30,
12
- 10: 42,
13
- 11: 52,
14
- 12: 62,
15
- 13: 72,
16
- 14: 92,
17
- 15: 114,
18
- 16: 124
19
- };
20
- const firaFont = createFont({
21
- family: "Fira Code, Monaco, Consolas, Ubuntu Mono, monospace",
22
- size,
23
- lineHeight: Object.fromEntries(Object.entries(size).map(([k, v]) => [k, v * 1.75])),
24
- weight: {
25
- 4: "300",
26
- 6: "700"
27
- },
28
- letterSpacing: {
29
- 4: 0
30
- }
31
- });
32
- export {
33
- firaFont
34
- };
35
- //# sourceMappingURL=firaFont.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/firaFont.tsx"],
4
- "sourcesContent": ["import { createFont } from '@tamagui/core'\n\nconst size = {\n 1: 10,\n 2: 11,\n 3: 12,\n 4: 13,\n 5: 14,\n 6: 16,\n 7: 20,\n 8: 22,\n 9: 30,\n 10: 42,\n 11: 52,\n 12: 62,\n 13: 72,\n 14: 92,\n 15: 114,\n 16: 124,\n}\n\nexport const firaFont = createFont({\n family: 'Fira Code, Monaco, Consolas, Ubuntu Mono, monospace',\n size,\n lineHeight: Object.fromEntries(\n Object.entries(size).map(([k, v]) => [k, v * 1.75])\n ) as typeof size,\n weight: {\n 4: '300',\n 6: '700',\n },\n letterSpacing: {\n 4: 0,\n },\n})\n"],
5
- "mappings": "AAAA;AAEA,MAAM,OAAO;AAAA,EACX,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AACN;AAEO,MAAM,WAAW,WAAW;AAAA,EACjC,QAAQ;AAAA,EACR;AAAA,EACA,YAAY,OAAO,YACjB,OAAO,QAAQ,IAAI,EAAE,IAAI,CAAC,CAAC,GAAG,OAAO,CAAC,GAAG,IAAI,IAAI,CAAC,CACpD;AAAA,EACA,QAAQ;AAAA,IACN,GAAG;AAAA,IACH,GAAG;AAAA,EACL;AAAA,EACA,eAAe;AAAA,IACb,GAAG;AAAA,EACL;AACF,CAAC;",
6
- "names": []
7
- }
package/dist/esm/fonts.js DELETED
@@ -1,3 +0,0 @@
1
- export * from "./interFont";
2
- export * from "./firaFont";
3
- //# sourceMappingURL=fonts.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/fonts.tsx"],
4
- "sourcesContent": ["export * from './interFont'\nexport * from './firaFont'\n"],
5
- "mappings": "AAAA;AACA;",
6
- "names": []
7
- }
@@ -1,61 +0,0 @@
1
- import { createFont } from "@tamagui/core";
2
- const interFont = createFont({
3
- family: 'Inter, -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif',
4
- size: {
5
- 1: 10,
6
- 2: 12,
7
- 3: 14,
8
- 4: 15,
9
- 5: 16,
10
- 6: 17,
11
- 7: 21,
12
- 8: 25,
13
- 9: 32,
14
- 10: 45,
15
- 11: 58,
16
- 12: 68,
17
- 13: 82,
18
- 14: 102,
19
- 15: 124,
20
- 16: 144
21
- },
22
- lineHeight: {
23
- 1: 15,
24
- 2: 20,
25
- 3: 25,
26
- 4: 27,
27
- 5: 29,
28
- 6: 31,
29
- 7: 34,
30
- 8: 38,
31
- 9: 42,
32
- 10: 54,
33
- 11: 72,
34
- 12: 80,
35
- 13: 100,
36
- 14: 120,
37
- 15: 150,
38
- 16: 170
39
- },
40
- weight: {
41
- 4: "300",
42
- 7: "600",
43
- 8: "700"
44
- },
45
- letterSpacing: {
46
- 4: 0,
47
- 7: 0,
48
- 8: -1,
49
- 9: -2,
50
- 10: -3,
51
- 11: -4,
52
- 12: -5,
53
- 13: -6,
54
- 14: -7,
55
- 15: -8
56
- }
57
- });
58
- export {
59
- interFont
60
- };
61
- //# sourceMappingURL=interFont.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/interFont.tsx"],
4
- "sourcesContent": ["import { createFont } from '@tamagui/core'\n\nexport const interFont = createFont({\n family:\n 'Inter, -apple-system, system-ui, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif',\n size: {\n 1: 10,\n 2: 12,\n 3: 14,\n 4: 15,\n 5: 16,\n 6: 17,\n 7: 21,\n 8: 25,\n 9: 32,\n 10: 45,\n 11: 58,\n 12: 68,\n 13: 82,\n 14: 102,\n 15: 124,\n 16: 144,\n },\n lineHeight: {\n 1: 15,\n 2: 20,\n 3: 25,\n 4: 27,\n 5: 29,\n 6: 31,\n 7: 34,\n 8: 38,\n 9: 42,\n 10: 54,\n 11: 72,\n 12: 80,\n 13: 100,\n 14: 120,\n 15: 150,\n 16: 170,\n },\n weight: {\n 4: '300',\n 7: '600',\n 8: '700',\n },\n letterSpacing: {\n 4: 0,\n 7: 0,\n 8: -1,\n 9: -2,\n 10: -3,\n 11: -4,\n 12: -5,\n 13: -6,\n 14: -7,\n 15: -8,\n },\n})\n"],
5
- "mappings": "AAAA;AAEO,MAAM,YAAY,WAAW;AAAA,EAClC,QACE;AAAA,EACF,MAAM;AAAA,IACJ,GAAG;AAAA,IACH,GAAG;AAAA,IACH,GAAG;AAAA,IACH,GAAG;AAAA,IACH,GAAG;AAAA,IACH,GAAG;AAAA,IACH,GAAG;AAAA,IACH,GAAG;AAAA,IACH,GAAG;AAAA,IACH,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EACN;AAAA,EACA,YAAY;AAAA,IACV,GAAG;AAAA,IACH,GAAG;AAAA,IACH,GAAG;AAAA,IACH,GAAG;AAAA,IACH,GAAG;AAAA,IACH,GAAG;AAAA,IACH,GAAG;AAAA,IACH,GAAG;AAAA,IACH,GAAG;AAAA,IACH,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EACN;AAAA,EACA,QAAQ;AAAA,IACN,GAAG;AAAA,IACH,GAAG;AAAA,IACH,GAAG;AAAA,EACL;AAAA,EACA,eAAe;AAAA,IACb,GAAG;AAAA,IACH,GAAG;AAAA,IACH,GAAG;AAAA,IACH,GAAG;AAAA,IACH,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EACN;AACF,CAAC;",
6
- "names": []
7
- }
@@ -1,35 +0,0 @@
1
- import { createFont } from "@tamagui/core";
2
- const size = {
3
- 1: 10,
4
- 2: 11,
5
- 3: 12,
6
- 4: 13,
7
- 5: 14,
8
- 6: 16,
9
- 7: 20,
10
- 8: 22,
11
- 9: 30,
12
- 10: 42,
13
- 11: 52,
14
- 12: 62,
15
- 13: 72,
16
- 14: 92,
17
- 15: 114,
18
- 16: 124
19
- };
20
- const silkscreenFont = createFont({
21
- family: "Silkscreen, Fira Code, Monaco, Consolas, Ubuntu Mono, monospace",
22
- size,
23
- lineHeight: Object.fromEntries(Object.entries(size).map(([k, v]) => [k, v * 1.75])),
24
- weight: {
25
- 4: "300"
26
- },
27
- letterSpacing: {
28
- 4: 1,
29
- 6: 3
30
- }
31
- });
32
- export {
33
- silkscreenFont
34
- };
35
- //# sourceMappingURL=silkscreenFont.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/silkscreenFont.tsx"],
4
- "sourcesContent": ["import { createFont } from '@tamagui/core'\n\nconst size = {\n 1: 10,\n 2: 11,\n 3: 12,\n 4: 13,\n 5: 14,\n 6: 16,\n 7: 20,\n 8: 22,\n 9: 30,\n 10: 42,\n 11: 52,\n 12: 62,\n 13: 72,\n 14: 92,\n 15: 114,\n 16: 124,\n}\n\nexport const silkscreenFont = createFont({\n family: 'Silkscreen, Fira Code, Monaco, Consolas, Ubuntu Mono, monospace',\n size,\n lineHeight: Object.fromEntries(\n Object.entries(size).map(([k, v]) => [k, v * 1.75])\n ) as typeof size,\n weight: {\n 4: '300',\n },\n letterSpacing: {\n 4: 1,\n 6: 3,\n },\n})\n"],
5
- "mappings": "AAAA;AAEA,MAAM,OAAO;AAAA,EACX,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AACN;AAEO,MAAM,iBAAiB,WAAW;AAAA,EACvC,QAAQ;AAAA,EACR;AAAA,EACA,YAAY,OAAO,YACjB,OAAO,QAAQ,IAAI,EAAE,IAAI,CAAC,CAAC,GAAG,OAAO,CAAC,GAAG,IAAI,IAAI,CAAC,CACpD;AAAA,EACA,QAAQ;AAAA,IACN,GAAG;AAAA,EACL;AAAA,EACA,eAAe;AAAA,IACb,GAAG;AAAA,IACH,GAAG;AAAA,EACL;AACF,CAAC;",
6
- "names": []
7
- }
@@ -1,53 +0,0 @@
1
- import * as Colors from "@tamagui/colors";
2
- const colorNames = [
3
- "blue",
4
- "gray",
5
- "green",
6
- "indigo",
7
- "orange",
8
- "pink",
9
- "purple",
10
- "red",
11
- "violet",
12
- "yellow",
13
- "teal"
14
- ];
15
- const allLightColors = {
16
- ...Colors.blue,
17
- ...Colors.gray,
18
- ...Colors.grayA,
19
- ...Colors.green,
20
- ...Colors.indigo,
21
- ...Colors.orange,
22
- ...Colors.pink,
23
- ...Colors.purple,
24
- ...Colors.red,
25
- ...Colors.violet,
26
- ...Colors.yellow,
27
- ...Colors.teal
28
- };
29
- const allDarkColors = {
30
- ...Colors.blueDark,
31
- ...Colors.grayDark,
32
- ...Colors.grayDarkA,
33
- ...Colors.greenDark,
34
- ...Colors.indigoDark,
35
- ...Colors.orangeDark,
36
- ...Colors.pinkDark,
37
- ...Colors.purpleDark,
38
- ...Colors.redDark,
39
- ...Colors.violetDark,
40
- ...Colors.yellowDark,
41
- ...Colors.tealDark
42
- };
43
- const darkColorsPostfixed = Object.fromEntries(Object.entries(allDarkColors).map(([k, v]) => [`${k}Dark`, v]));
44
- const colorNamesLight = Object.keys(allLightColors);
45
- const colorNamesDark = Object.keys(allDarkColors);
46
- export {
47
- allDarkColors,
48
- allLightColors,
49
- colorNames,
50
- colorNamesDark,
51
- colorNamesLight,
52
- darkColorsPostfixed
53
- };
@@ -1,34 +0,0 @@
1
- import { createFont } from "@tamagui/core";
2
- const size = {
3
- 1: 10,
4
- 2: 11,
5
- 3: 12,
6
- 4: 13,
7
- 5: 14,
8
- 6: 16,
9
- 7: 20,
10
- 8: 22,
11
- 9: 30,
12
- 10: 42,
13
- 11: 52,
14
- 12: 62,
15
- 13: 72,
16
- 14: 92,
17
- 15: 114,
18
- 16: 124
19
- };
20
- const firaFont = createFont({
21
- family: "Fira Code, Monaco, Consolas, Ubuntu Mono, monospace",
22
- size,
23
- lineHeight: Object.fromEntries(Object.entries(size).map(([k, v]) => [k, v * 1.75])),
24
- weight: {
25
- 4: "300",
26
- 6: "700"
27
- },
28
- letterSpacing: {
29
- 4: 0
30
- }
31
- });
32
- export {
33
- firaFont
34
- };
package/dist/jsx/fonts.js DELETED
@@ -1,2 +0,0 @@
1
- export * from "./interFont";
2
- export * from "./firaFont";
@@ -1,60 +0,0 @@
1
- import { createFont } from "@tamagui/core";
2
- const interFont = createFont({
3
- family: 'Inter, -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif',
4
- size: {
5
- 1: 10,
6
- 2: 12,
7
- 3: 14,
8
- 4: 15,
9
- 5: 16,
10
- 6: 17,
11
- 7: 21,
12
- 8: 25,
13
- 9: 32,
14
- 10: 45,
15
- 11: 58,
16
- 12: 68,
17
- 13: 82,
18
- 14: 102,
19
- 15: 124,
20
- 16: 144
21
- },
22
- lineHeight: {
23
- 1: 15,
24
- 2: 20,
25
- 3: 25,
26
- 4: 27,
27
- 5: 29,
28
- 6: 31,
29
- 7: 34,
30
- 8: 38,
31
- 9: 42,
32
- 10: 54,
33
- 11: 72,
34
- 12: 80,
35
- 13: 100,
36
- 14: 120,
37
- 15: 150,
38
- 16: 170
39
- },
40
- weight: {
41
- 4: "300",
42
- 7: "600",
43
- 8: "700"
44
- },
45
- letterSpacing: {
46
- 4: 0,
47
- 7: 0,
48
- 8: -1,
49
- 9: -2,
50
- 10: -3,
51
- 11: -4,
52
- 12: -5,
53
- 13: -6,
54
- 14: -7,
55
- 15: -8
56
- }
57
- });
58
- export {
59
- interFont
60
- };
@@ -1,34 +0,0 @@
1
- import { createFont } from "@tamagui/core";
2
- const size = {
3
- 1: 10,
4
- 2: 11,
5
- 3: 12,
6
- 4: 13,
7
- 5: 14,
8
- 6: 16,
9
- 7: 20,
10
- 8: 22,
11
- 9: 30,
12
- 10: 42,
13
- 11: 52,
14
- 12: 62,
15
- 13: 72,
16
- 14: 92,
17
- 15: 114,
18
- 16: 124
19
- };
20
- const silkscreenFont = createFont({
21
- family: "Silkscreen, Fira Code, Monaco, Consolas, Ubuntu Mono, monospace",
22
- size,
23
- lineHeight: Object.fromEntries(Object.entries(size).map(([k, v]) => [k, v * 1.75])),
24
- weight: {
25
- 4: "300"
26
- },
27
- letterSpacing: {
28
- 4: 1,
29
- 6: 3
30
- }
31
- });
32
- export {
33
- silkscreenFont
34
- };