Compare commits

...

2 Commits

Author SHA1 Message Date
decb995edc style separator block 2024-05-09 14:31:24 +05:00
577a0cdc5c standardize font size slugs 2024-05-09 14:26:03 +05:00

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,9 +260,19 @@
"style": "solid" "style": "solid"
}, },
"typography": { "typography": {
"fontSize": "var(--wp--preset--font-size--sm)", "fontSize": "var(--wp--preset--font-size--small)",
"textTransform": "uppercase" "textTransform": "uppercase"
} }
},
"core/separator": {
"border": {
"color": "currentColor",
"style": "solid",
"width": "0 0 1px 0"
},
"color": {
"text": "var(--wp--preset--color--main-green)"
}
} }
}, },
"elements": { "elements": {