@tamagui/theme-base 1.0.0-beta.200 → 1.0.0-beta.204
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/dist/cjs/colorUtils.js +5 -0
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +2 -2
- package/dist/cjs/themes.js +75 -55
- package/dist/cjs/themes.js.map +2 -2
- package/dist/cjs/tokens.js +41 -50
- package/dist/cjs/tokens.js.map +2 -2
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/themes.js +69 -59
- package/dist/esm/themes.js.map +2 -2
- package/dist/esm/tokens.js +38 -56
- package/dist/esm/tokens.js.map +2 -2
- package/dist/jsx/index.js +1 -1
- package/dist/jsx/themes.js +69 -59
- package/dist/jsx/tokens.js +38 -56
- package/package.json +5 -5
- package/types/index.d.ts +1 -1
- package/types/index.d.ts.map +1 -1
- package/types/themes.d.ts +4096 -151
- package/types/themes.d.ts.map +1 -1
- package/types/tokens.d.ts +3 -15
- package/types/tokens.d.ts.map +1 -1
- package/dist/cjs/colors.js +0 -64
- package/dist/cjs/colors.js.map +0 -7
- package/dist/cjs/firaFont.js +0 -54
- package/dist/cjs/firaFont.js.map +0 -7
- package/dist/cjs/fonts.js +0 -19
- package/dist/cjs/fonts.js.map +0 -7
- package/dist/cjs/interFont.js +0 -80
- package/dist/cjs/interFont.js.map +0 -7
- package/dist/cjs/silkscreenFont.js +0 -54
- package/dist/cjs/silkscreenFont.js.map +0 -7
- package/dist/esm/colors.js +0 -54
- package/dist/esm/colors.js.map +0 -7
- package/dist/esm/firaFont.js +0 -35
- package/dist/esm/firaFont.js.map +0 -7
- package/dist/esm/fonts.js +0 -3
- package/dist/esm/fonts.js.map +0 -7
- package/dist/esm/interFont.js +0 -61
- package/dist/esm/interFont.js.map +0 -7
- package/dist/esm/silkscreenFont.js +0 -35
- package/dist/esm/silkscreenFont.js.map +0 -7
- package/dist/jsx/colors.js +0 -53
- package/dist/jsx/firaFont.js +0 -34
- package/dist/jsx/fonts.js +0 -2
- package/dist/jsx/interFont.js +0 -60
- package/dist/jsx/silkscreenFont.js +0 -34
- package/types/colors.d.ts +0 -444
- package/types/colors.d.ts.map +0 -1
- package/types/firaFont.d.ts +0 -47
- package/types/firaFont.d.ts.map +0 -1
- package/types/fonts.d.ts +0 -3
- package/types/fonts.d.ts.map +0 -1
- package/types/interFont.d.ts +0 -57
- package/types/interFont.d.ts.map +0 -1
- package/types/silkscreenFont.d.ts +0 -48
- package/types/silkscreenFont.d.ts.map +0 -1
package/types/themes.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"themes.d.ts","sourceRoot":"","sources":["../src/themes.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"themes.d.ts","sourceRoot":"","sources":["../src/themes.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAoB,MAAM,eAAe,CAAA;AAiJ1D,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAcf,CAAA;AAEV,oBAAY,UAAU,GAAG,OAAO,YAAY,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAAA;AAE5D,eAAO,MAAM,aAAa,UAezB,CAAA;A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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGL,CAAA;AAEV,eAAO,MAAM,MAAM,EAAE;KAClB,GAAG,IAAI,MAAM,OAAO,SAAS,GAAG,OAAO,UAAU,CAAC,OAAO,CAAC;CACzC,CAAA"}
|
package/types/tokens.d.ts
CHANGED
|
@@ -1,19 +1,7 @@
|
|
|
1
|
+
export declare const sizeKeys: readonly ["true", "0", "0.25", "0.5", "1", "1.5", "2", "2.5", "3", "3.5", "4", "4.5", "5", "5.5", "6", "6.5", "7", "7.5", "8", "9", "10", "11", "12", "13", "14"];
|
|
2
|
+
export declare const getSizeAt: (index: number) => number;
|
|
1
3
|
export declare const size: {
|
|
2
|
-
|
|
3
|
-
readonly 0: 0;
|
|
4
|
-
readonly '0.5': 2;
|
|
5
|
-
readonly 1: 6;
|
|
6
|
-
readonly 2: 10;
|
|
7
|
-
readonly 3: 15;
|
|
8
|
-
readonly 4: 20;
|
|
9
|
-
readonly 5: 25;
|
|
10
|
-
readonly 6: 30;
|
|
11
|
-
readonly 7: 40;
|
|
12
|
-
readonly 8: 50;
|
|
13
|
-
readonly 9: 65;
|
|
14
|
-
readonly 10: 75;
|
|
15
|
-
readonly 11: 85;
|
|
16
|
-
readonly 12: 100;
|
|
4
|
+
[key in typeof sizeKeys[any]]: number;
|
|
17
5
|
};
|
|
18
6
|
declare type Sizes = typeof size;
|
|
19
7
|
declare type SizeKeys = keyof Sizes;
|
package/types/tokens.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../src/tokens.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../src/tokens.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,QAAQ,mKAAoK,CAAA;AAGzL,eAAO,MAAM,SAAS,UAAW,MAAM,WACqC,CAAA;AAE5E,eAAO,MAAM,IAAI,EAAE;KAChB,GAAG,IAAI,OAAO,QAAQ,CAAC,GAAG,CAAC,GAAG,MAAM;CAK/B,CAAA;AAER,aAAK,KAAK,GAAG,OAAO,IAAI,CAAA;AACxB,aAAK,QAAQ,GAAG,MAAM,KAAK,CAAA;AAE3B,eAAO,MAAM,KAAK,EAAE;KACjB,GAAG,IAAI,IAAI,QAAQ,EAAE,GAAG,QAAQ,GAAG,GAAG,SAAS,MAAM,KAAK,GAAG,KAAK,CAAC,GAAG,CAAC,GAAG,MAAM;CAI3E,CAAA;AAER,eAAO,MAAM,MAAM;;;;;;;CAOlB,CAAA;AAED,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGjB,CAAA;AAED,eAAO,MAAM,MAAM;;;;;;;;;;;CAWlB,CAAA"}
|
package/dist/cjs/colors.js
DELETED
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
var __create = Object.create;
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
9
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
10
|
-
var __spreadValues = (a, b) => {
|
|
11
|
-
for (var prop in b || (b = {}))
|
|
12
|
-
if (__hasOwnProp.call(b, prop))
|
|
13
|
-
__defNormalProp(a, prop, b[prop]);
|
|
14
|
-
if (__getOwnPropSymbols)
|
|
15
|
-
for (var prop of __getOwnPropSymbols(b)) {
|
|
16
|
-
if (__propIsEnum.call(b, prop))
|
|
17
|
-
__defNormalProp(a, prop, b[prop]);
|
|
18
|
-
}
|
|
19
|
-
return a;
|
|
20
|
-
};
|
|
21
|
-
var __export = (target, all) => {
|
|
22
|
-
for (var name in all)
|
|
23
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
24
|
-
};
|
|
25
|
-
var __copyProps = (to, from, except, desc) => {
|
|
26
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
27
|
-
for (let key of __getOwnPropNames(from))
|
|
28
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
29
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
30
|
-
}
|
|
31
|
-
return to;
|
|
32
|
-
};
|
|
33
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod));
|
|
34
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
35
|
-
var colors_exports = {};
|
|
36
|
-
__export(colors_exports, {
|
|
37
|
-
allDarkColors: () => allDarkColors,
|
|
38
|
-
allLightColors: () => allLightColors,
|
|
39
|
-
colorNames: () => colorNames,
|
|
40
|
-
colorNamesDark: () => colorNamesDark,
|
|
41
|
-
colorNamesLight: () => colorNamesLight,
|
|
42
|
-
darkColorsPostfixed: () => darkColorsPostfixed
|
|
43
|
-
});
|
|
44
|
-
module.exports = __toCommonJS(colors_exports);
|
|
45
|
-
var Colors = __toESM(require("@tamagui/colors"));
|
|
46
|
-
const colorNames = [
|
|
47
|
-
"blue",
|
|
48
|
-
"gray",
|
|
49
|
-
"green",
|
|
50
|
-
"indigo",
|
|
51
|
-
"orange",
|
|
52
|
-
"pink",
|
|
53
|
-
"purple",
|
|
54
|
-
"red",
|
|
55
|
-
"violet",
|
|
56
|
-
"yellow",
|
|
57
|
-
"teal"
|
|
58
|
-
];
|
|
59
|
-
const allLightColors = __spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues({}, Colors.blue), Colors.gray), Colors.grayA), Colors.green), Colors.indigo), Colors.orange), Colors.pink), Colors.purple), Colors.red), Colors.violet), Colors.yellow), Colors.teal);
|
|
60
|
-
const allDarkColors = __spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues({}, Colors.blueDark), Colors.grayDark), Colors.grayDarkA), Colors.greenDark), Colors.indigoDark), Colors.orangeDark), Colors.pinkDark), Colors.purpleDark), Colors.redDark), Colors.violetDark), Colors.yellowDark), Colors.tealDark);
|
|
61
|
-
const darkColorsPostfixed = Object.fromEntries(Object.entries(allDarkColors).map(([k, v]) => [`${k}Dark`, v]));
|
|
62
|
-
const colorNamesLight = Object.keys(allLightColors);
|
|
63
|
-
const colorNamesDark = Object.keys(allDarkColors);
|
|
64
|
-
//# sourceMappingURL=colors.js.map
|
package/dist/cjs/colors.js.map
DELETED
|
@@ -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;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,aAAwB;AAIjB,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,wLACzB,OAAO,OACP,OAAO,OACP,OAAO,QACP,OAAO,QACP,OAAO,SACP,OAAO,SACP,OAAO,OACP,OAAO,SACP,OAAO,MACP,OAAO,SACP,OAAO,SACP,OAAO;AAGL,MAAM,gBAAgB,wLACxB,OAAO,WACP,OAAO,WACP,OAAO,YACP,OAAO,YACP,OAAO,aACP,OAAO,aACP,OAAO,WACP,OAAO,aACP,OAAO,UACP,OAAO,aACP,OAAO,aACP,OAAO;AAGL,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
|
-
}
|
package/dist/cjs/firaFont.js
DELETED
|
@@ -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 firaFont_exports = {};
|
|
19
|
-
__export(firaFont_exports, {
|
|
20
|
-
firaFont: () => firaFont
|
|
21
|
-
});
|
|
22
|
-
module.exports = __toCommonJS(firaFont_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 firaFont = (0, import_core.createFont)({
|
|
43
|
-
family: "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
|
-
6: "700"
|
|
49
|
-
},
|
|
50
|
-
letterSpacing: {
|
|
51
|
-
4: 0
|
|
52
|
-
}
|
|
53
|
-
});
|
|
54
|
-
//# sourceMappingURL=firaFont.js.map
|
package/dist/cjs/firaFont.js.map
DELETED
|
@@ -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;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,WAAW,4BAAW;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/cjs/fonts.js
DELETED
|
@@ -1,19 +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 __copyProps = (to, from, except, desc) => {
|
|
6
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
7
|
-
for (let key of __getOwnPropNames(from))
|
|
8
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
9
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
10
|
-
}
|
|
11
|
-
return to;
|
|
12
|
-
};
|
|
13
|
-
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
14
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
-
var fonts_exports = {};
|
|
16
|
-
module.exports = __toCommonJS(fonts_exports);
|
|
17
|
-
__reExport(fonts_exports, require("./interFont"), module.exports);
|
|
18
|
-
__reExport(fonts_exports, require("./firaFont"), module.exports);
|
|
19
|
-
//# sourceMappingURL=fonts.js.map
|
package/dist/cjs/fonts.js.map
DELETED
package/dist/cjs/interFont.js
DELETED
|
@@ -1,80 +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 interFont_exports = {};
|
|
19
|
-
__export(interFont_exports, {
|
|
20
|
-
interFont: () => interFont
|
|
21
|
-
});
|
|
22
|
-
module.exports = __toCommonJS(interFont_exports);
|
|
23
|
-
var import_core = require("@tamagui/core");
|
|
24
|
-
const interFont = (0, import_core.createFont)({
|
|
25
|
-
family: 'Inter, -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif',
|
|
26
|
-
size: {
|
|
27
|
-
1: 10,
|
|
28
|
-
2: 12,
|
|
29
|
-
3: 14,
|
|
30
|
-
4: 15,
|
|
31
|
-
5: 16,
|
|
32
|
-
6: 17,
|
|
33
|
-
7: 21,
|
|
34
|
-
8: 25,
|
|
35
|
-
9: 32,
|
|
36
|
-
10: 45,
|
|
37
|
-
11: 58,
|
|
38
|
-
12: 68,
|
|
39
|
-
13: 82,
|
|
40
|
-
14: 102,
|
|
41
|
-
15: 124,
|
|
42
|
-
16: 144
|
|
43
|
-
},
|
|
44
|
-
lineHeight: {
|
|
45
|
-
1: 15,
|
|
46
|
-
2: 20,
|
|
47
|
-
3: 25,
|
|
48
|
-
4: 27,
|
|
49
|
-
5: 29,
|
|
50
|
-
6: 31,
|
|
51
|
-
7: 34,
|
|
52
|
-
8: 38,
|
|
53
|
-
9: 42,
|
|
54
|
-
10: 54,
|
|
55
|
-
11: 72,
|
|
56
|
-
12: 80,
|
|
57
|
-
13: 100,
|
|
58
|
-
14: 120,
|
|
59
|
-
15: 150,
|
|
60
|
-
16: 170
|
|
61
|
-
},
|
|
62
|
-
weight: {
|
|
63
|
-
4: "300",
|
|
64
|
-
7: "600",
|
|
65
|
-
8: "700"
|
|
66
|
-
},
|
|
67
|
-
letterSpacing: {
|
|
68
|
-
4: 0,
|
|
69
|
-
7: 0,
|
|
70
|
-
8: -1,
|
|
71
|
-
9: -2,
|
|
72
|
-
10: -3,
|
|
73
|
-
11: -4,
|
|
74
|
-
12: -5,
|
|
75
|
-
13: -6,
|
|
76
|
-
14: -7,
|
|
77
|
-
15: -8
|
|
78
|
-
}
|
|
79
|
-
});
|
|
80
|
-
//# 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;AAAA;AAAA;AAAA;AAAA;AAAA,kBAA2B;AAEpB,MAAM,YAAY,4BAAW;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,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
|
-
}
|
package/dist/esm/colors.js
DELETED
|
@@ -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
|
package/dist/esm/colors.js.map
DELETED
|
@@ -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
|
-
}
|
package/dist/esm/firaFont.js
DELETED
|
@@ -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
|
package/dist/esm/firaFont.js.map
DELETED
|
@@ -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
package/dist/esm/fonts.js.map
DELETED
package/dist/esm/interFont.js
DELETED
|
@@ -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
|
-
}
|