standardize font size slugs

This commit is contained in:
Aadil Ayub 2024-05-09 14:26:03 +05:00
parent 306e407f1f
commit 577a0cdc5c

View File

@ -53,13 +53,13 @@
{ {
"name": "Small", "name": "Small",
"size": "16px", "size": "16px",
"slug": "sm", "slug": "small",
"fluid": false "fluid": false
}, },
{ {
"name": "Medium", "name": "Medium",
"size": "20px", "size": "20px",
"slug": "md", "slug": "medium",
"fluid": { "fluid": {
"min": "18px", "min": "18px",
"max": "20px" "max": "20px"
@ -68,7 +68,7 @@
{ {
"name": "Large", "name": "Large",
"size": "40px", "size": "40px",
"slug": "lg", "slug": "large",
"fluid": { "fluid": {
"min": "32px", "min": "32px",
"max": "40px" "max": "40px"
@ -77,7 +77,7 @@
{ {
"name": "Extra Large", "name": "Extra Large",
"size": "48px", "size": "48px",
"slug": "xl", "slug": "x-large",
"fluid": { "fluid": {
"min": "40px", "min": "40px",
"max": "48px" "max": "48px"
@ -260,7 +260,7 @@
"style": "solid" "style": "solid"
}, },
"typography": { "typography": {
"fontSize": "var(--wp--preset--font-size--sm)", "fontSize": "var(--wp--preset--font-size--small)",
"textTransform": "uppercase" "textTransform": "uppercase"
} }
} }