@pagopa/io-app-design-system 2.0.3 → 2.1.0-2
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/lib/commonjs/components/Advice/__test__/__snapshots__/advice.test.tsx.snap +1 -1
- package/lib/commonjs/components/badge/Badge.js +2 -2
- package/lib/commonjs/components/badge/Badge.js.map +1 -1
- package/lib/commonjs/components/badge/__test__/__snapshots__/badge.test.tsx.snap +2 -2
- package/lib/commonjs/components/banner/__test__/__snapshots__/banner.test.tsx.snap +6 -6
- package/lib/commonjs/components/buttons/ButtonLink.js +2 -2
- package/lib/commonjs/components/buttons/ButtonLink.js.map +1 -1
- package/lib/commonjs/components/buttons/ButtonOutline.js +2 -2
- package/lib/commonjs/components/buttons/ButtonOutline.js.map +1 -1
- package/lib/commonjs/components/buttons/__test__/__snapshots__/button.test.tsx.snap +6 -6
- package/lib/commonjs/components/layout/HeaderSecondLevel.js +2 -2
- package/lib/commonjs/components/layout/HeaderSecondLevel.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemRadioWithAmount.js +3 -3
- package/lib/commonjs/components/listitems/ListItemRadioWithAmount.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemTransaction.js +3 -2
- package/lib/commonjs/components/listitems/ListItemTransaction.js.map +1 -1
- package/lib/commonjs/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +37 -37
- package/lib/commonjs/components/modules/ModuleAttachment.js +2 -1
- package/lib/commonjs/components/modules/ModuleAttachment.js.map +1 -1
- package/lib/commonjs/components/modules/ModuleCredential.js +2 -1
- package/lib/commonjs/components/modules/ModuleCredential.js.map +1 -1
- package/lib/commonjs/components/modules/ModuleIDP.js +2 -2
- package/lib/commonjs/components/modules/ModuleIDP.js.map +1 -1
- package/lib/commonjs/components/modules/ModuleNavigation.js +2 -1
- package/lib/commonjs/components/modules/ModuleNavigation.js.map +1 -1
- package/lib/commonjs/components/modules/ModulePaymentNotice.js +3 -2
- package/lib/commonjs/components/modules/ModulePaymentNotice.js.map +1 -1
- package/lib/commonjs/components/searchInput/SearchInput.js +1 -1
- package/lib/commonjs/components/searchInput/SearchInput.js.map +1 -1
- package/lib/commonjs/components/tag/Tag.js +2 -2
- package/lib/commonjs/components/tag/Tag.js.map +1 -1
- package/lib/commonjs/components/textInput/TextInputBase.js +1 -1
- package/lib/commonjs/components/textInput/TextInputBase.js.map +1 -1
- package/lib/commonjs/components/typography/Body.js +10 -3
- package/lib/commonjs/components/typography/Body.js.map +1 -1
- package/lib/commonjs/components/typography/ButtonText.js +2 -2
- package/lib/commonjs/components/typography/ButtonText.js.map +1 -1
- package/lib/commonjs/components/typography/Caption.js +1 -1
- package/lib/commonjs/components/typography/Caption.js.map +1 -1
- package/lib/commonjs/components/typography/Chip.js +1 -1
- package/lib/commonjs/components/typography/Chip.js.map +1 -1
- package/lib/commonjs/components/typography/H1.js +4 -6
- package/lib/commonjs/components/typography/H1.js.map +1 -1
- package/lib/commonjs/components/typography/H2.js +2 -2
- package/lib/commonjs/components/typography/H2.js.map +1 -1
- package/lib/commonjs/components/typography/H3.js +2 -2
- package/lib/commonjs/components/typography/H3.js.map +1 -1
- package/lib/commonjs/components/typography/H4.js +2 -2
- package/lib/commonjs/components/typography/H4.js.map +1 -1
- package/lib/commonjs/components/typography/H5.js +9 -2
- package/lib/commonjs/components/typography/H5.js.map +1 -1
- package/lib/commonjs/components/typography/H6.js +5 -7
- package/lib/commonjs/components/typography/H6.js.map +1 -1
- package/lib/commonjs/components/typography/Hero.js +2 -2
- package/lib/commonjs/components/typography/Hero.js.map +1 -1
- package/lib/commonjs/components/typography/Label.js +10 -2
- package/lib/commonjs/components/typography/Label.js.map +1 -1
- package/lib/commonjs/components/typography/LabelMini.js +10 -2
- package/lib/commonjs/components/typography/LabelMini.js.map +1 -1
- package/lib/commonjs/components/typography/LabelSmall.js +10 -2
- package/lib/commonjs/components/typography/LabelSmall.js.map +1 -1
- package/lib/commonjs/components/typography/__test__/__snapshots__/typography.test.tsx.snap +5 -5
- package/lib/commonjs/components/typography/index.js +0 -11
- package/lib/commonjs/components/typography/index.js.map +1 -1
- package/lib/commonjs/components/typography/markdown/MdH1.js +2 -2
- package/lib/commonjs/components/typography/markdown/MdH1.js.map +1 -1
- package/lib/commonjs/components/typography/markdown/MdH2.js +3 -5
- package/lib/commonjs/components/typography/markdown/MdH2.js.map +1 -1
- package/lib/commonjs/components/typography/markdown/MdH3.js +2 -2
- package/lib/commonjs/components/typography/markdown/MdH3.js.map +1 -1
- package/lib/commonjs/utils/fonts.js +10 -8
- package/lib/commonjs/utils/fonts.js.map +1 -1
- package/lib/module/components/Advice/__test__/__snapshots__/advice.test.tsx.snap +1 -1
- package/lib/module/components/badge/Badge.js +2 -2
- package/lib/module/components/badge/Badge.js.map +1 -1
- package/lib/module/components/badge/__test__/__snapshots__/badge.test.tsx.snap +2 -2
- package/lib/module/components/banner/__test__/__snapshots__/banner.test.tsx.snap +6 -6
- package/lib/module/components/buttons/ButtonLink.js +2 -2
- package/lib/module/components/buttons/ButtonLink.js.map +1 -1
- package/lib/module/components/buttons/ButtonOutline.js +2 -2
- package/lib/module/components/buttons/ButtonOutline.js.map +1 -1
- package/lib/module/components/buttons/__test__/__snapshots__/button.test.tsx.snap +6 -6
- package/lib/module/components/layout/HeaderSecondLevel.js +2 -2
- package/lib/module/components/layout/HeaderSecondLevel.js.map +1 -1
- package/lib/module/components/listitems/ListItemRadioWithAmount.js +3 -3
- package/lib/module/components/listitems/ListItemRadioWithAmount.js.map +1 -1
- package/lib/module/components/listitems/ListItemTransaction.js +4 -3
- package/lib/module/components/listitems/ListItemTransaction.js.map +1 -1
- package/lib/module/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +37 -37
- package/lib/module/components/modules/ModuleAttachment.js +3 -2
- package/lib/module/components/modules/ModuleAttachment.js.map +1 -1
- package/lib/module/components/modules/ModuleCredential.js +3 -2
- package/lib/module/components/modules/ModuleCredential.js.map +1 -1
- package/lib/module/components/modules/ModuleIDP.js +2 -2
- package/lib/module/components/modules/ModuleIDP.js.map +1 -1
- package/lib/module/components/modules/ModuleNavigation.js +3 -2
- package/lib/module/components/modules/ModuleNavigation.js.map +1 -1
- package/lib/module/components/modules/ModulePaymentNotice.js +4 -3
- package/lib/module/components/modules/ModulePaymentNotice.js.map +1 -1
- package/lib/module/components/searchInput/SearchInput.js +1 -1
- package/lib/module/components/searchInput/SearchInput.js.map +1 -1
- package/lib/module/components/tag/Tag.js +2 -2
- package/lib/module/components/tag/Tag.js.map +1 -1
- package/lib/module/components/textInput/TextInputBase.js +1 -1
- package/lib/module/components/textInput/TextInputBase.js.map +1 -1
- package/lib/module/components/typography/Body.js +10 -3
- package/lib/module/components/typography/Body.js.map +1 -1
- package/lib/module/components/typography/ButtonText.js +2 -2
- package/lib/module/components/typography/ButtonText.js.map +1 -1
- package/lib/module/components/typography/Caption.js +1 -1
- package/lib/module/components/typography/Caption.js.map +1 -1
- package/lib/module/components/typography/Chip.js +1 -1
- package/lib/module/components/typography/Chip.js.map +1 -1
- package/lib/module/components/typography/H1.js +4 -6
- package/lib/module/components/typography/H1.js.map +1 -1
- package/lib/module/components/typography/H2.js +2 -2
- package/lib/module/components/typography/H2.js.map +1 -1
- package/lib/module/components/typography/H3.js +2 -2
- package/lib/module/components/typography/H3.js.map +1 -1
- package/lib/module/components/typography/H4.js +2 -2
- package/lib/module/components/typography/H4.js.map +1 -1
- package/lib/module/components/typography/H5.js +10 -3
- package/lib/module/components/typography/H5.js.map +1 -1
- package/lib/module/components/typography/H6.js +5 -7
- package/lib/module/components/typography/H6.js.map +1 -1
- package/lib/module/components/typography/Hero.js +2 -2
- package/lib/module/components/typography/Hero.js.map +1 -1
- package/lib/module/components/typography/Label.js +11 -3
- package/lib/module/components/typography/Label.js.map +1 -1
- package/lib/module/components/typography/LabelMini.js +11 -3
- package/lib/module/components/typography/LabelMini.js.map +1 -1
- package/lib/module/components/typography/LabelSmall.js +11 -3
- package/lib/module/components/typography/LabelSmall.js.map +1 -1
- package/lib/module/components/typography/__test__/__snapshots__/typography.test.tsx.snap +5 -5
- package/lib/module/components/typography/index.js +0 -1
- package/lib/module/components/typography/index.js.map +1 -1
- package/lib/module/components/typography/markdown/MdH1.js +2 -2
- package/lib/module/components/typography/markdown/MdH1.js.map +1 -1
- package/lib/module/components/typography/markdown/MdH2.js +3 -5
- package/lib/module/components/typography/markdown/MdH2.js.map +1 -1
- package/lib/module/components/typography/markdown/MdH3.js +2 -2
- package/lib/module/components/typography/markdown/MdH3.js.map +1 -1
- package/lib/module/utils/fonts.js +10 -8
- package/lib/module/utils/fonts.js.map +1 -1
- package/lib/typescript/components/listitems/ListItemRadioWithAmount.d.ts.map +1 -1
- package/lib/typescript/components/listitems/ListItemTransaction.d.ts.map +1 -1
- package/lib/typescript/components/modules/ModuleAttachment.d.ts.map +1 -1
- package/lib/typescript/components/modules/ModuleCredential.d.ts.map +1 -1
- package/lib/typescript/components/modules/ModuleNavigation.d.ts.map +1 -1
- package/lib/typescript/components/modules/ModulePaymentNotice.d.ts.map +1 -1
- package/lib/typescript/components/textInput/TextInputBase.d.ts.map +1 -1
- package/lib/typescript/components/typography/Body.d.ts.map +1 -1
- package/lib/typescript/components/typography/H1.d.ts.map +1 -1
- package/lib/typescript/components/typography/H5.d.ts.map +1 -1
- package/lib/typescript/components/typography/H6.d.ts.map +1 -1
- package/lib/typescript/components/typography/Label.d.ts.map +1 -1
- package/lib/typescript/components/typography/LabelMini.d.ts.map +1 -1
- package/lib/typescript/components/typography/LabelSmall.d.ts.map +1 -1
- package/lib/typescript/components/typography/index.d.ts +0 -1
- package/lib/typescript/components/typography/index.d.ts.map +1 -1
- package/lib/typescript/components/typography/markdown/MdH2.d.ts.map +1 -1
- package/lib/typescript/utils/fonts.d.ts +7 -7
- package/lib/typescript/utils/fonts.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/Advice/__test__/__snapshots__/advice.test.tsx.snap +1 -1
- package/src/components/badge/Badge.tsx +2 -2
- package/src/components/badge/__test__/__snapshots__/badge.test.tsx.snap +2 -2
- package/src/components/banner/__test__/__snapshots__/banner.test.tsx.snap +6 -6
- package/src/components/buttons/ButtonLink.tsx +2 -2
- package/src/components/buttons/ButtonOutline.tsx +2 -2
- package/src/components/buttons/__test__/__snapshots__/button.test.tsx.snap +6 -6
- package/src/components/layout/HeaderSecondLevel.tsx +2 -2
- package/src/components/listitems/ListItemRadioWithAmount.tsx +7 -4
- package/src/components/listitems/ListItemTransaction.tsx +4 -3
- package/src/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +37 -37
- package/src/components/modules/ModuleAttachment.tsx +4 -3
- package/src/components/modules/ModuleCredential.tsx +4 -3
- package/src/components/modules/ModuleIDP.tsx +2 -2
- package/src/components/modules/ModuleNavigation.tsx +4 -3
- package/src/components/modules/ModulePaymentNotice.tsx +4 -3
- package/src/components/searchInput/SearchInput.tsx +1 -1
- package/src/components/tag/Tag.tsx +2 -2
- package/src/components/textInput/TextInputBase.tsx +1 -6
- package/src/components/typography/Body.tsx +15 -4
- package/src/components/typography/ButtonText.tsx +2 -2
- package/src/components/typography/Caption.tsx +1 -1
- package/src/components/typography/Chip.tsx +1 -1
- package/src/components/typography/H1.tsx +4 -6
- package/src/components/typography/H2.tsx +2 -2
- package/src/components/typography/H3.tsx +2 -2
- package/src/components/typography/H4.tsx +2 -2
- package/src/components/typography/H5.tsx +11 -4
- package/src/components/typography/H6.tsx +5 -7
- package/src/components/typography/Hero.tsx +2 -2
- package/src/components/typography/Label.tsx +15 -4
- package/src/components/typography/LabelMini.tsx +15 -4
- package/src/components/typography/LabelSmall.tsx +15 -4
- package/src/components/typography/__test__/__snapshots__/typography.test.tsx.snap +5 -5
- package/src/components/typography/index.tsx +0 -1
- package/src/components/typography/markdown/MdH1.tsx +2 -2
- package/src/components/typography/markdown/MdH2.tsx +3 -5
- package/src/components/typography/markdown/MdH3.tsx +2 -2
- package/src/utils/fonts.ts +20 -10
- package/lib/commonjs/components/typography/LabelSmallAlt.js +0 -48
- package/lib/commonjs/components/typography/LabelSmallAlt.js.map +0 -1
- package/lib/module/components/typography/LabelSmallAlt.js +0 -39
- package/lib/module/components/typography/LabelSmallAlt.js.map +0 -1
- package/lib/typescript/components/typography/LabelSmallAlt.d.ts +0 -13
- package/lib/typescript/components/typography/LabelSmallAlt.d.ts.map +0 -1
- package/src/components/typography/LabelSmallAlt.tsx +0 -41
|
@@ -83,10 +83,10 @@ exports[`Test Buttons Components - Experimental Enabled ButtonLink Snapshot 1`]
|
|
|
83
83
|
{},
|
|
84
84
|
{
|
|
85
85
|
"color": "#0E0F13",
|
|
86
|
-
"fontFamily": "
|
|
86
|
+
"fontFamily": "Titillio",
|
|
87
87
|
"fontSize": 16,
|
|
88
88
|
"fontStyle": "normal",
|
|
89
|
-
"fontWeight": "
|
|
89
|
+
"fontWeight": "600",
|
|
90
90
|
"lineHeight": undefined,
|
|
91
91
|
},
|
|
92
92
|
{
|
|
@@ -190,10 +190,10 @@ exports[`Test Buttons Components - Experimental Enabled ButtonOutline Snapshot 1
|
|
|
190
190
|
{},
|
|
191
191
|
{
|
|
192
192
|
"color": "#0E0F13",
|
|
193
|
-
"fontFamily": "
|
|
193
|
+
"fontFamily": "Titillio",
|
|
194
194
|
"fontSize": 16,
|
|
195
195
|
"fontStyle": "normal",
|
|
196
|
-
"fontWeight": "
|
|
196
|
+
"fontWeight": "600",
|
|
197
197
|
"lineHeight": undefined,
|
|
198
198
|
},
|
|
199
199
|
[
|
|
@@ -311,10 +311,10 @@ exports[`Test Buttons Components - Experimental Enabled ButtonSolid Snapshot 1`]
|
|
|
311
311
|
{},
|
|
312
312
|
{
|
|
313
313
|
"color": "#FFFFFF",
|
|
314
|
-
"fontFamily": "
|
|
314
|
+
"fontFamily": "Titillio",
|
|
315
315
|
"fontSize": 16,
|
|
316
316
|
"fontStyle": "normal",
|
|
317
|
-
"fontWeight": "
|
|
317
|
+
"fontWeight": "600",
|
|
318
318
|
"lineHeight": 20,
|
|
319
319
|
},
|
|
320
320
|
{
|
|
@@ -303,8 +303,8 @@ export const HeaderSecondLevel = ({
|
|
|
303
303
|
size={14}
|
|
304
304
|
numberOfLines={1}
|
|
305
305
|
accessible={false}
|
|
306
|
-
font={isExperimental ? "
|
|
307
|
-
weight={
|
|
306
|
+
font={isExperimental ? "Titillio" : "TitilliumSansPro"}
|
|
307
|
+
weight={"Semibold"}
|
|
308
308
|
style={[
|
|
309
309
|
{ color: titleColor, textAlign: "center" },
|
|
310
310
|
titleAnimatedStyle
|
|
@@ -5,8 +5,7 @@ import { IOColors, useIOTheme } from "../../core";
|
|
|
5
5
|
import { Icon } from "../icons";
|
|
6
6
|
import { AnimatedRadio } from "../radio/AnimatedRadio";
|
|
7
7
|
import { HSpacer, VSpacer } from "../spacer";
|
|
8
|
-
import { H6,
|
|
9
|
-
import { LabelSmall } from "../typography/LabelSmall";
|
|
8
|
+
import { H6, LabelSmall } from "../typography";
|
|
10
9
|
import { PressableListItemBase } from "./PressableListItemsBase";
|
|
11
10
|
|
|
12
11
|
export type ListItemRadioWithAmountProps = {
|
|
@@ -56,9 +55,13 @@ export const ListItemRadioWithAmount = ({
|
|
|
56
55
|
}}
|
|
57
56
|
>
|
|
58
57
|
<View style={{ flexShrink: 1 }}>
|
|
59
|
-
<
|
|
58
|
+
<LabelSmall
|
|
59
|
+
weight="Semibold"
|
|
60
|
+
numberOfLines={1}
|
|
61
|
+
color={theme["textBody-default"]}
|
|
62
|
+
>
|
|
60
63
|
{label}
|
|
61
|
-
</
|
|
64
|
+
</LabelSmall>
|
|
62
65
|
{isSuggested && (
|
|
63
66
|
<>
|
|
64
67
|
<VSpacer size={4} />
|
|
@@ -24,7 +24,7 @@ import { LogoPaymentWithFallback } from "../common/LogoPaymentWithFallback";
|
|
|
24
24
|
import { IOIconSizeScale, Icon } from "../icons";
|
|
25
25
|
import { IOLogoPaymentType } from "../logos";
|
|
26
26
|
import { VSpacer } from "../spacer";
|
|
27
|
-
import { H6, LabelSmall
|
|
27
|
+
import { H6, LabelSmall } from "../typography";
|
|
28
28
|
import {
|
|
29
29
|
PressableBaseProps,
|
|
30
30
|
PressableListItemBase
|
|
@@ -192,12 +192,13 @@ export const ListItemTransaction = ({
|
|
|
192
192
|
</View>
|
|
193
193
|
)}
|
|
194
194
|
<View style={IOStyles.flex}>
|
|
195
|
-
<
|
|
195
|
+
<LabelSmall
|
|
196
196
|
numberOfLines={numberOfLines}
|
|
197
197
|
color={theme["textBody-default"]}
|
|
198
|
+
weight="Semibold"
|
|
198
199
|
>
|
|
199
200
|
{title}
|
|
200
|
-
</
|
|
201
|
+
</LabelSmall>
|
|
201
202
|
<LabelSmall weight="Regular" color={theme["textBody-tertiary"]}>
|
|
202
203
|
{subtitle}
|
|
203
204
|
</LabelSmall>
|
|
@@ -84,10 +84,10 @@ exports[`Test List Item Components - Experimental Enabled ListItemAction Snapsh
|
|
|
84
84
|
{},
|
|
85
85
|
{
|
|
86
86
|
"color": "#0B3EE3",
|
|
87
|
-
"fontFamily": "
|
|
87
|
+
"fontFamily": "Titillio",
|
|
88
88
|
"fontSize": 16,
|
|
89
89
|
"fontStyle": "normal",
|
|
90
|
-
"fontWeight": "
|
|
90
|
+
"fontWeight": "600",
|
|
91
91
|
"lineHeight": 20,
|
|
92
92
|
},
|
|
93
93
|
]
|
|
@@ -176,10 +176,10 @@ exports[`Test List Item Components - Experimental Enabled ListItemIDP Snapshot
|
|
|
176
176
|
},
|
|
177
177
|
{
|
|
178
178
|
"color": "#555C70",
|
|
179
|
-
"fontFamily": "
|
|
179
|
+
"fontFamily": "Titillio",
|
|
180
180
|
"fontSize": 12,
|
|
181
181
|
"fontStyle": "normal",
|
|
182
|
-
"fontWeight": "
|
|
182
|
+
"fontWeight": "600",
|
|
183
183
|
"lineHeight": 16,
|
|
184
184
|
},
|
|
185
185
|
]
|
|
@@ -245,7 +245,7 @@ exports[`Test List Item Components - Experimental Enabled ListItemInfo Snapshot
|
|
|
245
245
|
{},
|
|
246
246
|
{
|
|
247
247
|
"color": "#555C70",
|
|
248
|
-
"fontFamily": "
|
|
248
|
+
"fontFamily": "Titillio",
|
|
249
249
|
"fontSize": 14,
|
|
250
250
|
"fontStyle": "normal",
|
|
251
251
|
"fontWeight": "400",
|
|
@@ -266,10 +266,10 @@ exports[`Test List Item Components - Experimental Enabled ListItemInfo Snapshot
|
|
|
266
266
|
{},
|
|
267
267
|
{
|
|
268
268
|
"color": "#0E0F13",
|
|
269
|
-
"fontFamily": "
|
|
270
|
-
"fontSize":
|
|
269
|
+
"fontFamily": "Titillio",
|
|
270
|
+
"fontSize": 18,
|
|
271
271
|
"fontStyle": "normal",
|
|
272
|
-
"fontWeight": "
|
|
272
|
+
"fontWeight": "600",
|
|
273
273
|
"lineHeight": 24,
|
|
274
274
|
},
|
|
275
275
|
]
|
|
@@ -367,7 +367,7 @@ exports[`Test List Item Components - Experimental Enabled ListItemInfoCopy Snap
|
|
|
367
367
|
{},
|
|
368
368
|
{
|
|
369
369
|
"color": "#555C70",
|
|
370
|
-
"fontFamily": "
|
|
370
|
+
"fontFamily": "Titillio",
|
|
371
371
|
"fontSize": 14,
|
|
372
372
|
"fontStyle": "normal",
|
|
373
373
|
"fontWeight": "400",
|
|
@@ -388,10 +388,10 @@ exports[`Test List Item Components - Experimental Enabled ListItemInfoCopy Snap
|
|
|
388
388
|
{},
|
|
389
389
|
{
|
|
390
390
|
"color": "#0B3EE3",
|
|
391
|
-
"fontFamily": "
|
|
392
|
-
"fontSize":
|
|
391
|
+
"fontFamily": "Titillio",
|
|
392
|
+
"fontSize": 18,
|
|
393
393
|
"fontStyle": "normal",
|
|
394
|
-
"fontWeight": "
|
|
394
|
+
"fontWeight": "600",
|
|
395
395
|
"lineHeight": 24,
|
|
396
396
|
},
|
|
397
397
|
]
|
|
@@ -555,10 +555,10 @@ exports[`Test List Item Components - Experimental Enabled ListItemNav Snapshot
|
|
|
555
555
|
{},
|
|
556
556
|
{
|
|
557
557
|
"color": "#0E0F13",
|
|
558
|
-
"fontFamily": "
|
|
559
|
-
"fontSize":
|
|
558
|
+
"fontFamily": "Titillio",
|
|
559
|
+
"fontSize": 18,
|
|
560
560
|
"fontStyle": "normal",
|
|
561
|
-
"fontWeight": "
|
|
561
|
+
"fontWeight": "600",
|
|
562
562
|
"lineHeight": 24,
|
|
563
563
|
},
|
|
564
564
|
]
|
|
@@ -784,10 +784,10 @@ exports[`Test List Item Components - Experimental Enabled ListItemNavAlert Snap
|
|
|
784
784
|
{},
|
|
785
785
|
{
|
|
786
786
|
"color": "#0E0F13",
|
|
787
|
-
"fontFamily": "
|
|
788
|
-
"fontSize":
|
|
787
|
+
"fontFamily": "Titillio",
|
|
788
|
+
"fontSize": 18,
|
|
789
789
|
"fontStyle": "normal",
|
|
790
|
-
"fontWeight": "
|
|
790
|
+
"fontWeight": "600",
|
|
791
791
|
"lineHeight": 24,
|
|
792
792
|
},
|
|
793
793
|
]
|
|
@@ -952,10 +952,10 @@ exports[`Test List Item Components - Experimental Enabled ListItemRadioWithAmou
|
|
|
952
952
|
{},
|
|
953
953
|
{
|
|
954
954
|
"color": "#0E0F13",
|
|
955
|
-
"fontFamily": "
|
|
955
|
+
"fontFamily": "Titillio",
|
|
956
956
|
"fontSize": 14,
|
|
957
957
|
"fontStyle": "normal",
|
|
958
|
-
"fontWeight": "
|
|
958
|
+
"fontWeight": "600",
|
|
959
959
|
"lineHeight": 21,
|
|
960
960
|
},
|
|
961
961
|
]
|
|
@@ -1051,7 +1051,7 @@ exports[`Test List Item Components - Experimental Enabled ListItemRadioWithAmou
|
|
|
1051
1051
|
{},
|
|
1052
1052
|
{
|
|
1053
1053
|
"color": "#5517E3",
|
|
1054
|
-
"fontFamily": "
|
|
1054
|
+
"fontFamily": "Titillio",
|
|
1055
1055
|
"fontSize": 14,
|
|
1056
1056
|
"fontStyle": "normal",
|
|
1057
1057
|
"fontWeight": "400",
|
|
@@ -1090,10 +1090,10 @@ exports[`Test List Item Components - Experimental Enabled ListItemRadioWithAmou
|
|
|
1090
1090
|
{},
|
|
1091
1091
|
{
|
|
1092
1092
|
"color": "#0B3EE3",
|
|
1093
|
-
"fontFamily": "
|
|
1094
|
-
"fontSize":
|
|
1093
|
+
"fontFamily": "Titillio",
|
|
1094
|
+
"fontSize": 18,
|
|
1095
1095
|
"fontStyle": "normal",
|
|
1096
|
-
"fontWeight": "
|
|
1096
|
+
"fontWeight": "600",
|
|
1097
1097
|
"lineHeight": 24,
|
|
1098
1098
|
},
|
|
1099
1099
|
]
|
|
@@ -1340,10 +1340,10 @@ exports[`Test List Item Components - Experimental Enabled ListItemRadioWithAmou
|
|
|
1340
1340
|
{},
|
|
1341
1341
|
{
|
|
1342
1342
|
"color": "#0E0F13",
|
|
1343
|
-
"fontFamily": "
|
|
1343
|
+
"fontFamily": "Titillio",
|
|
1344
1344
|
"fontSize": 14,
|
|
1345
1345
|
"fontStyle": "normal",
|
|
1346
|
-
"fontWeight": "
|
|
1346
|
+
"fontWeight": "600",
|
|
1347
1347
|
"lineHeight": 21,
|
|
1348
1348
|
},
|
|
1349
1349
|
]
|
|
@@ -1378,10 +1378,10 @@ exports[`Test List Item Components - Experimental Enabled ListItemRadioWithAmou
|
|
|
1378
1378
|
{},
|
|
1379
1379
|
{
|
|
1380
1380
|
"color": "#0B3EE3",
|
|
1381
|
-
"fontFamily": "
|
|
1382
|
-
"fontSize":
|
|
1381
|
+
"fontFamily": "Titillio",
|
|
1382
|
+
"fontSize": 18,
|
|
1383
1383
|
"fontStyle": "normal",
|
|
1384
|
-
"fontWeight": "
|
|
1384
|
+
"fontWeight": "600",
|
|
1385
1385
|
"lineHeight": 24,
|
|
1386
1386
|
},
|
|
1387
1387
|
]
|
|
@@ -1967,7 +1967,7 @@ exports[`Test List Item Components ListItemInfo Snapshot 1`] = `
|
|
|
1967
1967
|
"fontSize": 18,
|
|
1968
1968
|
"fontStyle": "normal",
|
|
1969
1969
|
"fontWeight": "600",
|
|
1970
|
-
"lineHeight":
|
|
1970
|
+
"lineHeight": 24,
|
|
1971
1971
|
},
|
|
1972
1972
|
]
|
|
1973
1973
|
}
|
|
@@ -2089,7 +2089,7 @@ exports[`Test List Item Components ListItemInfoCopy Snapshot 1`] = `
|
|
|
2089
2089
|
"fontSize": 18,
|
|
2090
2090
|
"fontStyle": "normal",
|
|
2091
2091
|
"fontWeight": "600",
|
|
2092
|
-
"lineHeight":
|
|
2092
|
+
"lineHeight": 24,
|
|
2093
2093
|
},
|
|
2094
2094
|
]
|
|
2095
2095
|
}
|
|
@@ -2256,7 +2256,7 @@ exports[`Test List Item Components ListItemNav Snapshot 1`] = `
|
|
|
2256
2256
|
"fontSize": 18,
|
|
2257
2257
|
"fontStyle": "normal",
|
|
2258
2258
|
"fontWeight": "600",
|
|
2259
|
-
"lineHeight":
|
|
2259
|
+
"lineHeight": 24,
|
|
2260
2260
|
},
|
|
2261
2261
|
]
|
|
2262
2262
|
}
|
|
@@ -2485,7 +2485,7 @@ exports[`Test List Item Components ListItemNavAlert Snapshot 1`] = `
|
|
|
2485
2485
|
"fontSize": 18,
|
|
2486
2486
|
"fontStyle": "normal",
|
|
2487
2487
|
"fontWeight": "600",
|
|
2488
|
-
"lineHeight":
|
|
2488
|
+
"lineHeight": 24,
|
|
2489
2489
|
},
|
|
2490
2490
|
]
|
|
2491
2491
|
}
|
|
@@ -2650,7 +2650,7 @@ exports[`Test List Item Components ListItemRadioWithAmount Snapshot 1`] = `
|
|
|
2650
2650
|
{
|
|
2651
2651
|
"color": "#0E0F13",
|
|
2652
2652
|
"fontFamily": "Titillium Sans Pro",
|
|
2653
|
-
"fontSize":
|
|
2653
|
+
"fontSize": 14,
|
|
2654
2654
|
"fontStyle": "normal",
|
|
2655
2655
|
"fontWeight": "600",
|
|
2656
2656
|
"lineHeight": 21,
|
|
@@ -2791,7 +2791,7 @@ exports[`Test List Item Components ListItemRadioWithAmount Snapshot 1`] = `
|
|
|
2791
2791
|
"fontSize": 18,
|
|
2792
2792
|
"fontStyle": "normal",
|
|
2793
2793
|
"fontWeight": "600",
|
|
2794
|
-
"lineHeight":
|
|
2794
|
+
"lineHeight": 24,
|
|
2795
2795
|
},
|
|
2796
2796
|
]
|
|
2797
2797
|
}
|
|
@@ -3038,7 +3038,7 @@ exports[`Test List Item Components ListItemRadioWithAmount Snapshot 2`] = `
|
|
|
3038
3038
|
{
|
|
3039
3039
|
"color": "#0E0F13",
|
|
3040
3040
|
"fontFamily": "Titillium Sans Pro",
|
|
3041
|
-
"fontSize":
|
|
3041
|
+
"fontSize": 14,
|
|
3042
3042
|
"fontStyle": "normal",
|
|
3043
3043
|
"fontWeight": "600",
|
|
3044
3044
|
"lineHeight": 21,
|
|
@@ -3079,7 +3079,7 @@ exports[`Test List Item Components ListItemRadioWithAmount Snapshot 2`] = `
|
|
|
3079
3079
|
"fontSize": 18,
|
|
3080
3080
|
"fontStyle": "normal",
|
|
3081
3081
|
"fontWeight": "600",
|
|
3082
|
-
"lineHeight":
|
|
3082
|
+
"lineHeight": 24,
|
|
3083
3083
|
},
|
|
3084
3084
|
]
|
|
3085
3085
|
}
|
|
@@ -7,7 +7,7 @@ import { Badge } from "../badge";
|
|
|
7
7
|
import { Icon } from "../icons";
|
|
8
8
|
import { LoadingSpinner } from "../loadingSpinner";
|
|
9
9
|
import { HStack, VStack } from "../stack";
|
|
10
|
-
import {
|
|
10
|
+
import { LabelSmall } from "../typography";
|
|
11
11
|
import { ModuleStatic } from "./ModuleStatic";
|
|
12
12
|
import { PressableModuleBase } from "./PressableModuleBase";
|
|
13
13
|
|
|
@@ -66,12 +66,13 @@ const ModuleAttachmentContent = ({
|
|
|
66
66
|
space={4}
|
|
67
67
|
style={{ alignItems: "flex-start", flexShrink: 1, flexGrow: 1 }}
|
|
68
68
|
>
|
|
69
|
-
<
|
|
69
|
+
<LabelSmall
|
|
70
|
+
weight="Semibold"
|
|
70
71
|
numberOfLines={2}
|
|
71
72
|
color={theme["interactiveElem-default"]}
|
|
72
73
|
>
|
|
73
74
|
{title}
|
|
74
|
-
</
|
|
75
|
+
</LabelSmall>
|
|
75
76
|
<Badge text={format.toUpperCase()} variant="default" />
|
|
76
77
|
</VStack>
|
|
77
78
|
<IconOrActivityIndicatorComponent />
|
|
@@ -20,7 +20,7 @@ import { Badge } from "../badge";
|
|
|
20
20
|
import { IOIcons, Icon } from "../icons";
|
|
21
21
|
import { LoadingSpinner } from "../loadingSpinner";
|
|
22
22
|
import { HStack } from "../stack/Stack";
|
|
23
|
-
import {
|
|
23
|
+
import { LabelSmall } from "../typography";
|
|
24
24
|
import { ModuleStatic } from "./ModuleStatic";
|
|
25
25
|
import {
|
|
26
26
|
PressableModuleBase,
|
|
@@ -89,14 +89,15 @@ const ModuleCredential = (props: WithTestID<ModuleCredentialProps>) => {
|
|
|
89
89
|
{/* Graphical assets */}
|
|
90
90
|
{iconComponent ?? imageComponent}
|
|
91
91
|
|
|
92
|
-
<
|
|
92
|
+
<LabelSmall
|
|
93
93
|
color={theme["interactiveElem-default"]}
|
|
94
|
+
weight="Semibold"
|
|
94
95
|
numberOfLines={2}
|
|
95
96
|
lineBreakMode="middle"
|
|
96
97
|
style={{ flexShrink: 1 }}
|
|
97
98
|
>
|
|
98
99
|
{label}
|
|
99
|
-
</
|
|
100
|
+
</LabelSmall>
|
|
100
101
|
</HStack>
|
|
101
102
|
<View style={IOStyles.row}>
|
|
102
103
|
{badge ? (
|
|
@@ -59,8 +59,8 @@ export const ModuleIDP = ({
|
|
|
59
59
|
withLooseSpacing={withLooseSpacing}
|
|
60
60
|
>
|
|
61
61
|
<IOText
|
|
62
|
-
font={isExperimental ? "
|
|
63
|
-
weight={
|
|
62
|
+
font={isExperimental ? "Titillio" : "TitilliumSansPro"}
|
|
63
|
+
weight={"Semibold"}
|
|
64
64
|
size={12}
|
|
65
65
|
lineHeight={16}
|
|
66
66
|
color={theme["textBody-tertiary"]}
|
|
@@ -18,7 +18,7 @@ import { WithTestID } from "../../utils/types";
|
|
|
18
18
|
import { Badge } from "../badge";
|
|
19
19
|
import { IOIcons, Icon } from "../icons";
|
|
20
20
|
import { HStack, VStack } from "../stack";
|
|
21
|
-
import { Chip,
|
|
21
|
+
import { Chip, LabelSmall } from "../typography";
|
|
22
22
|
import { ModuleStatic } from "./ModuleStatic";
|
|
23
23
|
import {
|
|
24
24
|
PressableModuleBase,
|
|
@@ -79,14 +79,15 @@ export const ModuleNavigation = (props: WithTestID<ModuleNavigationProps>) => {
|
|
|
79
79
|
{iconComponent ?? imageComponent}
|
|
80
80
|
|
|
81
81
|
<View style={{ flexShrink: 1 }}>
|
|
82
|
-
<
|
|
82
|
+
<LabelSmall
|
|
83
83
|
color={theme["interactiveElem-default"]}
|
|
84
|
+
weight="Semibold"
|
|
84
85
|
numberOfLines={2}
|
|
85
86
|
lineBreakMode="middle"
|
|
86
87
|
style={{ flexShrink: 1 }}
|
|
87
88
|
>
|
|
88
89
|
{title}
|
|
89
|
-
</
|
|
90
|
+
</LabelSmall>
|
|
90
91
|
{subtitle && (
|
|
91
92
|
<Chip color={theme["textBody-tertiary"]}>{subtitle}</Chip>
|
|
92
93
|
)}
|
|
@@ -7,7 +7,7 @@ import { WithTestID } from "../../utils/types";
|
|
|
7
7
|
import { Badge } from "../badge";
|
|
8
8
|
import { Icon } from "../icons";
|
|
9
9
|
import { HStack, VStack } from "../stack";
|
|
10
|
-
import { H6, LabelSmall
|
|
10
|
+
import { H6, LabelSmall } from "../typography";
|
|
11
11
|
import { ModuleStatic } from "./ModuleStatic";
|
|
12
12
|
import { PressableModuleBase } from "./PressableModuleBase";
|
|
13
13
|
|
|
@@ -98,12 +98,13 @@ const ModulePaymentNoticeContent = ({
|
|
|
98
98
|
</LabelSmall>
|
|
99
99
|
)}
|
|
100
100
|
{subtitle && (
|
|
101
|
-
<
|
|
101
|
+
<LabelSmall
|
|
102
102
|
color={theme["interactiveElem-default"]}
|
|
103
103
|
numberOfLines={2}
|
|
104
|
+
weight="Semibold"
|
|
104
105
|
>
|
|
105
106
|
{subtitle}
|
|
106
|
-
</
|
|
107
|
+
</LabelSmall>
|
|
107
108
|
)}
|
|
108
109
|
</View>
|
|
109
110
|
<View style={styles.endBlock}>
|
|
@@ -169,8 +169,8 @@ export const Tag = ({
|
|
|
169
169
|
{variantProps && text && <View style={styles.spacer} />}
|
|
170
170
|
{text && (
|
|
171
171
|
<IOText
|
|
172
|
-
font={isExperimental ? "
|
|
173
|
-
weight={
|
|
172
|
+
font={isExperimental ? "Titillio" : "TitilliumSansPro"}
|
|
173
|
+
weight={"Semibold"}
|
|
174
174
|
size={12}
|
|
175
175
|
lineHeight={16}
|
|
176
176
|
color={theme["textBody-tertiary"]}
|
|
@@ -107,12 +107,7 @@ const styles = StyleSheet.create({
|
|
|
107
107
|
...(Platform.OS === "android" && { marginLeft: -4 })
|
|
108
108
|
},
|
|
109
109
|
textInputStyleFont: {
|
|
110
|
-
...makeFontStyleObject(
|
|
111
|
-
inputLabelFontSize,
|
|
112
|
-
"ReadexPro",
|
|
113
|
-
undefined,
|
|
114
|
-
"Regular"
|
|
115
|
-
)
|
|
110
|
+
...makeFontStyleObject(inputLabelFontSize, "Titillio", undefined, "Regular")
|
|
116
111
|
},
|
|
117
112
|
// TODO: Remove this when legacy look is deprecated https://pagopa.atlassian.net/browse/IOPLT-153
|
|
118
113
|
textInputStyleLegacyFont: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { ForwardedRef, forwardRef } from "react";
|
|
2
2
|
import { View } from "react-native";
|
|
3
|
-
import { useIOTheme } from "../../core";
|
|
4
|
-
import { IOFontWeight } from "../../utils/fonts";
|
|
3
|
+
import { useIOExperimentalDesign, useIOTheme } from "../../core";
|
|
4
|
+
import { IOFontFamily, IOFontWeight } from "../../utils/fonts";
|
|
5
5
|
import {
|
|
6
6
|
IOText,
|
|
7
7
|
IOTextProps,
|
|
@@ -16,6 +16,12 @@ type BodyStyleProps = TypographicStyleProps & {
|
|
|
16
16
|
export const bodyFontSize = 16;
|
|
17
17
|
export const bodyLineHeight = 24;
|
|
18
18
|
|
|
19
|
+
const fontName: IOFontFamily = "Titillio";
|
|
20
|
+
const fontWeight: IOFontWeight = "Regular";
|
|
21
|
+
|
|
22
|
+
const legacyFontName: IOFontFamily = "TitilliumSansPro";
|
|
23
|
+
const legacyFontWeight: IOFontWeight = "Regular";
|
|
24
|
+
|
|
19
25
|
/**
|
|
20
26
|
* `Body` typographic style
|
|
21
27
|
*/
|
|
@@ -25,6 +31,7 @@ export const Body = forwardRef<View, BodyStyleProps>(
|
|
|
25
31
|
ref?: ForwardedRef<View>
|
|
26
32
|
) => {
|
|
27
33
|
const theme = useIOTheme();
|
|
34
|
+
const { isExperimental } = useIOExperimentalDesign();
|
|
28
35
|
|
|
29
36
|
const defaultColor = asLink
|
|
30
37
|
? theme["interactiveElem-default"]
|
|
@@ -33,8 +40,12 @@ export const Body = forwardRef<View, BodyStyleProps>(
|
|
|
33
40
|
const BodyProps: IOTextProps = {
|
|
34
41
|
...props,
|
|
35
42
|
dynamicTypeRamp: "body", // iOS only
|
|
36
|
-
font:
|
|
37
|
-
weight: customWeight
|
|
43
|
+
font: isExperimental ? fontName : legacyFontName,
|
|
44
|
+
weight: customWeight
|
|
45
|
+
? customWeight
|
|
46
|
+
: isExperimental
|
|
47
|
+
? fontWeight
|
|
48
|
+
: legacyFontWeight,
|
|
38
49
|
size: bodyFontSize,
|
|
39
50
|
lineHeight: bodyLineHeight,
|
|
40
51
|
color: customColor ?? defaultColor,
|
|
@@ -9,8 +9,8 @@ export const buttonTextFontSize: IOFontSize = 16;
|
|
|
9
9
|
/* Needed to render `ButtonOutline` and`ButtonLink` because they use
|
|
10
10
|
`AnimatedText` for color transition through Reanimated */
|
|
11
11
|
const defaultColor: IOColors = "white";
|
|
12
|
-
const fontName: IOFontFamily = "
|
|
13
|
-
const fontWeight: IOFontWeight = "
|
|
12
|
+
const fontName: IOFontFamily = "Titillio";
|
|
13
|
+
const fontWeight: IOFontWeight = "Semibold";
|
|
14
14
|
|
|
15
15
|
// TODO: Remove this when legacy look is deprecated https://pagopa.atlassian.net/browse/IOPLT-153
|
|
16
16
|
const legacyFontName: IOFontFamily = "TitilliumSansPro";
|
|
@@ -7,7 +7,7 @@ import { IOText, IOTextProps, TypographicStyleProps } from "./IOText";
|
|
|
7
7
|
const defaultColor: keyof IOTheme = "textBody-default";
|
|
8
8
|
|
|
9
9
|
export const captionFontSize: IOFontSize = 12;
|
|
10
|
-
const fontName: IOFontFamily = "
|
|
10
|
+
const fontName: IOFontFamily = "Titillio";
|
|
11
11
|
const fontWeight: IOFontWeight = "Regular";
|
|
12
12
|
|
|
13
13
|
// TODO: Remove this when legacy look is deprecated https://pagopa.atlassian.net/browse/IOPLT-153
|
|
@@ -4,7 +4,7 @@ import { useIOExperimentalDesign, useIOTheme } from "../../core";
|
|
|
4
4
|
import { IOFontFamily } from "../../utils/fonts";
|
|
5
5
|
import { IOText, IOTextProps, TypographicStyleProps } from "./IOText";
|
|
6
6
|
|
|
7
|
-
const fontName: IOFontFamily = "
|
|
7
|
+
const fontName: IOFontFamily = "Titillio";
|
|
8
8
|
// TODO: Remove this when legacy look is deprecated https://pagopa.atlassian.net/browse/IOPLT-153
|
|
9
9
|
const legacyFontName: IOFontFamily = "TitilliumSansPro";
|
|
10
10
|
/**
|
|
@@ -8,12 +8,10 @@ const defaultColor: keyof IOTheme = "textHeading-default";
|
|
|
8
8
|
|
|
9
9
|
export const h1FontSize: IOFontSize = 28;
|
|
10
10
|
export const h1LineHeight = 42;
|
|
11
|
-
const fontName: IOFontFamily = "
|
|
12
|
-
const fontWeight: IOFontWeight = "
|
|
11
|
+
const fontName: IOFontFamily = "Titillio";
|
|
12
|
+
const fontWeight: IOFontWeight = "Semibold";
|
|
13
13
|
|
|
14
14
|
// TODO: Remove this when legacy look is deprecated https://pagopa.atlassian.net/browse/IOPLT-153
|
|
15
|
-
const legacyH1FontSize: IOFontSize = 31;
|
|
16
|
-
const legacyH1LineHeight = 43;
|
|
17
15
|
const legacyFontName: IOFontFamily = "TitilliumSansPro";
|
|
18
16
|
const legacyFontWeight: IOFontWeight = "Semibold";
|
|
19
17
|
|
|
@@ -30,8 +28,8 @@ export const H1 = forwardRef<View, TypographicStyleProps>(
|
|
|
30
28
|
dynamicTypeRamp: "largeTitle", // iOS only
|
|
31
29
|
font: isExperimental ? fontName : legacyFontName,
|
|
32
30
|
weight: isExperimental ? fontWeight : legacyFontWeight,
|
|
33
|
-
size:
|
|
34
|
-
lineHeight:
|
|
31
|
+
size: h1FontSize,
|
|
32
|
+
lineHeight: h1LineHeight,
|
|
35
33
|
color: customColor ?? theme[defaultColor]
|
|
36
34
|
};
|
|
37
35
|
|
|
@@ -8,8 +8,8 @@ const defaultColor: keyof IOTheme = "textHeading-default";
|
|
|
8
8
|
|
|
9
9
|
export const h2FontSize: IOFontSize = 26;
|
|
10
10
|
export const h2LineHeight = 39;
|
|
11
|
-
const fontName: IOFontFamily = "
|
|
12
|
-
const fontWeight: IOFontWeight = "
|
|
11
|
+
const fontName: IOFontFamily = "Titillio";
|
|
12
|
+
const fontWeight: IOFontWeight = "Semibold";
|
|
13
13
|
|
|
14
14
|
// TODO: Remove this when legacy look is deprecated https://pagopa.atlassian.net/browse/IOPLT-153
|
|
15
15
|
const legacyH2FontSize: IOFontSize = 28;
|
|
@@ -9,8 +9,8 @@ const defaultColor: keyof IOTheme = "textHeading-default";
|
|
|
9
9
|
/* Common typographic styles */
|
|
10
10
|
export const h3FontSize: IOFontSize = 22;
|
|
11
11
|
export const h3LineHeight = 33;
|
|
12
|
-
const fontName: IOFontFamily = "
|
|
13
|
-
const fontWeight: IOFontWeight = "
|
|
12
|
+
const fontName: IOFontFamily = "Titillio";
|
|
13
|
+
const fontWeight: IOFontWeight = "Semibold";
|
|
14
14
|
|
|
15
15
|
// TODO: Remove this when legacy look is deprecated https://pagopa.atlassian.net/browse/IOPLT-153
|
|
16
16
|
const legacyFontName: IOFontFamily = "TitilliumSansPro";
|
|
@@ -8,8 +8,8 @@ const defaultColor: keyof IOTheme = "textHeading-default";
|
|
|
8
8
|
|
|
9
9
|
export const h4FontSize: IOFontSize = 20;
|
|
10
10
|
export const h4LineHeight = 24;
|
|
11
|
-
const fontName: IOFontFamily = "
|
|
12
|
-
const fontWeight: IOFontWeight = "
|
|
11
|
+
const fontName: IOFontFamily = "Titillio";
|
|
12
|
+
const fontWeight: IOFontWeight = "Semibold";
|
|
13
13
|
|
|
14
14
|
// TODO: Remove this when legacy look is deprecated https://pagopa.atlassian.net/browse/IOPLT-153
|
|
15
15
|
const legacyFontName: IOFontFamily = "TitilliumSansPro";
|