From 699f61d5f1804c10fc6f6b54fd0cc1619eae680f Mon Sep 17 00:00:00 2001 From: alaczek Date: Thu, 14 Nov 2024 14:42:57 +1100 Subject: [PATCH] Update 07-fraunces.json Move font families definition to the corresponding style variation. See #8079 --- assembler/styles/typography/07-fraunces.json | 50 ++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/assembler/styles/typography/07-fraunces.json b/assembler/styles/typography/07-fraunces.json index 2936659313..34c943d6a2 100644 --- a/assembler/styles/typography/07-fraunces.json +++ b/assembler/styles/typography/07-fraunces.json @@ -20,6 +20,56 @@ ], "settings": { "typography": { + "fontFamilies": [ + { + "fontFace": [ + { + "fontFamily": "Fraunces", + "fontStyle": "normal", + "fontWeight": "100 800", + "src": [ + "file:./assets/fonts/fraunces/Fraunces-VariableFont.ttf" + ] + }, + { + "fontFamily": "Fraunces", + "fontStyle": "italic", + "fontWeight": "100 800", + "src": [ + "file:./assets/fonts/fraunces/Fraunces-Italic-VariableFont.ttf" + ] + } + ], + "fontFamily": "\"Fraunces\", serif", + "name": "Fraunces", + "slug": "fraunces" + }, + { + "fontFace": [ + { + "fontFamily": "Inter", + "fontStretch": "normal", + "fontStyle": "normal", + "fontWeight": "100 800", + "src": [ + "file:./assets/fonts/inter/InterVariable.ttf" + ] + }, + { + "fontFamily": "Inter", + "fontStretch": "normal", + "fontStyle": "italic", + "fontWeight": "100 800", + "src": [ + "file:./assets/fonts/inter/InterVariable-Italic.ttf" + ] + } + ], + "fontFamily": "\"Inter\", sans-serif", + "name": "Inter", + "slug": "inter" + } + ], "fontSizes": [ { "name": "Small",