@tamagui/config-base 1.0.1-beta.192 → 1.0.1-beta.194
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.
|
@@ -55,7 +55,7 @@ const headingFont = (0, import_font_inter.createInterFont)(
|
|
|
55
55
|
7: 0,
|
|
56
56
|
8: 0,
|
|
57
57
|
9: -1,
|
|
58
|
-
10: -1,
|
|
58
|
+
10: -1.5,
|
|
59
59
|
12: -2,
|
|
60
60
|
14: -3,
|
|
61
61
|
15: -4
|
|
@@ -66,7 +66,7 @@ const headingFont = (0, import_font_inter.createInterFont)(
|
|
|
66
66
|
900: { normal: "InterBold" }
|
|
67
67
|
}
|
|
68
68
|
},
|
|
69
|
-
{ sizeLineHeight: (size) => Math.round(size * 1.1 + (size < 30 ? 10 :
|
|
69
|
+
{ sizeLineHeight: (size) => Math.round(size * 1.1 + (size < 30 ? 10 : 5)) }
|
|
70
70
|
);
|
|
71
71
|
const bodyFont = (0, import_font_inter.createInterFont)(
|
|
72
72
|
{
|
|
@@ -78,7 +78,7 @@ const bodyFont = (0, import_font_inter.createInterFont)(
|
|
|
78
78
|
},
|
|
79
79
|
{
|
|
80
80
|
sizeSize: (size) => Math.round(size),
|
|
81
|
-
sizeLineHeight: (size) => Math.round(size * 1.1 + (size >= 12 ?
|
|
81
|
+
sizeLineHeight: (size) => Math.round(size * 1.1 + (size >= 12 ? 8 : 4))
|
|
82
82
|
}
|
|
83
83
|
);
|
|
84
84
|
const monoFont = (0, import_createGenericFont.createGenericFont)(
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/tamagui.config.ts"],
|
|
4
|
-
"sourcesContent": ["import { createInterFont } from '@tamagui/font-inter'\nimport { createSilkscreenFont } from '@tamagui/font-silkscreen'\nimport { shorthands } from '@tamagui/shorthands'\nimport { themes, tokens } from '@tamagui/theme-base'\n\nimport { animations } from './animations'\nimport { createGenericFont } from './createGenericFont'\nimport { media } from './media'\n\nexport * from './animations'\n\nconst silkscreenFont = createSilkscreenFont()\nconst headingFont = createInterFont(\n {\n size: {\n 5: 13,\n 6: 15,\n },\n transform: {\n 6: 'uppercase',\n 7: 'none',\n },\n weight: {\n 6: '400',\n 7: '700',\n },\n color: {\n 6: '$colorFocus',\n 7: '$color',\n },\n letterSpacing: {\n 5: 2,\n 6: 1,\n 7: 0,\n 8: 0,\n 9: -1,\n 10: -1,\n 12: -2,\n 14: -3,\n 15: -4,\n },\n // for native\n face: {\n 700: { normal: 'InterBold' },\n 800: { normal: 'InterBold' },\n 900: { normal: 'InterBold' },\n },\n },\n { sizeLineHeight: (size) => Math.round(size * 1.1 + (size < 30 ? 10 :
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,wBAAgC;AAChC,6BAAqC;AACrC,wBAA2B;AAC3B,wBAA+B;AAE/B,wBAA2B;AAC3B,+BAAkC;AAClC,mBAAsB;AAEtB,mCAAc,yBATd;AAWA,MAAM,qBAAiB,6CAAqB;AAC5C,MAAM,kBAAc;AAAA,EAClB;AAAA,IACE,MAAM;AAAA,MACJ,GAAG;AAAA,MACH,GAAG;AAAA,IACL;AAAA,IACA,WAAW;AAAA,MACT,GAAG;AAAA,MACH,GAAG;AAAA,IACL;AAAA,IACA,QAAQ;AAAA,MACN,GAAG;AAAA,MACH,GAAG;AAAA,IACL;AAAA,IACA,OAAO;AAAA,MACL,GAAG;AAAA,MACH,GAAG;AAAA,IACL;AAAA,IACA,eAAe;AAAA,MACb,GAAG;AAAA,MACH,GAAG;AAAA,MACH,GAAG;AAAA,MACH,GAAG;AAAA,MACH,GAAG;AAAA,MACH,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACN;AAAA,IAEA,MAAM;AAAA,MACJ,KAAK,EAAE,QAAQ,YAAY;AAAA,MAC3B,KAAK,EAAE,QAAQ,YAAY;AAAA,MAC3B,KAAK,EAAE,QAAQ,YAAY;AAAA,IAC7B;AAAA,EACF;AAAA,EACA,EAAE,gBAAgB,CAAC,SAAS,KAAK,MAAM,OAAO,OAAO,OAAO,KAAK,KAAK,EAAE,EAAE;AAC5E;AACA,MAAM,eAAW;AAAA,EACf;AAAA,IACE,QACE,QAAQ,IAAI,mBAAmB,WAC3B,UACA;AAAA,IACN,QAAQ;AAAA,MACN,GAAG;AAAA,MACH,GAAG;AAAA,IACL;AAAA,EACF;AAAA,EACA;AAAA,IACE,UAAU,CAAC,SAAS,KAAK,MAAM,IAAI;AAAA,IACnC,gBAAgB,CAAC,SAAS,KAAK,MAAM,OAAO,OAAO,QAAQ,KAAK,
|
|
4
|
+
"sourcesContent": ["import { createInterFont } from '@tamagui/font-inter'\nimport { createSilkscreenFont } from '@tamagui/font-silkscreen'\nimport { shorthands } from '@tamagui/shorthands'\nimport { themes, tokens } from '@tamagui/theme-base'\n\nimport { animations } from './animations'\nimport { createGenericFont } from './createGenericFont'\nimport { media } from './media'\n\nexport * from './animations'\n\nconst silkscreenFont = createSilkscreenFont()\nconst headingFont = createInterFont(\n {\n size: {\n 5: 13,\n 6: 15,\n },\n transform: {\n 6: 'uppercase',\n 7: 'none',\n },\n weight: {\n 6: '400',\n 7: '700',\n },\n color: {\n 6: '$colorFocus',\n 7: '$color',\n },\n letterSpacing: {\n 5: 2,\n 6: 1,\n 7: 0,\n 8: 0,\n 9: -1,\n 10: -1.5,\n 12: -2,\n 14: -3,\n 15: -4,\n },\n // for native\n face: {\n 700: { normal: 'InterBold' },\n 800: { normal: 'InterBold' },\n 900: { normal: 'InterBold' },\n },\n },\n { sizeLineHeight: (size) => Math.round(size * 1.1 + (size < 30 ? 10 : 5)) }\n)\nconst bodyFont = createInterFont(\n {\n family:\n process.env.TAMAGUI_TARGET === 'native'\n ? 'Inter'\n : '-apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"',\n weight: {\n 1: '500',\n 7: '600',\n },\n },\n {\n sizeSize: (size) => Math.round(size),\n sizeLineHeight: (size) => Math.round(size * 1.1 + (size >= 12 ? 8 : 4)),\n }\n)\n\nconst monoFont = createGenericFont(\n `\"ui-monospace\", \"SFMono-Regular\", \"SF Mono\", Menlo, Consolas, \"Liberation Mono\", monospace`,\n {\n weight: {\n 1: '500',\n },\n size: {\n 1: 11,\n 2: 12,\n 3: 13,\n 4: 14,\n 5: 16,\n 6: 18,\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 },\n {\n sizeLineHeight: (x) => x * 1.5,\n }\n)\n\nexport const config = {\n defaultTheme: 'light',\n shouldAddPrefersColorThemes: true,\n themeClassNameOnRoot: true,\n animations,\n media,\n shorthands,\n themes,\n tokens,\n fonts: {\n // noto: notoFont as any,\n heading: headingFont,\n body: bodyFont,\n mono: monoFont,\n silkscreen: silkscreenFont,\n },\n}\n\n// messing up types...\n// @ts-ignore\nconfig.mediaQueryDefaultActive = {\n xxs: true,\n xs: true,\n sm: true,\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,wBAAgC;AAChC,6BAAqC;AACrC,wBAA2B;AAC3B,wBAA+B;AAE/B,wBAA2B;AAC3B,+BAAkC;AAClC,mBAAsB;AAEtB,mCAAc,yBATd;AAWA,MAAM,qBAAiB,6CAAqB;AAC5C,MAAM,kBAAc;AAAA,EAClB;AAAA,IACE,MAAM;AAAA,MACJ,GAAG;AAAA,MACH,GAAG;AAAA,IACL;AAAA,IACA,WAAW;AAAA,MACT,GAAG;AAAA,MACH,GAAG;AAAA,IACL;AAAA,IACA,QAAQ;AAAA,MACN,GAAG;AAAA,MACH,GAAG;AAAA,IACL;AAAA,IACA,OAAO;AAAA,MACL,GAAG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C7B;AACF;AAEO,MAAM,SAAS;AAAA,EACpB,cAAc;AAAA,EACd,6BAA6B;AAAA,EAC7B,sBAAsB;AAAA,EACtB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,OAAO;AAAA,IAEL,SAAS;AAAA,IACT,MAAM;AAAA,IACN,MAAM;AAAA,IACN,YAAY;AAAA,EACd;AACF;AAIA,OAAO,0BAA0B;AAAA,EAC/B,KAAK;AAAA,EACL,IAAI;AAAA,EACJ,IAAI;AACN;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -31,7 +31,7 @@ const headingFont = createInterFont(
|
|
|
31
31
|
7: 0,
|
|
32
32
|
8: 0,
|
|
33
33
|
9: -1,
|
|
34
|
-
10: -1,
|
|
34
|
+
10: -1.5,
|
|
35
35
|
12: -2,
|
|
36
36
|
14: -3,
|
|
37
37
|
15: -4
|
|
@@ -42,7 +42,7 @@ const headingFont = createInterFont(
|
|
|
42
42
|
900: { normal: "InterBold" }
|
|
43
43
|
}
|
|
44
44
|
},
|
|
45
|
-
{ sizeLineHeight: (size) => Math.round(size * 1.1 + (size < 30 ? 10 :
|
|
45
|
+
{ sizeLineHeight: (size) => Math.round(size * 1.1 + (size < 30 ? 10 : 5)) }
|
|
46
46
|
);
|
|
47
47
|
const bodyFont = createInterFont(
|
|
48
48
|
{
|
|
@@ -54,7 +54,7 @@ const bodyFont = createInterFont(
|
|
|
54
54
|
},
|
|
55
55
|
{
|
|
56
56
|
sizeSize: (size) => Math.round(size),
|
|
57
|
-
sizeLineHeight: (size) => Math.round(size * 1.1 + (size >= 12 ?
|
|
57
|
+
sizeLineHeight: (size) => Math.round(size * 1.1 + (size >= 12 ? 8 : 4))
|
|
58
58
|
}
|
|
59
59
|
);
|
|
60
60
|
const monoFont = createGenericFont(
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/tamagui.config.ts"],
|
|
4
|
-
"sourcesContent": ["import { createInterFont } from '@tamagui/font-inter'\nimport { createSilkscreenFont } from '@tamagui/font-silkscreen'\nimport { shorthands } from '@tamagui/shorthands'\nimport { themes, tokens } from '@tamagui/theme-base'\n\nimport { animations } from './animations'\nimport { createGenericFont } from './createGenericFont'\nimport { media } from './media'\n\nexport * from './animations'\n\nconst silkscreenFont = createSilkscreenFont()\nconst headingFont = createInterFont(\n {\n size: {\n 5: 13,\n 6: 15,\n },\n transform: {\n 6: 'uppercase',\n 7: 'none',\n },\n weight: {\n 6: '400',\n 7: '700',\n },\n color: {\n 6: '$colorFocus',\n 7: '$color',\n },\n letterSpacing: {\n 5: 2,\n 6: 1,\n 7: 0,\n 8: 0,\n 9: -1,\n 10: -1,\n 12: -2,\n 14: -3,\n 15: -4,\n },\n // for native\n face: {\n 700: { normal: 'InterBold' },\n 800: { normal: 'InterBold' },\n 900: { normal: 'InterBold' },\n },\n },\n { sizeLineHeight: (size) => Math.round(size * 1.1 + (size < 30 ? 10 :
|
|
5
|
-
"mappings": "AAAA,SAAS,uBAAuB;AAChC,SAAS,4BAA4B;AACrC,SAAS,kBAAkB;AAC3B,SAAS,QAAQ,cAAc;AAE/B,SAAS,kBAAkB;AAC3B,SAAS,yBAAyB;AAClC,SAAS,aAAa;AAEtB,cAAc;AAEd,MAAM,iBAAiB,qBAAqB;AAC5C,MAAM,cAAc;AAAA,EAClB;AAAA,IACE,MAAM;AAAA,MACJ,GAAG;AAAA,MACH,GAAG;AAAA,IACL;AAAA,IACA,WAAW;AAAA,MACT,GAAG;AAAA,MACH,GAAG;AAAA,IACL;AAAA,IACA,QAAQ;AAAA,MACN,GAAG;AAAA,MACH,GAAG;AAAA,IACL;AAAA,IACA,OAAO;AAAA,MACL,GAAG;AAAA,MACH,GAAG;AAAA,IACL;AAAA,IACA,eAAe;AAAA,MACb,GAAG;AAAA,MACH,GAAG;AAAA,MACH,GAAG;AAAA,MACH,GAAG;AAAA,MACH,GAAG;AAAA,MACH,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACN;AAAA,IAEA,MAAM;AAAA,MACJ,KAAK,EAAE,QAAQ,YAAY;AAAA,MAC3B,KAAK,EAAE,QAAQ,YAAY;AAAA,MAC3B,KAAK,EAAE,QAAQ,YAAY;AAAA,IAC7B;AAAA,EACF;AAAA,EACA,EAAE,gBAAgB,CAAC,SAAS,KAAK,MAAM,OAAO,OAAO,OAAO,KAAK,KAAK,EAAE,EAAE;AAC5E;AACA,MAAM,WAAW;AAAA,EACf;AAAA,IACE,QACE,QAAQ,IAAI,mBAAmB,WAC3B,UACA;AAAA,IACN,QAAQ;AAAA,MACN,GAAG;AAAA,MACH,GAAG;AAAA,IACL;AAAA,EACF;AAAA,EACA;AAAA,IACE,UAAU,CAAC,SAAS,KAAK,MAAM,IAAI;AAAA,IACnC,gBAAgB,CAAC,SAAS,KAAK,MAAM,OAAO,OAAO,QAAQ,KAAK,
|
|
4
|
+
"sourcesContent": ["import { createInterFont } from '@tamagui/font-inter'\nimport { createSilkscreenFont } from '@tamagui/font-silkscreen'\nimport { shorthands } from '@tamagui/shorthands'\nimport { themes, tokens } from '@tamagui/theme-base'\n\nimport { animations } from './animations'\nimport { createGenericFont } from './createGenericFont'\nimport { media } from './media'\n\nexport * from './animations'\n\nconst silkscreenFont = createSilkscreenFont()\nconst headingFont = createInterFont(\n {\n size: {\n 5: 13,\n 6: 15,\n },\n transform: {\n 6: 'uppercase',\n 7: 'none',\n },\n weight: {\n 6: '400',\n 7: '700',\n },\n color: {\n 6: '$colorFocus',\n 7: '$color',\n },\n letterSpacing: {\n 5: 2,\n 6: 1,\n 7: 0,\n 8: 0,\n 9: -1,\n 10: -1.5,\n 12: -2,\n 14: -3,\n 15: -4,\n },\n // for native\n face: {\n 700: { normal: 'InterBold' },\n 800: { normal: 'InterBold' },\n 900: { normal: 'InterBold' },\n },\n },\n { sizeLineHeight: (size) => Math.round(size * 1.1 + (size < 30 ? 10 : 5)) }\n)\nconst bodyFont = createInterFont(\n {\n family:\n process.env.TAMAGUI_TARGET === 'native'\n ? 'Inter'\n : '-apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"',\n weight: {\n 1: '500',\n 7: '600',\n },\n },\n {\n sizeSize: (size) => Math.round(size),\n sizeLineHeight: (size) => Math.round(size * 1.1 + (size >= 12 ? 8 : 4)),\n }\n)\n\nconst monoFont = createGenericFont(\n `\"ui-monospace\", \"SFMono-Regular\", \"SF Mono\", Menlo, Consolas, \"Liberation Mono\", monospace`,\n {\n weight: {\n 1: '500',\n },\n size: {\n 1: 11,\n 2: 12,\n 3: 13,\n 4: 14,\n 5: 16,\n 6: 18,\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 },\n {\n sizeLineHeight: (x) => x * 1.5,\n }\n)\n\nexport const config = {\n defaultTheme: 'light',\n shouldAddPrefersColorThemes: true,\n themeClassNameOnRoot: true,\n animations,\n media,\n shorthands,\n themes,\n tokens,\n fonts: {\n // noto: notoFont as any,\n heading: headingFont,\n body: bodyFont,\n mono: monoFont,\n silkscreen: silkscreenFont,\n },\n}\n\n// messing up types...\n// @ts-ignore\nconfig.mediaQueryDefaultActive = {\n xxs: true,\n xs: true,\n sm: true,\n}\n"],
|
|
5
|
+
"mappings": "AAAA,SAAS,uBAAuB;AAChC,SAAS,4BAA4B;AACrC,SAAS,kBAAkB;AAC3B,SAAS,QAAQ,cAAc;AAE/B,SAAS,kBAAkB;AAC3B,SAAS,yBAAyB;AAClC,SAAS,aAAa;AAEtB,cAAc;AAEd,MAAM,iBAAiB,qBAAqB;AAC5C,MAAM,cAAc;AAAA,EAClB;AAAA,IACE,MAAM;AAAA,MACJ,GAAG;AAAA,MACH,GAAG;AAAA,IACL;AAAA,IACA,WAAW;AAAA,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;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACN;AAAA,EACF;AAAA,EACA;AAAA,IACE,gBAAgB,CAAC,MAAM,IAAI;AAAA,EAC7B;AACF;AAEO,MAAM,SAAS;AAAA,EACpB,cAAc;AAAA,EACd,6BAA6B;AAAA,EAC7B,sBAAsB;AAAA,EACtB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,OAAO;AAAA,IAEL,SAAS;AAAA,IACT,MAAM;AAAA,IACN,MAAM;AAAA,IACN,YAAY;AAAA,EACd;AACF;AAIA,OAAO,0BAA0B;AAAA,EAC/B,KAAK;AAAA,EACL,IAAI;AAAA,EACJ,IAAI;AACN;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/config-base",
|
|
3
|
-
"version": "1.0.1-beta.
|
|
3
|
+
"version": "1.0.1-beta.194",
|
|
4
4
|
"types": "./types/index.d.ts",
|
|
5
5
|
"main": "dist/cjs",
|
|
6
6
|
"module": "dist/esm",
|
|
@@ -26,15 +26,15 @@
|
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@tamagui/colors": "^1.0.1-beta.
|
|
30
|
-
"@tamagui/core": "^1.0.1-beta.
|
|
31
|
-
"@tamagui/font-inter": "^1.0.1-beta.
|
|
32
|
-
"@tamagui/font-silkscreen": "^1.0.1-beta.
|
|
33
|
-
"@tamagui/shorthands": "^1.0.1-beta.
|
|
34
|
-
"@tamagui/theme-base": "^1.0.1-beta.
|
|
29
|
+
"@tamagui/colors": "^1.0.1-beta.194",
|
|
30
|
+
"@tamagui/core": "^1.0.1-beta.194",
|
|
31
|
+
"@tamagui/font-inter": "^1.0.1-beta.194",
|
|
32
|
+
"@tamagui/font-silkscreen": "^1.0.1-beta.194",
|
|
33
|
+
"@tamagui/shorthands": "^1.0.1-beta.194",
|
|
34
|
+
"@tamagui/theme-base": "^1.0.1-beta.194"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@tamagui/build": "^1.0.1-beta.
|
|
37
|
+
"@tamagui/build": "^1.0.1-beta.194"
|
|
38
38
|
},
|
|
39
39
|
"publishConfig": {
|
|
40
40
|
"access": "public"
|
package/src/tamagui.config.ts
CHANGED
|
@@ -34,7 +34,7 @@ const headingFont = createInterFont(
|
|
|
34
34
|
7: 0,
|
|
35
35
|
8: 0,
|
|
36
36
|
9: -1,
|
|
37
|
-
10: -1,
|
|
37
|
+
10: -1.5,
|
|
38
38
|
12: -2,
|
|
39
39
|
14: -3,
|
|
40
40
|
15: -4,
|
|
@@ -46,7 +46,7 @@ const headingFont = createInterFont(
|
|
|
46
46
|
900: { normal: 'InterBold' },
|
|
47
47
|
},
|
|
48
48
|
},
|
|
49
|
-
{ sizeLineHeight: (size) => Math.round(size * 1.1 + (size < 30 ? 10 :
|
|
49
|
+
{ sizeLineHeight: (size) => Math.round(size * 1.1 + (size < 30 ? 10 : 5)) }
|
|
50
50
|
)
|
|
51
51
|
const bodyFont = createInterFont(
|
|
52
52
|
{
|
|
@@ -61,7 +61,7 @@ const bodyFont = createInterFont(
|
|
|
61
61
|
},
|
|
62
62
|
{
|
|
63
63
|
sizeSize: (size) => Math.round(size),
|
|
64
|
-
sizeLineHeight: (size) => Math.round(size * 1.1 + (size >= 12 ?
|
|
64
|
+
sizeLineHeight: (size) => Math.round(size * 1.1 + (size >= 12 ? 8 : 4)),
|
|
65
65
|
}
|
|
66
66
|
)
|
|
67
67
|
|
|
@@ -8631,14 +8631,9 @@ export declare const config: {
|
|
|
8631
8631
|
3.5: import("@tamagui/core").Variable<number>;
|
|
8632
8632
|
4.5: import("@tamagui/core").Variable<number>;
|
|
8633
8633
|
5: import("@tamagui/core").Variable<number>;
|
|
8634
|
-
5.5: import("@tamagui/core").Variable<number>;
|
|
8635
8634
|
6: import("@tamagui/core").Variable<number>;
|
|
8636
|
-
6.5: import("@tamagui/core").Variable<number>;
|
|
8637
8635
|
7: import("@tamagui/core").Variable<number>;
|
|
8638
|
-
7.6: import("@tamagui/core").Variable<number>;
|
|
8639
|
-
8.5: import("@tamagui/core").Variable<number>;
|
|
8640
8636
|
9: import("@tamagui/core").Variable<number>;
|
|
8641
|
-
9.5: import("@tamagui/core").Variable<number>;
|
|
8642
8637
|
10: import("@tamagui/core").Variable<number>;
|
|
8643
8638
|
11: import("@tamagui/core").Variable<number>;
|
|
8644
8639
|
12: import("@tamagui/core").Variable<number>;
|
|
@@ -8665,14 +8660,9 @@ export declare const config: {
|
|
|
8665
8660
|
"-3.5": import("@tamagui/core").Variable<number>;
|
|
8666
8661
|
"-4.5": import("@tamagui/core").Variable<number>;
|
|
8667
8662
|
"-5": import("@tamagui/core").Variable<number>;
|
|
8668
|
-
"-5.5": import("@tamagui/core").Variable<number>;
|
|
8669
8663
|
"-6": import("@tamagui/core").Variable<number>;
|
|
8670
|
-
"-6.5": import("@tamagui/core").Variable<number>;
|
|
8671
8664
|
"-7": import("@tamagui/core").Variable<number>;
|
|
8672
|
-
"-7.6": import("@tamagui/core").Variable<number>;
|
|
8673
|
-
"-8.5": import("@tamagui/core").Variable<number>;
|
|
8674
8665
|
"-9": import("@tamagui/core").Variable<number>;
|
|
8675
|
-
"-9.5": import("@tamagui/core").Variable<number>;
|
|
8676
8666
|
"-10": import("@tamagui/core").Variable<number>;
|
|
8677
8667
|
"-11": import("@tamagui/core").Variable<number>;
|
|
8678
8668
|
"-12": import("@tamagui/core").Variable<number>;
|
|
@@ -8698,15 +8688,10 @@ export declare const config: {
|
|
|
8698
8688
|
true: import("@tamagui/core").Variable<number>;
|
|
8699
8689
|
4.5: import("@tamagui/core").Variable<number>;
|
|
8700
8690
|
5: import("@tamagui/core").Variable<number>;
|
|
8701
|
-
5.5: import("@tamagui/core").Variable<number>;
|
|
8702
8691
|
6: import("@tamagui/core").Variable<number>;
|
|
8703
|
-
6.5: import("@tamagui/core").Variable<number>;
|
|
8704
8692
|
7: import("@tamagui/core").Variable<number>;
|
|
8705
|
-
7.6: import("@tamagui/core").Variable<number>;
|
|
8706
8693
|
8: import("@tamagui/core").Variable<number>;
|
|
8707
|
-
8.5: import("@tamagui/core").Variable<number>;
|
|
8708
8694
|
9: import("@tamagui/core").Variable<number>;
|
|
8709
|
-
9.5: import("@tamagui/core").Variable<number>;
|
|
8710
8695
|
10: import("@tamagui/core").Variable<number>;
|
|
8711
8696
|
11: import("@tamagui/core").Variable<number>;
|
|
8712
8697
|
12: import("@tamagui/core").Variable<number>;
|