From 406d7f033945e91da1de53ff60c4f63e157b1933 Mon Sep 17 00:00:00 2001 From: alaczek Date: Thu, 14 Nov 2024 14:42:21 +1100 Subject: [PATCH] Update 01-figtree.json Move font families definition to the corresponding style variation. See #8079 --- assembler/styles/typography/01-figtree.json | 25 +++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/assembler/styles/typography/01-figtree.json b/assembler/styles/typography/01-figtree.json index 8a0a44293a..198e2c3dbf 100644 --- a/assembler/styles/typography/01-figtree.json +++ b/assembler/styles/typography/01-figtree.json @@ -16,6 +16,31 @@ ], "settings": { "typography": { + "fontFamilies": [ + { + "fontFace": [ + { + "fontFamily": "Figtree", + "fontStyle": "normal", + "fontWeight": "400 700", + "src": [ + "file:./assets/fonts/figtree/Figtree-VariableFont_wght.ttf" + ] + }, + { + "fontFamily": "Figtree", + "fontStyle": "italic", + "fontWeight": "400 700", + "src": [ + "file:./assets/fonts/figtree/Figtree-Italic-VariableFont_wght.ttf" + ] + } + ], + "fontFamily": "\"Figtree\", sans-serif", + "name": "Figtree", + "slug": "figtree" + } + ], "fontSizes": [ { "name": "Small",