From 720f705874f7640e26d8c431e2e7172e1eb3ecd2 Mon Sep 17 00:00:00 2001 From: alaczek Date: Thu, 14 Nov 2024 14:42:34 +1100 Subject: [PATCH] Update 03-fjalla.json Move font families definition to the corresponding style variation. See #8079 --- assembler/styles/typography/03-fjalla.json | 72 ++++++++++++++++++++++ 1 file changed, 72 insertions(+) diff --git a/assembler/styles/typography/03-fjalla.json b/assembler/styles/typography/03-fjalla.json index 5f84821085..4cfffc5b3f 100644 --- a/assembler/styles/typography/03-fjalla.json +++ b/assembler/styles/typography/03-fjalla.json @@ -16,6 +16,78 @@ ], "settings": { "typography": { + "fontFamilies": [ + { + "fontFace": [ + { + "fontFamily": "Roboto", + "fontStyle": "normal", + "fontWeight": "300", + "src": [ + "file:./assets/fonts/roboto/Roboto-Light.ttf" + ] + }, + { + "fontFamily": "Roboto", + "fontStyle": "italic", + "fontWeight": "300", + "src": [ + "file:./assets/fonts/roboto/Roboto-LightItalic.ttf" + ] + }, + { + "fontFamily": "Roboto", + "fontStyle": "normal", + "fontWeight": "400", + "src": [ + "file:./assets/fonts/roboto/Roboto-Regular.ttf" + ] + }, + { + "fontFamily": "Roboto", + "fontStyle": "italic", + "fontWeight": "400", + "src": [ + "file:./assets/fonts/roboto/Roboto-Regular.ttf" + ] + }, + { + "fontFamily": "Roboto", + "fontStyle": "normal", + "fontWeight": "600", + "src": [ + "file:./assets/fonts/roboto/Roboto-Bold.ttf" + ] + }, + { + "fontFamily": "Roboto", + "fontStyle": "italic", + "fontWeight": "600", + "src": [ + "file:./assets/fonts/roboto/Roboto-BoldItalic.ttf" + ] + } + ], + "fontFamily": "\"Roboto\", sans-serif", + "name": "Roboto", + "slug": "roboto" + }, + { + "fontFace": [ + { + "fontFamily": "Fjalla One", + "fontStyle": "normal", + "fontWeight": "400", + "src": [ + "file:./assets/fonts/fjalla-one/FjallaOne-Regular.ttf" + ] + } + ], + "fontFamily": "\"Fjalla One\", sans-serif", + "name": "Fjalla One", + "slug": "fjalla-one" + } + ], "fontSizes": [ { "name": "Small",