From 63e7da3b4d19106a200e29a39fd43805b3d944b2 Mon Sep 17 00:00:00 2001 From: Jason Lemay Date: Wed, 10 May 2023 14:09:49 -0400 Subject: [PATCH] New padding for content --- theme.json | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/theme.json b/theme.json index c11c11a7..6603a400 100644 --- a/theme.json +++ b/theme.json @@ -96,7 +96,12 @@ "name": "7", "size": "var(--wp--preset--font-size--xxxx-large)", "slug": "70" - } + }, + { + "name": "Default content padding", + "size": "clamp(1.5rem, var(--wp--preset--font-size--xxxx-large), 4vw)", + "slug": "default-content-padding" + } ], "units": [ "px", @@ -741,8 +746,8 @@ "spacing": { "blockGap": "0.8182rem", "padding": { - "left": "var:preset|spacing|30", - "right": "var:preset|spacing|30" + "left": "var:preset|spacing|default-content-padding", + "right": "var:preset|spacing|default-content-padding" } }, "typography": { @@ -826,4 +831,4 @@ ], "version": 2, "$schema": "https://schemas.wp.org/wp/6.2/theme.json" -} \ No newline at end of file +}