From fedbc06c9fd33a447b7f14bdd827aa5b0a2f4fe1 Mon Sep 17 00:00:00 2001 From: Madhu Dollu Date: Wed, 24 Aug 2022 19:27:02 +0530 Subject: [PATCH] fix fluid typography and block font sizes (#109) --- theme.json | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/theme.json b/theme.json index 466201c..9c838f1 100644 --- a/theme.json +++ b/theme.json @@ -233,25 +233,29 @@ "fontSizes": [ { "fluid": { - "min": "0.875rem" + "min": "0.875rem", + "max": "1rem" }, "size": "1rem", "slug": "small" }, { "fluid": { - "min": "1rem" + "min": "1rem", + "max": "1.125rem" }, "size": "1.125rem", "slug": "medium" }, { "size": "1.75rem", - "slug": "large" + "slug": "large", + "fluid": false }, { "size": "2.25rem", - "slug": "x-large" + "slug": "x-large", + "fluid": false }, { "size": "10rem", @@ -317,7 +321,7 @@ }, "core/post-excerpt": { "typography": { - "fontSize": "var(--wp--preset--font-size--small)" + "fontSize": "var(--wp--preset--font-size--medium)" } }, "core/post-date": { @@ -340,7 +344,6 @@ }, "core/post-title": { "typography": { - "fontSize": "var(--wp--preset--font-size--large)", "fontWeight": "400" }, "elements": {