define button styles

This commit is contained in:
Aadil Ayub 2024-05-30 14:53:10 +05:00
parent b3af26c3fc
commit 786ecf0470

View File

@ -61,7 +61,7 @@
] ]
}, },
"layout": { "layout": {
"contentSize": "1480px", "contentSize": "640px",
"wideSize": "1760px" "wideSize": "1760px"
}, },
"typography": { "typography": {
@ -511,6 +511,58 @@
}, },
"styles": { "styles": {
"blocks": { "blocks": {
"core/button": {
"border": {
"bottom": {
"color": "var(--wp--preset--color--black)",
"style": "solid",
"width": "1px"
},
"left": {
"color": "var(--wp--preset--color--black)",
"style": "solid",
"width": "1px"
},
"radius": "0px",
"right": {
"color": "var(--wp--preset--color--black)",
"style": "solid",
"width": "1px"
},
"top": {
"color": "var(--wp--preset--color--black)",
"style": "solid",
"width": "1px"
}
},
"color": {
"gradient": "var(--wp--preset--gradient--violet-to-green)",
"text": "var(--wp--preset--color--black)"
},
"elements": {
"link": {
"color": {
"text": "var(--wp--preset--color--black)"
}
}
},
"spacing": {
"padding": {
"bottom": "0.75em",
"left": "2.5em",
"right": "2.5em",
"top": "0.75em"
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--instrument-sans)",
"fontStyle": "normal",
"fontWeight": "700",
"letterSpacing": "0.48px",
"lineHeight": "1",
"textTransform": "none"
}
},
"core/heading": { "core/heading": {
"color": { "color": {
"text": "var(--wp--preset--color--black)" "text": "var(--wp--preset--color--black)"