From 0ff85fe1482fd6a8f93f15048e684e6748b803ae Mon Sep 17 00:00:00 2001 From: alaczek Date: Thu, 14 Nov 2024 14:42:46 +1100 Subject: [PATCH] Update 05-fahkwang.json Move font families definition to the corresponding style variation. See #8079 --- assembler/styles/typography/05-fahkwang.json | 64 ++++++++++++++++++++ 1 file changed, 64 insertions(+) diff --git a/assembler/styles/typography/05-fahkwang.json b/assembler/styles/typography/05-fahkwang.json index 3d8e87a0a0..dd5a6191bb 100644 --- a/assembler/styles/typography/05-fahkwang.json +++ b/assembler/styles/typography/05-fahkwang.json @@ -19,6 +19,70 @@ ], "settings": { "typography": { + "fontFamilies": [ + { + "fontFace": [ + { + "fontFamily": "Fahkwang", + "fontStyle": "normal", + "fontWeight": "400", + "src": [ + "file:./assets/fonts/fahkwang/Fahkwang-Regular.ttf" + ] + }, + { + "fontFamily": "Fahkwang", + "fontStyle": "italic", + "fontWeight": "400", + "src": [ + "file:./assets/fonts/fahkwang/Fahkwang-Italic.ttf" + ] + }, + { + "fontFamily": "Fahkwang", + "fontStyle": "normal", + "fontWeight": "600", + "src": [ + "file:./assets/fonts/fahkwang/Fahkwang-Bold.ttf" + ] + }, + { + "fontFamily": "Fahkwang", + "fontStyle": "italic", + "fontWeight": "600", + "src": [ + "file:./assets/fonts/fahkwang/Fahkwang-BoldItalic.ttf" + ] + } + ], + "fontFamily": "\"Fahkwang\", sans-serif", + "name": "Fahkwang", + "slug": "fahkwang" + }, + { + "fontFace": [ + { + "fontFamily": "DM Sans", + "fontStyle": "normal", + "fontWeight": "300 700", + "src": [ + "file:./assets/fonts/dm-sans/DMSans-VariableFont_opsz,wght.ttf" + ] + }, + { + "fontFamily": "DM Sans", + "fontStyle": "italic", + "fontWeight": "300 700", + "src": [ + "file:./assets/fonts/dm-sans/DMSans-Italic-VariableFont_opsz,wght.ttf" + ] + } + ], + "fontFamily": "\"DM Sans\", sans-serif", + "name": "DM Sans", + "slug": "dm-sans" + } + ], "fontSizes": [ { "name": "Small",