From 7ee58f32f657a438018e5a6cc4b6d32afbc887be Mon Sep 17 00:00:00 2001 From: Aadil Ayub Date: Wed, 8 May 2024 16:13:31 +0500 Subject: [PATCH] add font size presets --- theme.json | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/theme.json b/theme.json index c2659fc..ac6d4d0 100644 --- a/theme.json +++ b/theme.json @@ -45,6 +45,44 @@ ] }, "typography": { + "fluid": true, + "lineHeight": true, + "textColumns": true, + "fontSizes": [ + { + "name": "Small", + "size": "16px", + "slug": "sm", + "fluid": false + }, + { + "name": "Medium", + "size": "20px", + "slug": "md", + "fluid": { + "min": "18px", + "max": "20px" + } + }, + { + "name": "Large", + "size": "40px", + "slug": "lg", + "fluid": { + "min": "32px", + "max": "40px" + } + }, + { + "name": "Extra Large", + "size": "48px", + "slug": "xl", + "fluid": { + "min": "40px", + "max": "48px" + } + } + ], "fontFamilies": [ { "fontFamily": "'Inclusive Sans', sans-serif",