@tamagui/tamagui-dev-config 2.0.0 → 2.1.0-1780182832733
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/fonts.cjs +10 -1
- package/dist/esm/fonts.mjs +10 -1
- package/dist/esm/fonts.mjs.map +1 -1
- package/package.json +15 -15
- package/src/fonts.ts +11 -1
package/dist/cjs/fonts.cjs
CHANGED
|
@@ -34,7 +34,16 @@ var import_font_inter = require("@tamagui/font-inter");
|
|
|
34
34
|
var import_font_silkscreen = require("@tamagui/font-silkscreen");
|
|
35
35
|
var import_createGenericFont = require("./createGenericFont.cjs");
|
|
36
36
|
const cherryBombFont = (0, import_font_cherry_bomb.createCherryBombFont)({
|
|
37
|
-
|
|
37
|
+
// Cherry Bomb is a heavy rounded display face; fall back to on-brand Inter,
|
|
38
|
+
// then heavy web-safe faces, so the brief pre-load flash looks close to the
|
|
39
|
+
// real thing instead of thin default Arial.
|
|
40
|
+
family: '"Cherry Bomb", "Inter", "Arial Black", "Helvetica Neue", Helvetica, Arial, sans-serif',
|
|
41
|
+
// Cherry Bomb only ships weight 400 (so this doesn't change its look), but a
|
|
42
|
+
// heavy weight makes the Inter fallback render at ExtraBold (already preloaded)
|
|
43
|
+
// instead of thin, much closer to Cherry Bomb during the load flash.
|
|
44
|
+
weight: {
|
|
45
|
+
4: "800"
|
|
46
|
+
}
|
|
38
47
|
});
|
|
39
48
|
const silkscreenFont = (0, import_font_silkscreen.createSilkscreenFont)();
|
|
40
49
|
const headingFont = (0, import_font_inter.createInterFont)({
|
package/dist/esm/fonts.mjs
CHANGED
|
@@ -3,7 +3,16 @@ import { createInterFont } from "@tamagui/font-inter";
|
|
|
3
3
|
import { createSilkscreenFont } from "@tamagui/font-silkscreen";
|
|
4
4
|
import { createGenericFont } from "./createGenericFont.mjs";
|
|
5
5
|
const cherryBombFont = createCherryBombFont({
|
|
6
|
-
|
|
6
|
+
// Cherry Bomb is a heavy rounded display face; fall back to on-brand Inter,
|
|
7
|
+
// then heavy web-safe faces, so the brief pre-load flash looks close to the
|
|
8
|
+
// real thing instead of thin default Arial.
|
|
9
|
+
family: '"Cherry Bomb", "Inter", "Arial Black", "Helvetica Neue", Helvetica, Arial, sans-serif',
|
|
10
|
+
// Cherry Bomb only ships weight 400 (so this doesn't change its look), but a
|
|
11
|
+
// heavy weight makes the Inter fallback render at ExtraBold (already preloaded)
|
|
12
|
+
// instead of thin, much closer to Cherry Bomb during the load flash.
|
|
13
|
+
weight: {
|
|
14
|
+
4: "800"
|
|
15
|
+
}
|
|
7
16
|
});
|
|
8
17
|
const silkscreenFont = createSilkscreenFont();
|
|
9
18
|
const headingFont = createInterFont({
|
package/dist/esm/fonts.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["createCherryBombFont","createInterFont","createSilkscreenFont","createGenericFont","cherryBombFont","family","silkscreenFont","headingFont","size","transform","
|
|
1
|
+
{"version":3,"names":["createCherryBombFont","createInterFont","createSilkscreenFont","createGenericFont","cherryBombFont","family","weight","silkscreenFont","headingFont","size","transform","color","letterSpacing","face","normal","sizeLineHeight","Math","round","bodyFont","sizeSize","monoFont","x"],"sources":["../../src/fonts.ts"],"sourcesContent":[null],"mappings":"AAAA,SAASA,oBAAA,QAA4B;AACrC,SAASC,eAAA,QAAuB;AAChC,SAASC,oBAAA,QAA4B;AACrC,SAASC,iBAAA,QAAyB;AAE3B,MAAMC,cAAA,GAAiBJ,oBAAA,CAAqB;EAAA;EAAA;EAAA;EAIjDK,MAAA,EACE;EAAA;EAAA;EAAA;EAIFC,MAAA,EAAQ;IACN,GAAG;EACL;AACF,CAAC;AACM,MAAMC,cAAA,GAAiBL,oBAAA,CAAqB;AAC5C,MAAMM,WAAA,GAAcP,eAAA,CACzB;EACEQ,IAAA,EAAM;IACJ,GAAG;IACH,GAAG;IACH,GAAG;IACH,IAAI;EACN;EACAC,SAAA,EAAW;IACT,GAAG;IACH,GAAG;EACL;EACA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dev-config",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.1.0-1780182832733",
|
|
4
4
|
"source": "src/index.ts",
|
|
5
5
|
"files": [
|
|
6
6
|
"src",
|
|
@@ -40,23 +40,23 @@
|
|
|
40
40
|
"clean:build": "tamagui-build clean:build"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@tamagui/animations-css": "2.
|
|
44
|
-
"@tamagui/animations-moti": "2.
|
|
45
|
-
"@tamagui/animations-motion": "2.
|
|
46
|
-
"@tamagui/animations-reanimated": "2.
|
|
47
|
-
"@tamagui/colors": "2.
|
|
48
|
-
"@tamagui/config": "2.
|
|
49
|
-
"@tamagui/core": "2.
|
|
50
|
-
"@tamagui/font-cherry-bomb": "2.
|
|
51
|
-
"@tamagui/font-inter": "2.
|
|
52
|
-
"@tamagui/font-silkscreen": "2.
|
|
53
|
-
"@tamagui/shorthands": "2.
|
|
54
|
-
"@tamagui/theme-builder": "2.
|
|
55
|
-
"@tamagui/themes": "2.
|
|
43
|
+
"@tamagui/animations-css": "2.1.0-1780182832733",
|
|
44
|
+
"@tamagui/animations-moti": "2.1.0-1780182832733",
|
|
45
|
+
"@tamagui/animations-motion": "2.1.0-1780182832733",
|
|
46
|
+
"@tamagui/animations-reanimated": "2.1.0-1780182832733",
|
|
47
|
+
"@tamagui/colors": "2.1.0-1780182832733",
|
|
48
|
+
"@tamagui/config": "2.1.0-1780182832733",
|
|
49
|
+
"@tamagui/core": "2.1.0-1780182832733",
|
|
50
|
+
"@tamagui/font-cherry-bomb": "2.1.0-1780182832733",
|
|
51
|
+
"@tamagui/font-inter": "2.1.0-1780182832733",
|
|
52
|
+
"@tamagui/font-silkscreen": "2.1.0-1780182832733",
|
|
53
|
+
"@tamagui/shorthands": "2.1.0-1780182832733",
|
|
54
|
+
"@tamagui/theme-builder": "2.1.0-1780182832733",
|
|
55
|
+
"@tamagui/themes": "2.1.0-1780182832733",
|
|
56
56
|
"color2k": "^2.0.2"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@tamagui/build": "2.
|
|
59
|
+
"@tamagui/build": "2.1.0-1780182832733",
|
|
60
60
|
"react": ">=19"
|
|
61
61
|
},
|
|
62
62
|
"peerDependencies": {
|
package/src/fonts.ts
CHANGED
|
@@ -4,7 +4,17 @@ import { createSilkscreenFont } from '@tamagui/font-silkscreen'
|
|
|
4
4
|
import { createGenericFont } from './createGenericFont'
|
|
5
5
|
|
|
6
6
|
export const cherryBombFont = createCherryBombFont({
|
|
7
|
-
|
|
7
|
+
// Cherry Bomb is a heavy rounded display face; fall back to on-brand Inter,
|
|
8
|
+
// then heavy web-safe faces, so the brief pre-load flash looks close to the
|
|
9
|
+
// real thing instead of thin default Arial.
|
|
10
|
+
family:
|
|
11
|
+
'"Cherry Bomb", "Inter", "Arial Black", "Helvetica Neue", Helvetica, Arial, sans-serif',
|
|
12
|
+
// Cherry Bomb only ships weight 400 (so this doesn't change its look), but a
|
|
13
|
+
// heavy weight makes the Inter fallback render at ExtraBold (already preloaded)
|
|
14
|
+
// instead of thin, much closer to Cherry Bomb during the load flash.
|
|
15
|
+
weight: {
|
|
16
|
+
4: '800',
|
|
17
|
+
},
|
|
8
18
|
})
|
|
9
19
|
export const silkscreenFont = createSilkscreenFont()
|
|
10
20
|
export const headingFont = createInterFont(
|