@tamagui/config-base 1.0.1-beta.56 → 1.0.1-beta.57

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.
@@ -58,8 +58,8 @@ const headingFont = (0, import_font_inter.createInterFont)({
58
58
  }
59
59
  });
60
60
  const bodyFont = (0, import_font_inter.createInterFont)({}, {
61
- sizeSize: (size) => Math.round(size * 1.15),
62
- sizeLineHeight: (size) => Math.round(size * 1.1 + (size > 13 ? 12 : 4))
61
+ sizeSize: (size) => Math.round(size * 1.1),
62
+ sizeLineHeight: (size) => Math.round(size * 1.1 + (size >= 12 ? 12 : 4))
63
63
  });
64
64
  const monoFont = (0, import_createGenericFont.createGenericFont)(`"ui-monospace", "SFMono-Regular", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace`);
65
65
  const config = {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/tamagui.config.ts"],
4
- "sourcesContent": ["// import { createNotoFont } from '@takeout/font-noto-emoji'\nimport { 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\n// import { createTamagui } from 'tamagui'\n\n// const notoFont = createNotoFont()\nconst silkscreenFont = createSilkscreenFont()\nconst headingFont = createInterFont({\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})\nconst bodyFont = createInterFont(\n {},\n {\n sizeSize: (size) => Math.round(size * 1.15),\n sizeLineHeight: (size) => Math.round(size * 1.1 + (size > 13 ? 12 : 4)),\n }\n)\nconst monoFont = createGenericFont(\n `\"ui-monospace\", \"SFMono-Regular\", \"SF Mono\", Menlo, Consolas, \"Liberation Mono\", monospace`\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// export type Conf = typeof config\n\n// declare module 'tamagui' {\n// interface TamaguiCustomConfig extends Conf {}\n// }\n\n// export default config\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AACA,wBAAgC;AAChC,6BAAqC;AACrC,wBAA2B;AAC3B,wBAA+B;AAE/B,wBAA2B;AAC3B,+BAAkC;AAClC,mBAAsB;AAKtB,MAAM,iBAAiB,iDAAqB;AAC5C,MAAM,cAAc,uCAAgB;AAAA,EAClC,MAAM;AAAA,IACJ,GAAG;AAAA,IACH,GAAG;AAAA,EACL;AAAA,EACA,WAAW;AAAA,IACT,GAAG;AAAA,IACH,GAAG;AAAA,EACL;AAAA,EACA,QAAQ;AAAA,IACN,GAAG;AAAA,IACH,GAAG;AAAA,EACL;AAAA,EACA,OAAO;AAAA,IACL,GAAG;AAAA,IACH,GAAG;AAAA,EACL;AAAA,EACA,eAAe;AAAA,IACb,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,EACN;AACF,CAAC;AACD,MAAM,WAAW,uCACf,CAAC,GACD;AAAA,EACE,UAAU,CAAC,SAAS,KAAK,MAAM,OAAO,IAAI;AAAA,EAC1C,gBAAgB,CAAC,SAAS,KAAK,MAAM,OAAO,MAAO,QAAO,KAAK,KAAK,EAAE;AACxE,CACF;AACA,MAAM,WAAW,gDACf,4FACF;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;",
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\nconst silkscreenFont = createSilkscreenFont()\nconst headingFont = createInterFont({\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})\nconst bodyFont = createInterFont(\n {},\n {\n sizeSize: (size) => Math.round(size * 1.1),\n sizeLineHeight: (size) => Math.round(size * 1.1 + (size >= 12 ? 12 : 4)),\n }\n)\nconst monoFont = createGenericFont(\n `\"ui-monospace\", \"SFMono-Regular\", \"SF Mono\", Menlo, Consolas, \"Liberation Mono\", monospace`\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"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,wBAAgC;AAChC,6BAAqC;AACrC,wBAA2B;AAC3B,wBAA+B;AAE/B,wBAA2B;AAC3B,+BAAkC;AAClC,mBAAsB;AAEtB,MAAM,iBAAiB,iDAAqB;AAC5C,MAAM,cAAc,uCAAgB;AAAA,EAClC,MAAM;AAAA,IACJ,GAAG;AAAA,IACH,GAAG;AAAA,EACL;AAAA,EACA,WAAW;AAAA,IACT,GAAG;AAAA,IACH,GAAG;AAAA,EACL;AAAA,EACA,QAAQ;AAAA,IACN,GAAG;AAAA,IACH,GAAG;AAAA,EACL;AAAA,EACA,OAAO;AAAA,IACL,GAAG;AAAA,IACH,GAAG;AAAA,EACL;AAAA,EACA,eAAe;AAAA,IACb,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,EACN;AACF,CAAC;AACD,MAAM,WAAW,uCACf,CAAC,GACD;AAAA,EACE,UAAU,CAAC,SAAS,KAAK,MAAM,OAAO,GAAG;AAAA,EACzC,gBAAgB,CAAC,SAAS,KAAK,MAAM,OAAO,MAAO,SAAQ,KAAK,KAAK,EAAE;AACzE,CACF;AACA,MAAM,WAAW,gDACf,4FACF;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;",
6
6
  "names": []
7
7
  }
@@ -36,8 +36,8 @@ const headingFont = createInterFont({
36
36
  }
37
37
  });
38
38
  const bodyFont = createInterFont({}, {
39
- sizeSize: (size) => Math.round(size * 1.15),
40
- sizeLineHeight: (size) => Math.round(size * 1.1 + (size > 13 ? 12 : 4))
39
+ sizeSize: (size) => Math.round(size * 1.1),
40
+ sizeLineHeight: (size) => Math.round(size * 1.1 + (size >= 12 ? 12 : 4))
41
41
  });
42
42
  const monoFont = createGenericFont(`"ui-monospace", "SFMono-Regular", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace`);
43
43
  const config = {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/tamagui.config.ts"],
4
- "sourcesContent": ["// import { createNotoFont } from '@takeout/font-noto-emoji'\nimport { 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\n// import { createTamagui } from 'tamagui'\n\n// const notoFont = createNotoFont()\nconst silkscreenFont = createSilkscreenFont()\nconst headingFont = createInterFont({\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})\nconst bodyFont = createInterFont(\n {},\n {\n sizeSize: (size) => Math.round(size * 1.15),\n sizeLineHeight: (size) => Math.round(size * 1.1 + (size > 13 ? 12 : 4)),\n }\n)\nconst monoFont = createGenericFont(\n `\"ui-monospace\", \"SFMono-Regular\", \"SF Mono\", Menlo, Consolas, \"Liberation Mono\", monospace`\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// export type Conf = typeof config\n\n// declare module 'tamagui' {\n// interface TamaguiCustomConfig extends Conf {}\n// }\n\n// export default config\n"],
5
- "mappings": "AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AAKA,MAAM,iBAAiB,qBAAqB;AAC5C,MAAM,cAAc,gBAAgB;AAAA,EAClC,MAAM;AAAA,IACJ,GAAG;AAAA,IACH,GAAG;AAAA,EACL;AAAA,EACA,WAAW;AAAA,IACT,GAAG;AAAA,IACH,GAAG;AAAA,EACL;AAAA,EACA,QAAQ;AAAA,IACN,GAAG;AAAA,IACH,GAAG;AAAA,EACL;AAAA,EACA,OAAO;AAAA,IACL,GAAG;AAAA,IACH,GAAG;AAAA,EACL;AAAA,EACA,eAAe;AAAA,IACb,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,EACN;AACF,CAAC;AACD,MAAM,WAAW,gBACf,CAAC,GACD;AAAA,EACE,UAAU,CAAC,SAAS,KAAK,MAAM,OAAO,IAAI;AAAA,EAC1C,gBAAgB,CAAC,SAAS,KAAK,MAAM,OAAO,MAAO,QAAO,KAAK,KAAK,EAAE;AACxE,CACF;AACA,MAAM,WAAW,kBACf,4FACF;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;",
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\nconst silkscreenFont = createSilkscreenFont()\nconst headingFont = createInterFont({\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})\nconst bodyFont = createInterFont(\n {},\n {\n sizeSize: (size) => Math.round(size * 1.1),\n sizeLineHeight: (size) => Math.round(size * 1.1 + (size >= 12 ? 12 : 4)),\n }\n)\nconst monoFont = createGenericFont(\n `\"ui-monospace\", \"SFMono-Regular\", \"SF Mono\", Menlo, Consolas, \"Liberation Mono\", monospace`\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"],
5
+ "mappings": "AAAA;AACA;AACA;AACA;AAEA;AACA;AACA;AAEA,MAAM,iBAAiB,qBAAqB;AAC5C,MAAM,cAAc,gBAAgB;AAAA,EAClC,MAAM;AAAA,IACJ,GAAG;AAAA,IACH,GAAG;AAAA,EACL;AAAA,EACA,WAAW;AAAA,IACT,GAAG;AAAA,IACH,GAAG;AAAA,EACL;AAAA,EACA,QAAQ;AAAA,IACN,GAAG;AAAA,IACH,GAAG;AAAA,EACL;AAAA,EACA,OAAO;AAAA,IACL,GAAG;AAAA,IACH,GAAG;AAAA,EACL;AAAA,EACA,eAAe;AAAA,IACb,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,EACN;AACF,CAAC;AACD,MAAM,WAAW,gBACf,CAAC,GACD;AAAA,EACE,UAAU,CAAC,SAAS,KAAK,MAAM,OAAO,GAAG;AAAA,EACzC,gBAAgB,CAAC,SAAS,KAAK,MAAM,OAAO,MAAO,SAAQ,KAAK,KAAK,EAAE;AACzE,CACF;AACA,MAAM,WAAW,kBACf,4FACF;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;",
6
6
  "names": []
7
7
  }
@@ -36,8 +36,8 @@ const headingFont = createInterFont({
36
36
  }
37
37
  });
38
38
  const bodyFont = createInterFont({}, {
39
- sizeSize: (size) => Math.round(size * 1.15),
40
- sizeLineHeight: (size) => Math.round(size * 1.1 + (size > 13 ? 12 : 4))
39
+ sizeSize: (size) => Math.round(size * 1.1),
40
+ sizeLineHeight: (size) => Math.round(size * 1.1 + (size >= 12 ? 12 : 4))
41
41
  });
42
42
  const monoFont = createGenericFont(`"ui-monospace", "SFMono-Regular", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace`);
43
43
  const config = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/config-base",
3
- "version": "1.0.1-beta.56",
3
+ "version": "1.0.1-beta.57",
4
4
  "types": "./types/index.d.ts",
5
5
  "main": "dist/cjs",
6
6
  "module": "dist/esm",
@@ -17,16 +17,16 @@
17
17
  },
18
18
  "dependencies": {
19
19
  "@takeout/font-noto-emoji": "^1.0.1-beta.52",
20
- "@tamagui/animations-reanimated": "^1.0.1-beta.56",
21
- "@tamagui/colors": "^1.0.1-beta.56",
22
- "@tamagui/core": "^1.0.1-beta.56",
23
- "@tamagui/font-inter": "^1.0.1-beta.56",
24
- "@tamagui/font-silkscreen": "^1.0.1-beta.56",
25
- "@tamagui/shorthands": "^1.0.1-beta.56",
26
- "@tamagui/theme-base": "^1.0.1-beta.56"
20
+ "@tamagui/animations-reanimated": "^1.0.1-beta.57",
21
+ "@tamagui/colors": "^1.0.1-beta.57",
22
+ "@tamagui/core": "^1.0.1-beta.57",
23
+ "@tamagui/font-inter": "^1.0.1-beta.57",
24
+ "@tamagui/font-silkscreen": "^1.0.1-beta.57",
25
+ "@tamagui/shorthands": "^1.0.1-beta.57",
26
+ "@tamagui/theme-base": "^1.0.1-beta.57"
27
27
  },
28
28
  "devDependencies": {
29
- "@tamagui/build": "^1.0.1-beta.56"
29
+ "@tamagui/build": "^1.0.1-beta.57"
30
30
  },
31
31
  "publishConfig": {
32
32
  "access": "public"