diff --git a/packages/eva/mapping.json b/packages/eva/mapping.json index 0ee0130..f3999e9 100644 --- a/packages/eva/mapping.json +++ b/packages/eva/mapping.json @@ -40,7 +40,8 @@ "text-caption-2-font-weight": "600", "text-label-font-size": 12, "text-label-line-height": 16, - "text-label-font-weight": "800" + "text-label-font-weight": "800", + "text-font-family": "System" }, "components": { "Avatar": { @@ -164,6 +165,9 @@ "textColor": { "type": "string" }, + "textFontFamily": { + "type": "string" + }, "textFontSize": { "type": "number" }, @@ -196,6 +200,7 @@ "iconMarginVertical": 2, "iconTintColor": "color-basic-500", "textMarginVertical": 2, + "textFontFamily": "text-font-family", "textFontSize": "text-caption-2-font-size", "textLineHeight": "text-caption-2-line-height", "textFontWeight": "text-caption-2-font-weight", @@ -296,6 +301,9 @@ "textMarginHorizontal": { "type": "number" }, + "textFontFamily": { + "type": "string" + }, "textFontSize": { "type": "number" }, @@ -392,6 +400,7 @@ "textColor": "text-control-color", "iconTintColor": "text-control-color", "iconMarginHorizontal": 4, + "textFontFamily": "text-font-family", "state": { "disabled": { "borderColor": "border-basic-color-3", @@ -910,6 +919,9 @@ "textColor": { "type": "string" }, + "textFontFamily": { + "type": "string" + }, "textFontSize": { "type": "number" }, @@ -1008,6 +1020,7 @@ "iconHeight": 12, "outlineWidth": 40, "outlineHeight": 40, + "textFontFamily": "text-font-family", "textFontSize": "text-subtitle-2-font-size", "textLineHeight": "text-subtitle-2-line-height", "textFontWeight": "text-subtitle-2-font-weight", @@ -1210,6 +1223,9 @@ "textMarginHorizontal": { "type": "number" }, + "textFontFamily": { + "type": "string" + }, "textFontSize": { "type": "number" }, @@ -1240,6 +1256,9 @@ "labelColor": { "type": "string" }, + "labelFontFamily": { + "type": "string" + }, "labelFontSize": { "type": "number" }, @@ -1258,6 +1277,9 @@ "captionColor": { "type": "string" }, + "captionFontFamily": { + "type": "string" + }, "captionFontSize": { "type": "number" }, @@ -1337,6 +1359,7 @@ "borderColor": "border-basic-color-3", "backgroundColor": "background-basic-color-2", "textMarginHorizontal": 8, + "textFontFamily": "text-font-family", "textColor": "text-hint-color", "placeholderColor": "text-hint-color", "iconWidth": 24, @@ -1344,9 +1367,11 @@ "iconMarginHorizontal": 8, "iconTintColor": "icon-hint-color", "labelColor": "text-hint-color", + "labelFontFamily": "text-font-family", "labelMarginBottom": 4, "captionMarginTop": 4, "captionColor": "text-hint-color", + "captionFontFamily": "text-font-family", "captionFontSize": "text-caption-1-font-size", "captionLineHeight": "text-caption-1-line-height", "captionFontWeight": "text-caption-1-font-weight", @@ -1573,6 +1598,9 @@ "titleMarginHorizontal": { "type": "number" }, + "titleFontFamily": { + "type": "string" + }, "titleFontSize": { "type": "number" }, @@ -1588,6 +1616,9 @@ "descriptionColor": { "type": "string" }, + "descriptionFontFamily": { + "type": "string" + }, "descriptionFontSize": { "type": "number" }, @@ -1629,11 +1660,13 @@ "iconMarginHorizontal": 8, "iconTintColor": "text-hint-color", "titleMarginHorizontal": 8, + "titleFontFamily": "text-font-family", "titleFontSize": "text-subtitle-2-font-size", "titleFontWeight": "text-subtitle-2-font-weight", "titleLineHeight": "text-subtitle-2-line-height", "titleColor": "text-basic-color", "descriptionMarginHorizontal": 8, + "descriptionFontFamily": "text-font-family", "descriptionFontSize": "text-caption-1-font-size", "descriptionFontWeight": "text-caption-1-font-weight", "descriptionLineHeight": "text-caption-1-line-height", @@ -1730,6 +1763,9 @@ "titleMarginHorizontal": { "type": "number" }, + "titleFontFamily": { + "type": "string" + }, "titleFontSize": { "type": "number" }, @@ -1778,6 +1814,7 @@ "iconMarginHorizontal": 8, "iconTintColor": "text-hint-color", "titleMarginHorizontal": 8, + "titleFontFamily": "text-font-family", "titleFontSize": "text-subtitle-2-font-size", "titleFontWeight": "text-subtitle-2-font-weight", "titleLineHeight": "text-subtitle-2-line-height", @@ -1925,6 +1962,9 @@ "placeholderMarginHorizontal": { "type": "number" }, + "placeholderFontFamily": { + "type": "string" + }, "placeholderFontSize": { "type": "number" }, @@ -1940,6 +1980,9 @@ "textMarginHorizontal": { "type": "number" }, + "textFontFamily": { + "type": "string" + }, "textFontSize": { "type": "number" }, @@ -1979,6 +2022,9 @@ "labelColor": { "type": "string" }, + "labelFontFamily": { + "type": "string" + }, "labelFontSize": { "type": "number" }, @@ -2061,12 +2107,14 @@ "textColor": "border-alternative-color-1", "textFontWeight": "text-subtitle-1-font-weight", "textFontSize": "text-subtitle-1-font-size", + "textFontFamily": "text-font-family", "textLineHeight": "text-subtitle-1-line-height", "iconWidth": 24, "iconHeight": 24, "iconMarginHorizontal": 8, "iconTintColor": "text-hint-color", "labelColor": "text-hint-color", + "labelFontFamily": "text-font-family", "labelMarginBottom": 4, "outlineBackgroundColor": "transparent", "outlinePadding": 4, @@ -2177,6 +2225,9 @@ "textMarginHorizontal": { "type": "number" }, + "textFontFamily": { + "type": "string" + }, "textFontSize": { "type": "number" }, @@ -2223,6 +2274,7 @@ "backgroundColor": "background-basic-color-1", "multiSelectBackgroundColor": "background-basic-color-1", "multiSelectTextColor": "background-alternative-color-1", + "textFontFamily": "text-font-family", "textFontSize": "text-subtitle-1-font-size", "textFontWeight": "text-subtitle-1-font-weight", "textLineHeight": "text-subtitle-2-line-height", @@ -2269,6 +2321,9 @@ "textColor": { "type": "string" }, + "textFontFamily": { + "type": "string" + }, "textMarginHorizontal": { "type": "number" }, @@ -2367,6 +2422,7 @@ "iconBorderRadius": 8, "outlineBorderRadius": 20, "textMarginHorizontal": 12, + "textFontFamily": "text-font-family", "textFontSize": "text-subtitle-2-font-size", "textLineHeight": "text-subtitle-2-line-height", "textFontWeight": "text-subtitle-2-font-weight", @@ -2632,6 +2688,9 @@ "meta": { "scope": "all", "parameters": { + "textFontFamily": { + "type": "string" + }, "textFontSize": { "type": "number" }, @@ -2678,6 +2737,7 @@ "default": { "mapping": { "textMarginVertical": 2, + "textFontFamily": "text-font-family", "textFontSize": 14, "textLineHeight": 16, "textFontWeight": "bold", @@ -2740,6 +2800,9 @@ "meta": { "scope": "all", "parameters": { + "fontFamily": { + "type": "string" + }, "fontSize": { "type": "number" }, @@ -2829,6 +2892,7 @@ "appearances": { "default": { "mapping": { + "fontFamily": "text-font-family", "color": "text-basic-color" }, "variantGroups": { @@ -2970,6 +3034,9 @@ "textMarginHorizontal": { "type": "number" }, + "textFontFamily": { + "type": "string" + }, "textFontSize": { "type": "number" }, @@ -3070,6 +3137,7 @@ "backgroundColor": "background-basic-color-2", "thumbBackgroundColor": "background-basic-color-1", "textMarginHorizontal": 12, + "textFontFamily": "text-font-family", "textFontSize": "text-subtitle-2-font-size", "textLineHeight": "text-subtitle-2-line-height", "textFontWeight": "text-subtitle-2-font-weight", @@ -3267,6 +3335,9 @@ "textMarginHorizontal": { "type": "number" }, + "textFontFamily": { + "type": "string" + }, "textFontSize": { "type": "number" }, @@ -3301,6 +3372,7 @@ "iconMarginHorizontal": 4, "iconTintColor": "text-alternate-color", "textMarginHorizontal": 4, + "textFontFamily": "text-font-family", "textFontSize": "text-caption-2-font-size", "textLineHeight": "text-caption-2-line-height", "textFontWeight": "text-caption-2-font-weight", @@ -3328,6 +3400,9 @@ "titleTextAlign": { "type": "string" }, + "titleFontFamily": { + "type": "string" + }, "titleFontSize": { "type": "number" }, @@ -3343,6 +3418,9 @@ "subtitleTextAlign": { "type": "string" }, + "subtitleFontFamily": { + "type": "string" + }, "subtitleFontSize": { "type": "number" }, @@ -3383,10 +3461,12 @@ "paddingVertical": 8, "paddingHorizontal": 8, "backgroundColor": "background-basic-color-1", + "titleFontFamily": "text-font-family", "titleFontSize": "text-subtitle-1-font-size", "titleLineHeight": "text-subtitle-1-line-height", "titleFontWeight": "text-subtitle-1-font-weight", "titleColor": "text-basic-color", + "subtitleFontFamily": "text-font-family", "subtitleFontSize": "text-caption-1-font-size", "subtitleLineHeight": "text-caption-1-line-height", "subtitleFontWeight": "text-caption-1-font-weight",