From 854e6f925e9d8059c4b5ae2e89f1a8a548a7576a Mon Sep 17 00:00:00 2001 From: Carolina Nymark Date: Sat, 17 Aug 2024 09:15:28 +0200 Subject: [PATCH] Add spacing sizes --- theme.json | 50 ++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 48 insertions(+), 2 deletions(-) diff --git a/theme.json b/theme.json index 20ecaca9..80090f7a 100644 --- a/theme.json +++ b/theme.json @@ -48,8 +48,54 @@ ] }, "layout": { - "contentSize": "840px", - "wideSize": "1100px" + "contentSize": "645px", + "wideSize": "1340px" + }, + "spacing": { + "defaultSpacingSizes": false, + "spacingSizes": [ + { + "name": "X-Tiny", + "size": "5px", + "slug": "10" + }, + { + "name": "Tiny", + "size": "10px", + "slug": "20" + }, + { + "name": "X-Small", + "size": "20px", + "slug": "30" + }, + { + "name": "Small", + "size": "30px", + "slug": "40" + }, + { + "name": "Regular", + "size": "clamp(30px, 5vw, 50px);", + "slug": "50" + }, + { + "name": "Large", + "size": "clamp(30px, 7vw, 70px);", + "slug": "60" + }, + { + "name": "X-Large", + "size": "clamp(50px, 7vw, 90px);", + "slug": "70" + }, + { + "name": "XX-Large", + "size": "clamp(70px, 10vw, 140px);", + "slug": "80" + } + ], + "units": ["%", "px", "em", "rem", "vh", "vw"] }, "useRootPaddingAwareAlignments": true },