From c6c44eb162be1cb33f3106b4bfafbe33aa063c51 Mon Sep 17 00:00:00 2001 From: alaczek Date: Thu, 14 Nov 2024 14:43:26 +1100 Subject: [PATCH] Update 13-rufina.json Move font families definition to the corresponding style variation. See #8079 --- assembler/styles/typography/13-rufina.json | 89 ++++++++++++++++++++++ 1 file changed, 89 insertions(+) diff --git a/assembler/styles/typography/13-rufina.json b/assembler/styles/typography/13-rufina.json index c1416a95ab..b52ba414f0 100644 --- a/assembler/styles/typography/13-rufina.json +++ b/assembler/styles/typography/13-rufina.json @@ -15,6 +15,95 @@ ], "settings": { "typography": { + "fontFamilies": [ + { + "fontFace": [ + { + "fontFamily": "Rufina", + "fontStyle": "normal", + "fontWeight": "100 400", + "src": [ + "file:./assets/fonts/rufina/Rufina-Regular.ttf" + ] + }, + { + "fontFamily": "Rufina", + "fontStyle": "normal", + "fontWeight": "700", + "src": [ + "file:./assets/fonts/rufina/Rufina-Bold.ttf" + ] + } + ], + "fontFamily": "\"Rufina\", serif", + "name": "Rufina", + "slug": "rufina" + }, + { + "fontFace": [ + { + "fontFamily": "PT Serif", + "fontStyle": "normal", + "fontWeight": "400", + "src": [ + "file:./assets/fonts/pt-serif/PTSerif-Regular.ttf" + ] + }, + { + "fontFamily": "PT Serif", + "fontStyle": "italic", + "fontWeight": "400", + "src": [ + "file:./assets/fonts/pt-serif/PTSerif-Italic.ttf" + ] + }, + { + "fontFamily": "PT Serif", + "fontStyle": "bold", + "fontWeight": "600", + "src": [ + "file:./assets/fonts/pt-serif/PTSerif-Bold.ttf" + ] + }, + { + "fontFamily": "PT Serif", + "fontStyle": "italic", + "fontWeight": "600", + "src": [ + "file:./assets/fonts/pt-serif/PTSerif-BoldItalic.ttf" + ] + } + ], + "fontFamily": "\"PT Serif\", serif", + "name": "PT Serif", + "slug": "pt-serif" + }, + { + "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",