@ornikar/bumper 3.0.0 → 3.0.1
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/CHANGELOG.md +9 -0
- package/dist/definitions/system/content/typography/Typography.d.ts +2 -1
- package/dist/definitions/system/content/typography/Typography.d.ts.map +1 -1
- package/dist/definitions/system/content/typography/utils/getVariantAndWeightValues.d.ts.map +1 -1
- package/dist/definitions/system/core/tokens/GTStandardFont.d.ts +14 -0
- package/dist/definitions/system/core/tokens/GTStandardFont.d.ts.map +1 -0
- package/dist/definitions/system/core/tokens/GTStandardNarrowFont.d.ts +9 -0
- package/dist/definitions/system/core/tokens/GTStandardNarrowFont.d.ts.map +1 -0
- package/dist/definitions/system/core/tokens/fonts.d.ts +0 -14
- package/dist/definitions/system/core/tokens/fonts.d.ts.map +1 -1
- package/dist/definitions/tamagui.config.d.ts +27 -11
- package/dist/definitions/tamagui.config.d.ts.map +1 -1
- package/dist/index-metro.es.android.js +80 -53
- package/dist/index-metro.es.android.js.map +1 -1
- package/dist/index-metro.es.ios.js +80 -53
- package/dist/index-metro.es.ios.js.map +1 -1
- package/dist/index-node-22.22.cjs.js +80 -53
- package/dist/index-node-22.22.cjs.js.map +1 -1
- package/dist/index-node-22.22.cjs.web.js +80 -53
- package/dist/index-node-22.22.cjs.web.js.map +1 -1
- package/dist/index-node-22.22.es.mjs +80 -53
- package/dist/index-node-22.22.es.mjs.map +1 -1
- package/dist/index-node-22.22.es.web.mjs +80 -53
- package/dist/index-node-22.22.es.web.mjs.map +1 -1
- package/dist/index.es.js +74 -47
- package/dist/index.es.js.map +1 -1
- package/dist/index.es.web.js +74 -47
- package/dist/index.es.web.js.map +1 -1
- package/dist/storybook-metro.es.android.js +76 -52
- package/dist/storybook-metro.es.android.js.map +1 -1
- package/dist/storybook-metro.es.ios.js +76 -52
- package/dist/storybook-metro.es.ios.js.map +1 -1
- package/dist/storybook-node-22.22.cjs.js +76 -52
- package/dist/storybook-node-22.22.cjs.js.map +1 -1
- package/dist/storybook-node-22.22.cjs.web.js +76 -52
- package/dist/storybook-node-22.22.cjs.web.js.map +1 -1
- package/dist/storybook-node-22.22.es.mjs +76 -52
- package/dist/storybook-node-22.22.es.mjs.map +1 -1
- package/dist/storybook-node-22.22.es.web.mjs +76 -52
- package/dist/storybook-node-22.22.es.web.mjs.map +1 -1
- package/dist/storybook.es.js +70 -46
- package/dist/storybook.es.js.map +1 -1
- package/dist/storybook.es.web.js +70 -46
- package/dist/storybook.es.web.js.map +1 -1
- package/dist/tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/system/content/typography/Typography.features.stories.tsx +1 -1
- package/src/system/content/typography/Typography.tsx +6 -7
- package/src/system/content/typography/__snapshots__/Typography.features.stories.tsx.snap +15 -8
- package/src/system/content/typography/__snapshots_web__/Typography.features.stories.tsx.snap +8 -8
- package/src/system/content/typography/utils/getVariantAndWeightValues.test.tsx +2 -1
- package/src/system/content/typography/utils/getVariantAndWeightValues.tsx +2 -1
- package/src/system/core/tokens/GTStandardFont.ts +90 -0
- package/src/system/core/tokens/GTStandardNarrowFont.ts +51 -0
- package/src/system/core/tokens/__snapshots__/fonts.stories.tsx.snap +14 -7
- package/src/system/core/tokens/__snapshots_web__/fonts.stories.tsx.snap +7 -7
- package/src/system/core/tokens/fonts.stories.tsx +7 -2
- package/src/system/core/tokens/fonts.ts +3 -116
- package/src/system/dataDisplays/Badge/__snapshots__/Badge.features.stories.tsx.snap +16 -8
- package/src/system/dataDisplays/Badge/__snapshots__/Badge.stories.tsx.snap +2 -1
- package/src/system/dataDisplays/Badge/__snapshots_web__/Badge.features.stories.tsx.snap +8 -8
- package/src/system/dataDisplays/Badge/__snapshots_web__/Badge.stories.tsx.snap +1 -1
- package/src/tamagui.config.ts +30 -7
|
@@ -43,11 +43,12 @@ exports[`Bumper/Data Displays/Badge/Features WithCount 1`] = `
|
|
|
43
43
|
style={
|
|
44
44
|
{
|
|
45
45
|
"color": "#ffffff",
|
|
46
|
-
"fontFamily": "
|
|
46
|
+
"fontFamily": "GTStandardNarrowBold",
|
|
47
47
|
"fontSize": 12,
|
|
48
48
|
"letterSpacing": 0,
|
|
49
49
|
"lineHeight": 14,
|
|
50
50
|
"paddingBottom": 1,
|
|
51
|
+
"textTransform": "uppercase",
|
|
51
52
|
}
|
|
52
53
|
}
|
|
53
54
|
suppressHighlighting={true}
|
|
@@ -77,11 +78,12 @@ exports[`Bumper/Data Displays/Badge/Features WithCount 1`] = `
|
|
|
77
78
|
style={
|
|
78
79
|
{
|
|
79
80
|
"color": "#ffffff",
|
|
80
|
-
"fontFamily": "
|
|
81
|
+
"fontFamily": "GTStandardNarrowBold",
|
|
81
82
|
"fontSize": 12,
|
|
82
83
|
"letterSpacing": 0,
|
|
83
84
|
"lineHeight": 14,
|
|
84
85
|
"paddingBottom": 1,
|
|
86
|
+
"textTransform": "uppercase",
|
|
85
87
|
}
|
|
86
88
|
}
|
|
87
89
|
suppressHighlighting={true}
|
|
@@ -111,11 +113,12 @@ exports[`Bumper/Data Displays/Badge/Features WithCount 1`] = `
|
|
|
111
113
|
style={
|
|
112
114
|
{
|
|
113
115
|
"color": "#ffffff",
|
|
114
|
-
"fontFamily": "
|
|
116
|
+
"fontFamily": "GTStandardNarrowBold",
|
|
115
117
|
"fontSize": 12,
|
|
116
118
|
"letterSpacing": 0,
|
|
117
119
|
"lineHeight": 14,
|
|
118
120
|
"paddingBottom": 1,
|
|
121
|
+
"textTransform": "uppercase",
|
|
119
122
|
}
|
|
120
123
|
}
|
|
121
124
|
suppressHighlighting={true}
|
|
@@ -145,11 +148,12 @@ exports[`Bumper/Data Displays/Badge/Features WithCount 1`] = `
|
|
|
145
148
|
style={
|
|
146
149
|
{
|
|
147
150
|
"color": "#ffffff",
|
|
148
|
-
"fontFamily": "
|
|
151
|
+
"fontFamily": "GTStandardNarrowBold",
|
|
149
152
|
"fontSize": 12,
|
|
150
153
|
"letterSpacing": 0,
|
|
151
154
|
"lineHeight": 14,
|
|
152
155
|
"paddingBottom": 1,
|
|
156
|
+
"textTransform": "uppercase",
|
|
153
157
|
}
|
|
154
158
|
}
|
|
155
159
|
suppressHighlighting={true}
|
|
@@ -179,11 +183,12 @@ exports[`Bumper/Data Displays/Badge/Features WithCount 1`] = `
|
|
|
179
183
|
style={
|
|
180
184
|
{
|
|
181
185
|
"color": "#ffffff",
|
|
182
|
-
"fontFamily": "
|
|
186
|
+
"fontFamily": "GTStandardNarrowBold",
|
|
183
187
|
"fontSize": 12,
|
|
184
188
|
"letterSpacing": 0,
|
|
185
189
|
"lineHeight": 14,
|
|
186
190
|
"paddingBottom": 1,
|
|
191
|
+
"textTransform": "uppercase",
|
|
187
192
|
}
|
|
188
193
|
}
|
|
189
194
|
suppressHighlighting={true}
|
|
@@ -238,11 +243,12 @@ exports[`Bumper/Data Displays/Badge/Features WithMaximumCount 1`] = `
|
|
|
238
243
|
style={
|
|
239
244
|
{
|
|
240
245
|
"color": "#ffffff",
|
|
241
|
-
"fontFamily": "
|
|
246
|
+
"fontFamily": "GTStandardNarrowBold",
|
|
242
247
|
"fontSize": 12,
|
|
243
248
|
"letterSpacing": 0,
|
|
244
249
|
"lineHeight": 14,
|
|
245
250
|
"paddingBottom": 1,
|
|
251
|
+
"textTransform": "uppercase",
|
|
246
252
|
}
|
|
247
253
|
}
|
|
248
254
|
suppressHighlighting={true}
|
|
@@ -272,11 +278,12 @@ exports[`Bumper/Data Displays/Badge/Features WithMaximumCount 1`] = `
|
|
|
272
278
|
style={
|
|
273
279
|
{
|
|
274
280
|
"color": "#ffffff",
|
|
275
|
-
"fontFamily": "
|
|
281
|
+
"fontFamily": "GTStandardNarrowBold",
|
|
276
282
|
"fontSize": 12,
|
|
277
283
|
"letterSpacing": 0,
|
|
278
284
|
"lineHeight": 14,
|
|
279
285
|
"paddingBottom": 1,
|
|
286
|
+
"textTransform": "uppercase",
|
|
280
287
|
}
|
|
281
288
|
}
|
|
282
289
|
suppressHighlighting={true}
|
|
@@ -306,11 +313,12 @@ exports[`Bumper/Data Displays/Badge/Features WithMaximumCount 1`] = `
|
|
|
306
313
|
style={
|
|
307
314
|
{
|
|
308
315
|
"color": "#ffffff",
|
|
309
|
-
"fontFamily": "
|
|
316
|
+
"fontFamily": "GTStandardNarrowBold",
|
|
310
317
|
"fontSize": 12,
|
|
311
318
|
"letterSpacing": 0,
|
|
312
319
|
"lineHeight": 14,
|
|
313
320
|
"paddingBottom": 1,
|
|
321
|
+
"textTransform": "uppercase",
|
|
314
322
|
}
|
|
315
323
|
}
|
|
316
324
|
suppressHighlighting={true}
|
|
@@ -34,11 +34,12 @@ exports[`Bumper/Data Displays/Badge Default 1`] = `
|
|
|
34
34
|
style={
|
|
35
35
|
{
|
|
36
36
|
"color": "#ffffff",
|
|
37
|
-
"fontFamily": "
|
|
37
|
+
"fontFamily": "GTStandardNarrowBold",
|
|
38
38
|
"fontSize": 12,
|
|
39
39
|
"letterSpacing": 0,
|
|
40
40
|
"lineHeight": 14,
|
|
41
41
|
"paddingBottom": 1,
|
|
42
|
+
"textTransform": "uppercase",
|
|
42
43
|
}
|
|
43
44
|
}
|
|
44
45
|
suppressHighlighting={true}
|
|
@@ -24,7 +24,7 @@ exports[`Bumper/Data Displays/Badge/Features WithCount 1`] = `
|
|
|
24
24
|
class="_dsp-flex _fd-column _fb-auto _bxs-border-box _pos-relative _flexShrink-0 _justifyContent-center _alignItems-center _btlr-t-radius-ra1854241453 _btrr-t-radius-ra1854241453 _bbrr-t-radius-ra1854241453 _bblr-t-radius-ra1854241453 _backgroundColor-bg--danger-46574 _alignSelf-flex-start _minWidth-16px _minHeight-16px _paddingRight-t-space-spa94482162 _paddingLeft-t-space-spa94482162"
|
|
25
25
|
>
|
|
26
26
|
<span
|
|
27
|
-
class="
|
|
27
|
+
class="font_GTStandardNarrow _WebkitFontSmoothing-_platformweb_antialiased _dsp-inline _bxs-border-box _ww-break-word _ws-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _ff-f-family _tt-uppercase _fs-f-size-cont1213109893 _lh-f-lineHeigh599485626 _ls-f-letterSpa1883393765 _fw-f-weight-bo3448 _col-content--ba254712717 _paddingBottom-1px"
|
|
28
28
|
data-disable-theme="true"
|
|
29
29
|
>
|
|
30
30
|
1
|
|
@@ -34,7 +34,7 @@ exports[`Bumper/Data Displays/Badge/Features WithCount 1`] = `
|
|
|
34
34
|
class="_dsp-flex _fd-column _fb-auto _bxs-border-box _pos-relative _flexShrink-0 _justifyContent-center _alignItems-center _btlr-t-radius-ra1854241453 _btrr-t-radius-ra1854241453 _bbrr-t-radius-ra1854241453 _bblr-t-radius-ra1854241453 _backgroundColor-bg--danger-46574 _alignSelf-flex-start _minWidth-16px _minHeight-16px _paddingRight-t-space-spa94482162 _paddingLeft-t-space-spa94482162"
|
|
35
35
|
>
|
|
36
36
|
<span
|
|
37
|
-
class="
|
|
37
|
+
class="font_GTStandardNarrow _WebkitFontSmoothing-_platformweb_antialiased _dsp-inline _bxs-border-box _ww-break-word _ws-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _ff-f-family _tt-uppercase _fs-f-size-cont1213109893 _lh-f-lineHeigh599485626 _ls-f-letterSpa1883393765 _fw-f-weight-bo3448 _col-content--ba254712717 _paddingBottom-1px"
|
|
38
38
|
data-disable-theme="true"
|
|
39
39
|
>
|
|
40
40
|
5
|
|
@@ -44,7 +44,7 @@ exports[`Bumper/Data Displays/Badge/Features WithCount 1`] = `
|
|
|
44
44
|
class="_dsp-flex _fd-column _fb-auto _bxs-border-box _pos-relative _flexShrink-0 _justifyContent-center _alignItems-center _btlr-t-radius-ra1854241453 _btrr-t-radius-ra1854241453 _bbrr-t-radius-ra1854241453 _bblr-t-radius-ra1854241453 _backgroundColor-bg--danger-46574 _alignSelf-flex-start _minWidth-16px _minHeight-16px _paddingRight-t-space-spa94482162 _paddingLeft-t-space-spa94482162"
|
|
45
45
|
>
|
|
46
46
|
<span
|
|
47
|
-
class="
|
|
47
|
+
class="font_GTStandardNarrow _WebkitFontSmoothing-_platformweb_antialiased _dsp-inline _bxs-border-box _ww-break-word _ws-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _ff-f-family _tt-uppercase _fs-f-size-cont1213109893 _lh-f-lineHeigh599485626 _ls-f-letterSpa1883393765 _fw-f-weight-bo3448 _col-content--ba254712717 _paddingBottom-1px"
|
|
48
48
|
data-disable-theme="true"
|
|
49
49
|
>
|
|
50
50
|
9+
|
|
@@ -54,7 +54,7 @@ exports[`Bumper/Data Displays/Badge/Features WithCount 1`] = `
|
|
|
54
54
|
class="_dsp-flex _fd-column _fb-auto _bxs-border-box _pos-relative _flexShrink-0 _justifyContent-center _alignItems-center _btlr-t-radius-ra1854241453 _btrr-t-radius-ra1854241453 _bbrr-t-radius-ra1854241453 _bblr-t-radius-ra1854241453 _backgroundColor-bg--danger-46574 _alignSelf-flex-start _minWidth-16px _minHeight-16px _paddingRight-t-space-spa94482162 _paddingLeft-t-space-spa94482162"
|
|
55
55
|
>
|
|
56
56
|
<span
|
|
57
|
-
class="
|
|
57
|
+
class="font_GTStandardNarrow _WebkitFontSmoothing-_platformweb_antialiased _dsp-inline _bxs-border-box _ww-break-word _ws-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _ff-f-family _tt-uppercase _fs-f-size-cont1213109893 _lh-f-lineHeigh599485626 _ls-f-letterSpa1883393765 _fw-f-weight-bo3448 _col-content--ba254712717 _paddingBottom-1px"
|
|
58
58
|
data-disable-theme="true"
|
|
59
59
|
>
|
|
60
60
|
9+
|
|
@@ -64,7 +64,7 @@ exports[`Bumper/Data Displays/Badge/Features WithCount 1`] = `
|
|
|
64
64
|
class="_dsp-flex _fd-column _fb-auto _bxs-border-box _pos-relative _flexShrink-0 _justifyContent-center _alignItems-center _btlr-t-radius-ra1854241453 _btrr-t-radius-ra1854241453 _bbrr-t-radius-ra1854241453 _bblr-t-radius-ra1854241453 _backgroundColor-bg--danger-46574 _alignSelf-flex-start _minWidth-16px _minHeight-16px _paddingRight-t-space-spa94482162 _paddingLeft-t-space-spa94482162"
|
|
65
65
|
>
|
|
66
66
|
<span
|
|
67
|
-
class="
|
|
67
|
+
class="font_GTStandardNarrow _WebkitFontSmoothing-_platformweb_antialiased _dsp-inline _bxs-border-box _ww-break-word _ws-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _ff-f-family _tt-uppercase _fs-f-size-cont1213109893 _lh-f-lineHeigh599485626 _ls-f-letterSpa1883393765 _fw-f-weight-bo3448 _col-content--ba254712717 _paddingBottom-1px"
|
|
68
68
|
data-disable-theme="true"
|
|
69
69
|
>
|
|
70
70
|
0
|
|
@@ -102,7 +102,7 @@ exports[`Bumper/Data Displays/Badge/Features WithMaximumCount 1`] = `
|
|
|
102
102
|
class="_dsp-flex _fd-column _fb-auto _bxs-border-box _pos-relative _flexShrink-0 _justifyContent-center _alignItems-center _btlr-t-radius-ra1854241453 _btrr-t-radius-ra1854241453 _bbrr-t-radius-ra1854241453 _bblr-t-radius-ra1854241453 _backgroundColor-bg--danger-46574 _alignSelf-flex-start _minWidth-16px _minHeight-16px _paddingRight-t-space-spa94482162 _paddingLeft-t-space-spa94482162"
|
|
103
103
|
>
|
|
104
104
|
<span
|
|
105
|
-
class="
|
|
105
|
+
class="font_GTStandardNarrow _WebkitFontSmoothing-_platformweb_antialiased _dsp-inline _bxs-border-box _ww-break-word _ws-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _ff-f-family _tt-uppercase _fs-f-size-cont1213109893 _lh-f-lineHeigh599485626 _ls-f-letterSpa1883393765 _fw-f-weight-bo3448 _col-content--ba254712717 _paddingBottom-1px"
|
|
106
106
|
data-disable-theme="true"
|
|
107
107
|
>
|
|
108
108
|
9+
|
|
@@ -112,7 +112,7 @@ exports[`Bumper/Data Displays/Badge/Features WithMaximumCount 1`] = `
|
|
|
112
112
|
class="_dsp-flex _fd-column _fb-auto _bxs-border-box _pos-relative _flexShrink-0 _justifyContent-center _alignItems-center _btlr-t-radius-ra1854241453 _btrr-t-radius-ra1854241453 _bbrr-t-radius-ra1854241453 _bblr-t-radius-ra1854241453 _backgroundColor-bg--danger-46574 _alignSelf-flex-start _minWidth-16px _minHeight-16px _paddingRight-t-space-spa94482162 _paddingLeft-t-space-spa94482162"
|
|
113
113
|
>
|
|
114
114
|
<span
|
|
115
|
-
class="
|
|
115
|
+
class="font_GTStandardNarrow _WebkitFontSmoothing-_platformweb_antialiased _dsp-inline _bxs-border-box _ww-break-word _ws-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _ff-f-family _tt-uppercase _fs-f-size-cont1213109893 _lh-f-lineHeigh599485626 _ls-f-letterSpa1883393765 _fw-f-weight-bo3448 _col-content--ba254712717 _paddingBottom-1px"
|
|
116
116
|
data-disable-theme="true"
|
|
117
117
|
>
|
|
118
118
|
99+
|
|
@@ -122,7 +122,7 @@ exports[`Bumper/Data Displays/Badge/Features WithMaximumCount 1`] = `
|
|
|
122
122
|
class="_dsp-flex _fd-column _fb-auto _bxs-border-box _pos-relative _flexShrink-0 _justifyContent-center _alignItems-center _btlr-t-radius-ra1854241453 _btrr-t-radius-ra1854241453 _bbrr-t-radius-ra1854241453 _bblr-t-radius-ra1854241453 _backgroundColor-bg--danger-46574 _alignSelf-flex-start _minWidth-16px _minHeight-16px _paddingRight-t-space-spa94482162 _paddingLeft-t-space-spa94482162"
|
|
123
123
|
>
|
|
124
124
|
<span
|
|
125
|
-
class="
|
|
125
|
+
class="font_GTStandardNarrow _WebkitFontSmoothing-_platformweb_antialiased _dsp-inline _bxs-border-box _ww-break-word _ws-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _ff-f-family _tt-uppercase _fs-f-size-cont1213109893 _lh-f-lineHeigh599485626 _ls-f-letterSpa1883393765 _fw-f-weight-bo3448 _col-content--ba254712717 _paddingBottom-1px"
|
|
126
126
|
data-disable-theme="true"
|
|
127
127
|
>
|
|
128
128
|
999
|
|
@@ -21,7 +21,7 @@ exports[`Bumper/Data Displays/Badge Default 1`] = `
|
|
|
21
21
|
class="_dsp-flex _fd-column _fb-auto _bxs-border-box _pos-relative _flexShrink-0 _justifyContent-center _alignItems-center _btlr-t-radius-ra1854241453 _btrr-t-radius-ra1854241453 _bbrr-t-radius-ra1854241453 _bblr-t-radius-ra1854241453 _backgroundColor-bg--danger-46574 _alignSelf-flex-start _minWidth-16px _minHeight-16px _paddingRight-t-space-spa94482162 _paddingLeft-t-space-spa94482162"
|
|
22
22
|
>
|
|
23
23
|
<span
|
|
24
|
-
class="
|
|
24
|
+
class="font_GTStandardNarrow _WebkitFontSmoothing-_platformweb_antialiased _dsp-inline _bxs-border-box _ww-break-word _ws-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _ff-f-family _tt-uppercase _fs-f-size-cont1213109893 _lh-f-lineHeigh599485626 _ls-f-letterSpa1883393765 _fw-f-weight-bo3448 _col-content--ba254712717 _paddingBottom-1px"
|
|
25
25
|
data-disable-theme="true"
|
|
26
26
|
>
|
|
27
27
|
3
|
package/src/tamagui.config.ts
CHANGED
|
@@ -1,21 +1,43 @@
|
|
|
1
1
|
import { createFont, createTamagui, createTokens } from '@tamagui/core';
|
|
2
2
|
import { light } from './system/core/themes/light/light';
|
|
3
|
+
import {
|
|
4
|
+
GTStandardFaces,
|
|
5
|
+
GTStandardLetterSpacings,
|
|
6
|
+
GTStandardLineHeights,
|
|
7
|
+
GTStandardSizes,
|
|
8
|
+
GTStandardWeights,
|
|
9
|
+
} from './system/core/tokens/GTStandardFont';
|
|
10
|
+
import {
|
|
11
|
+
GTStandardNarrowFaces,
|
|
12
|
+
GTStandardNarrowLetterSpacings,
|
|
13
|
+
GTStandardNarrowLineHeights,
|
|
14
|
+
GTStandardNarrowSizes,
|
|
15
|
+
GTStandardNarrowWeights,
|
|
16
|
+
} from './system/core/tokens/GTStandardNarrowFont';
|
|
3
17
|
import { BreakpointNameEnum, breakpoints } from './system/core/tokens/breakpoints';
|
|
4
18
|
import { bumperIconTokens } from './system/core/tokens/bumperIcon';
|
|
5
|
-
import { GTStandardFaces, letterSpacing, lineHeight, size, weight } from './system/core/tokens/fonts';
|
|
6
19
|
import { radiusTokens } from './system/core/tokens/radius';
|
|
7
20
|
import { sizeTokens } from './system/core/tokens/size';
|
|
8
21
|
import { spaceTokens } from './system/core/tokens/space';
|
|
9
22
|
|
|
10
|
-
export const
|
|
23
|
+
export const GTStandardFont = createFont({
|
|
11
24
|
family: 'GTStandard',
|
|
12
|
-
size,
|
|
13
|
-
lineHeight,
|
|
14
|
-
letterSpacing,
|
|
15
|
-
weight,
|
|
25
|
+
size: GTStandardSizes,
|
|
26
|
+
lineHeight: GTStandardLineHeights,
|
|
27
|
+
letterSpacing: GTStandardLetterSpacings,
|
|
28
|
+
weight: GTStandardWeights,
|
|
16
29
|
face: GTStandardFaces,
|
|
17
30
|
});
|
|
18
31
|
|
|
32
|
+
export const GTStandardNarrowFont = createFont({
|
|
33
|
+
family: 'GTStandardNarrow',
|
|
34
|
+
size: GTStandardNarrowSizes,
|
|
35
|
+
lineHeight: GTStandardNarrowLineHeights,
|
|
36
|
+
letterSpacing: GTStandardNarrowLetterSpacings,
|
|
37
|
+
weight: GTStandardNarrowWeights,
|
|
38
|
+
face: GTStandardNarrowFaces,
|
|
39
|
+
});
|
|
40
|
+
|
|
19
41
|
const tokens = createTokens({
|
|
20
42
|
color: {},
|
|
21
43
|
space: spaceTokens,
|
|
@@ -27,7 +49,8 @@ const tokens = createTokens({
|
|
|
27
49
|
export const config = createTamagui({
|
|
28
50
|
tokens,
|
|
29
51
|
fonts: {
|
|
30
|
-
GTStandard:
|
|
52
|
+
GTStandard: GTStandardFont,
|
|
53
|
+
GTStandardNarrow: GTStandardNarrowFont,
|
|
31
54
|
},
|
|
32
55
|
themes: {
|
|
33
56
|
light,
|