diff --git a/src/build/__snapshots__/snapthots.test.ts.snap b/src/build/__snapshots__/snapthots.test.ts.snap index 33710e5d..45e032bf 100644 --- a/src/build/__snapshots__/snapthots.test.ts.snap +++ b/src/build/__snapshots__/snapthots.test.ts.snap @@ -21695,7 +21695,7 @@ Object { }, "fontWeight": Object { "name": "--vkui--font_caption2--font_weight--regular", - "value": "var(--vkui--font_caption2--font_weight--regular, 700)", + "value": "var(--vkui--font_caption2--font_weight--regular, 400)", }, "lineHeight": Object { "name": "--vkui--font_caption2--line_height--regular", @@ -21887,7 +21887,7 @@ Object { }, "fontWeight": Object { "name": "--vkui--font_footnote--font_weight--regular", - "value": "var(--vkui--font_footnote--font_weight--regular, 700)", + "value": "var(--vkui--font_footnote--font_weight--regular, 400)", }, "lineHeight": Object { "name": "--vkui--font_footnote--line_height--regular", @@ -22385,7 +22385,7 @@ Object { }, "fontWeight": Object { "name": "--vkui--font_text--font_weight--regular", - "value": "var(--vkui--font_text--font_weight--regular, 700)", + "value": "var(--vkui--font_text--font_weight--regular, 400)", }, "lineHeight": Object { "name": "--vkui--font_text--line_height--regular", @@ -24204,7 +24204,7 @@ Object { "regular": Object { "fontFamily": "Inter, Helvetica, Arial, sans-serif", "fontSize": "11px", - "fontWeight": 700, + "fontWeight": 400, "lineHeight": "14px", }, }, @@ -24242,7 +24242,7 @@ Object { "regular": Object { "fontFamily": "Inter, Helvetica, Arial, sans-serif", "fontSize": "13px", - "fontWeight": 700, + "fontWeight": 400, "lineHeight": "18px", }, }, @@ -24360,7 +24360,7 @@ Object { "regular": Object { "fontFamily": "Inter, Helvetica, Arial, sans-serif", "fontSize": "15px", - "fontWeight": 700, + "fontWeight": 400, "lineHeight": "20px", }, }, @@ -25212,7 +25212,7 @@ Object { "regular": Object { "fontFamily": "var(--vkui--font_caption2--font_family--regular, Inter, Helvetica, Arial, sans-serif)", "fontSize": "var(--vkui--font_caption2--font_size--regular, 11px)", - "fontWeight": "var(--vkui--font_caption2--font_weight--regular, 700)", + "fontWeight": "var(--vkui--font_caption2--font_weight--regular, 400)", "lineHeight": "var(--vkui--font_caption2--line_height--regular, 14px)", }, }, @@ -25250,7 +25250,7 @@ Object { "regular": Object { "fontFamily": "var(--vkui--font_footnote--font_family--regular, Inter, Helvetica, Arial, sans-serif)", "fontSize": "var(--vkui--font_footnote--font_size--regular, 13px)", - "fontWeight": "var(--vkui--font_footnote--font_weight--regular, 700)", + "fontWeight": "var(--vkui--font_footnote--font_weight--regular, 400)", "lineHeight": "var(--vkui--font_footnote--line_height--regular, 18px)", }, }, @@ -25368,7 +25368,7 @@ Object { "regular": Object { "fontFamily": "var(--vkui--font_text--font_family--regular, Inter, Helvetica, Arial, sans-serif)", "fontSize": "var(--vkui--font_text--font_size--regular, 15px)", - "fontWeight": "var(--vkui--font_text--font_weight--regular, 700)", + "fontWeight": "var(--vkui--font_text--font_weight--regular, 400)", "lineHeight": "var(--vkui--font_text--line_height--regular, 20px)", }, }, @@ -26220,7 +26220,7 @@ Object { "regular": Object { "fontFamily": "Inter, Helvetica, Arial, sans-serif", "fontSize": 11, - "fontWeight": 700, + "fontWeight": 400, "lineHeight": "14px", }, }, @@ -26258,7 +26258,7 @@ Object { "regular": Object { "fontFamily": "Inter, Helvetica, Arial, sans-serif", "fontSize": 13, - "fontWeight": 700, + "fontWeight": 400, "lineHeight": "18px", }, }, @@ -26376,7 +26376,7 @@ Object { "regular": Object { "fontFamily": "Inter, Helvetica, Arial, sans-serif", "fontSize": 15, - "fontWeight": 700, + "fontWeight": 400, "lineHeight": "20px", }, }, diff --git a/src/themeDescriptions/themes/cloud/index.ts b/src/themeDescriptions/themes/cloud/index.ts index 77e153d3..77b1c63e 100644 --- a/src/themeDescriptions/themes/cloud/index.ts +++ b/src/themeDescriptions/themes/cloud/index.ts @@ -19,7 +19,7 @@ const fontFamilyBase: Property.FontFamily = 'Inter, Helvetica, Arial, sans-serif'; const { fontFamilyAccent, - fontWeightBase1, + fontWeightBase3, fontWeightAccent1, fontWeightAccent2, } = lightTheme; @@ -31,63 +31,63 @@ const fontAccentBoldAtributes: FontAccentAtributes = { const fontSize1: Font = { fontSize: 11, lineHeight: '14px', - fontWeight: staticRef(fontWeightBase1), + fontWeight: staticRef(fontWeightBase3), fontFamily: fontFamilyBase, }; const fontSize2: Font = { fontSize: 13, lineHeight: '18px', - fontWeight: staticRef(fontWeightBase1), + fontWeight: staticRef(fontWeightBase3), fontFamily: fontFamilyBase, }; const fontSize3: Font = { fontSize: 15, lineHeight: '20px', - fontWeight: staticRef(fontWeightBase1), + fontWeight: staticRef(fontWeightBase3), fontFamily: fontFamilyBase, }; const fontSize4: Font = { fontSize: 17, lineHeight: '24px', - fontWeight: staticRef(fontWeightBase1), + fontWeight: staticRef(fontWeightBase3), fontFamily: fontFamilyBase, }; const fontSize5: Font = { fontSize: 20, lineHeight: '26px', - fontWeight: staticRef(fontWeightBase1), + fontWeight: staticRef(fontWeightBase3), fontFamily: fontFamilyBase, }; const fontSize6: Font = { fontSize: 24, lineHeight: '28px', - fontWeight: staticRef(fontWeightBase1), + fontWeight: staticRef(fontWeightBase3), fontFamily: fontFamilyBase, }; const fontSize7: Font = { fontSize: 28, lineHeight: '32px', - fontWeight: staticRef(fontWeightBase1), + fontWeight: staticRef(fontWeightBase3), fontFamily: fontFamilyBase, }; const fontSize8: Font = { fontSize: 32, lineHeight: '36px', - fontWeight: staticRef(fontWeightBase1), + fontWeight: staticRef(fontWeightBase3), fontFamily: fontFamilyBase, }; const fontSize9: Font = { fontSize: 40, lineHeight: '48px', - fontWeight: staticRef(fontWeightBase1), + fontWeight: staticRef(fontWeightBase3), fontFamily: fontFamilyBase, };