From 07f6bbba681d00be087baba143ea7a20643e4bef Mon Sep 17 00:00:00 2001 From: Aadil Ayub Date: Thu, 6 Jun 2024 17:35:14 +0500 Subject: [PATCH] remove default paragraph styling --- theme.json | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/theme.json b/theme.json index b8ac804..11e2e8b 100644 --- a/theme.json +++ b/theme.json @@ -65,6 +65,7 @@ "wideSize": "1760px" }, "typography": { + "defaultFontSizes": false, "fontFamilies": [ { "fontFace": [ @@ -594,16 +595,6 @@ "lineHeight": "1.45" } }, - "core/paragraph": { - "color": { - "text": "var(--wp--preset--color--black)" - }, - "typography": { - "fontFamily": "var(--wp--preset--font-family--instrument-sans)", - "fontSize": "var(--wp--preset--font-size--medium)", - "lineHeight": "1.45" - } - }, "core/post-title": { "color": { "text": "var(--wp--preset--color--black)" @@ -645,7 +636,7 @@ } } }, - "css": "figcaption.wp-element-caption {\n width: fit-content;\n margin: 0;\n padding: 8px 12px;\n}\n\n.main-header-nav .wp-block-navigation-item {\n justify-content: center;\n border: 1px solid;\n flex-grow: 1;\n border-left: 0;\n padding-block: 0.5em\n}\n\n.main-header-nav .wp-block-navigation-item:last-of-type {\n border-right: 0;\n}\n\nnav.wp-block-navigation.mobile-header-nav {\n border-top: 1px solid;\n border-bottom: 1px solid;\n padding-block: 15px\n}\n\nul.wp-block-navigation.mobile-header-nav li {\n font-size: 40px !important;\n margin-block: .5em;\n}\n\n@media (min-width: 1080px) {\n .wp-block-column.footer-gradient-column {\n padding-left: 2rem !important;\n border-left: 8px solid var(--wp--preset--color--turquoise-green);\n}\n}\n\n@media (max-width: 786px) {\n.wp-block-column.footer-gradient-column {\n padding-top: 1.5rem !important;\n border-top: 8px solid var(--wp--preset--color--turquoise-green);\n}\n}", + "css": "figcaption.wp-element-caption {\n width: fit-content;\n margin: 0;\n padding: 8px 12px;\n}\n\n.main-header-nav .wp-block-navigation-item {\n justify-content: center;\n border: 1px solid;\n flex-grow: 1;\n border-left: 0;\n padding-block: 0.5em\n}\n\n.main-header-nav .wp-block-navigation-item:last-of-type {\n border-right: 0;\n}\n\nnav.wp-block-navigation.mobile-header-nav {\n border-top: 1px solid;\n border-bottom: 1px solid;\n padding-block: 15px\n}\n\nul.wp-block-navigation.mobile-header-nav li {\n font-size: 40px !important;\n margin-block: .5em;\n}\n\n@media (min-width: 1080px) {\n .wp-block-column.footer-gradient-column {\n padding-left: 2rem !important;\n border-left: 8px solid var(--wp--preset--color--turquoise-green);\n}\n}\n\n@media (max-width: 786px) {\n.wp-block-column.footer-gradient-column {\n padding-top: 1.5rem !important;\n border-top: 8px solid var(--wp--preset--color--turquoise-green);\n}\n}\n\n.overlap {\n z-index: 21;\n}", "elements": { "caption": { "color": { @@ -661,7 +652,7 @@ } }, "typography": { - "fontFamily": "sans-serif" + "fontFamily": "var(--wp--preset--font-family--instrument-sans)" } }, "templateParts": [ @@ -676,6 +667,6 @@ "title": "Footer" } ], - "version": 2, - "$schema": "https://schemas.wp.org/wp/6.5/theme.json" + "version": 3, + "$schema": "https://schemas.wp.org/trunk/theme.json" } \ No newline at end of file