From f5912eb9e68131cf5835815361b3a008e93490f4 Mon Sep 17 00:00:00 2001 From: Aadil Ayub Date: Thu, 25 Apr 2024 13:44:15 +0500 Subject: [PATCH] remove extraneous fonts --- theme.json | 257 +++++++++++++++++++++-------------------------------- 1 file changed, 100 insertions(+), 157 deletions(-) diff --git a/theme.json b/theme.json index 9e370dc..831e8c0 100644 --- a/theme.json +++ b/theme.json @@ -1,166 +1,109 @@ { - "settings": { - "layout": { - "contentSize": "1300px", - "wideSize": "1400px" - }, - "typography": { - "fontFamilies": [ - { - "fontFace": [ - { - "fontFamily": "Inter", - "fontStretch": "normal", - "fontStyle": "normal", - "fontWeight": "300 900", - "src": [ - "file:./assets/fonts/inter/Inter-VariableFont_slnt,wght.woff2" - ] - } - ], - "fontFamily": "\"Inter\", sans-serif", - "name": "Inter", - "slug": "body" - }, - { - "fontFace": [ - { - "fontFamily": "Cardo", - "fontStyle": "normal", - "fontWeight": "400", - "src": [ - "file:./assets/fonts/cardo/cardo_normal_400.woff2" - ] - }, - { - "fontFamily": "Cardo", - "fontStyle": "italic", - "fontWeight": "400", - "src": [ - "file:./assets/fonts/cardo/cardo_italic_400.woff2" - ] - }, - { - "fontFamily": "Cardo", - "fontStyle": "normal", - "fontWeight": "700", - "src": [ - "file:./assets/fonts/cardo/cardo_normal_700.woff2" - ] - } - ], - "fontFamily": "Cardo", - "name": "Cardo", - "slug": "heading" - }, - { - "fontFamily": "-apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif", - "name": "System Sans-serif", - "slug": "system-sans-serif" - }, - { - "fontFamily": "Iowan Old Style, Apple Garamond, Baskerville, Times New Roman, Droid Serif, Times, Source Serif Pro, serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol", - "name": "System Serif", - "slug": "system-Serif" - }, - { - "name": "Lato", - "slug": "lato", - "fontFamily": "Lato", - "fontFace": [ - { - "fontFamily": "Lato", - "fontStyle": "normal", - "fontWeight": "900", - "src": "file:./assets/fonts/Lato-Black.ttf" - }, - { - "fontFamily": "Lato", - "fontStyle": "italic", - "fontWeight": "900", - "src": "file:./assets/fonts/Lato-BlackItalic.ttf" - }, - { - "fontFamily": "Lato", - "fontStyle": "normal", - "fontWeight": "700", - "src": "file:./assets/fonts/Lato-Bold.ttf" - }, - { - "fontFamily": "Lato", - "fontStyle": "italic", - "fontWeight": "700", - "src": "file:./assets/fonts/Lato-BoldItalic.ttf" - }, - { - "fontFamily": "Lato", - "fontStyle": "italic", - "fontWeight": "400", - "src": "file:./assets/fonts/Lato-Italic.ttf" - }, - { - "fontFamily": "Lato", - "fontStyle": "italic", - "fontWeight": "300", - "src": "file:./assets/fonts/Lato-LightItalic.ttf" - }, - { - "fontFamily": "Lato", - "fontStyle": "italic", - "fontWeight": "250", - "src": "file:./assets/fonts/Lato-ThinItalic.ttf" - }, - { - "fontFamily": "Lato", - "fontStyle": "normal", - "fontWeight": "300", - "src": "file:./assets/fonts/Lato-Light.ttf" - }, - { - "fontFamily": "Lato", - "fontStyle": "normal", - "fontWeight": "400", - "src": "file:./assets/fonts/Lato-Regular.ttf" - }, - { - "fontFamily": "Lato", - "fontStyle": "normal", - "fontWeight": "250", - "src": "file:./assets/fonts/Lato-Thin.ttf" - } - ] - } - ] - } + "settings": { + "layout": { + "contentSize": "1300px", + "wideSize": "1400px" }, - "styles": { - "css": "", - "elements": { - "button": { - "typography": { - "fontFamily": "var(--wp--preset--font-family--lato)" - } + "typography": { + "fontFamilies": [ + { + "name": "Lato", + "slug": "lato", + "fontFamily": "Lato", + "fontFace": [ + { + "fontFamily": "Lato", + "fontStyle": "normal", + "fontWeight": "900", + "src": "file:./assets/fonts/Lato-Black.ttf" }, - "caption": { - "typography": { - "fontFamily": "var(--wp--preset--font-family--lato)" - } + { + "fontFamily": "Lato", + "fontStyle": "italic", + "fontWeight": "900", + "src": "file:./assets/fonts/Lato-BlackItalic.ttf" }, - "heading": { - "typography": { - "fontFamily": "var(--wp--preset--font-family--lato)" - } + { + "fontFamily": "Lato", + "fontStyle": "normal", + "fontWeight": "700", + "src": "file:./assets/fonts/Lato-Bold.ttf" }, - "link": { - "typography": { - "fontFamily": "var(--wp--preset--font-family--lato)" - } + { + "fontFamily": "Lato", + "fontStyle": "italic", + "fontWeight": "700", + "src": "file:./assets/fonts/Lato-BoldItalic.ttf" + }, + { + "fontFamily": "Lato", + "fontStyle": "italic", + "fontWeight": "400", + "src": "file:./assets/fonts/Lato-Italic.ttf" + }, + { + "fontFamily": "Lato", + "fontStyle": "italic", + "fontWeight": "300", + "src": "file:./assets/fonts/Lato-LightItalic.ttf" + }, + { + "fontFamily": "Lato", + "fontStyle": "italic", + "fontWeight": "250", + "src": "file:./assets/fonts/Lato-ThinItalic.ttf" + }, + { + "fontFamily": "Lato", + "fontStyle": "normal", + "fontWeight": "300", + "src": "file:./assets/fonts/Lato-Light.ttf" + }, + { + "fontFamily": "Lato", + "fontStyle": "normal", + "fontWeight": "400", + "src": "file:./assets/fonts/Lato-Regular.ttf" + }, + { + "fontFamily": "Lato", + "fontStyle": "normal", + "fontWeight": "250", + "src": "file:./assets/fonts/Lato-Thin.ttf" } - }, - "typography": { - "fontFamily": "var(--wp--preset--font-family--lato)" + ] } + ] + } + }, + "styles": { + "css": "", + "elements": { + "button": { + "typography": { + "fontFamily": "var(--wp--preset--font-family--lato)" + } + }, + "caption": { + "typography": { + "fontFamily": "var(--wp--preset--font-family--lato)" + } + }, + "heading": { + "typography": { + "fontFamily": "var(--wp--preset--font-family--lato)" + } + }, + "link": { + "typography": { + "fontFamily": "var(--wp--preset--font-family--lato)" + } + } }, - "version": 2, - "$schema": "https://schemas.wp.org/wp/6.5/theme.json" + "typography": { + "fontFamily": "var(--wp--preset--font-family--lato)" + } + }, + "version": 2, + "$schema": "https://schemas.wp.org/wp/6.5/theme.json" } \ No newline at end of file