add font size presets

This commit is contained in:
Aadil Ayub 2024-05-08 16:13:31 +05:00
parent e57475e333
commit 7ee58f32f6

View File

@ -45,6 +45,44 @@
] ]
}, },
"typography": { "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": [ "fontFamilies": [
{ {
"fontFamily": "'Inclusive Sans', sans-serif", "fontFamily": "'Inclusive Sans', sans-serif",