From d4dd58b25c0d7a393cfdca88f7e7d7384b79729c Mon Sep 17 00:00:00 2001 From: alaczek Date: Thu, 14 Nov 2024 14:42:51 +1100 Subject: [PATCH] Update 06-messapia-dm-sans.json Move font families definition to the corresponding style variation. See #8079 --- .../typography/06-messapia-dm-sans.json | 55 +++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/assembler/styles/typography/06-messapia-dm-sans.json b/assembler/styles/typography/06-messapia-dm-sans.json index a8ca738ad1..27fb955690 100644 --- a/assembler/styles/typography/06-messapia-dm-sans.json +++ b/assembler/styles/typography/06-messapia-dm-sans.json @@ -17,6 +17,61 @@ ], "settings": { "typography": { + "fontFamilies": [ + { + "fontFace": [ + { + "fontFamily": "Messapia Bold", + "fontStyle": "normal", + "fontWeight": "400", + "src": [ + "file:./assets/fonts/messapia/Messapia-Bold.woff2" + ] + } + ], + "fontFamily": "\"Messapia Bold\", sans-serif", + "name": "Messapia Bold", + "slug": "messapia-bold" + }, + { + "fontFace": [ + { + "fontFamily": "Messapia", + "fontStyle": "normal", + "fontWeight": "400", + "src": [ + "file:./assets/fonts/messapia/Messapia.woff2" + ] + } + ], + "fontFamily": "\"Messapia\", serif", + "name": "Messapia", + "slug": "messapia" + }, + { + "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",