Skip to content

Commit

Permalink
Move styles from button block to button element. (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
bgardner committed Jun 10, 2022
1 parent 39c0b3e commit c04a15d
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -193,30 +193,6 @@
},
"styles": {
"blocks": {
"core/button": {
"border": {
"color": "var(--wp--preset--color--main)",
"radius": "0",
"style": "solid",
"width": "1px"
},
"color": {
"background": "var(--wp--preset--color--main)",
"text": "var(--wp--preset--color--base)"
},
"spacing": {
"padding": {
"top": "10px",
"right": "25px",
"bottom": "10px",
"left": "25px"
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"fontWeight": "var(--wp--custom--font-weight--medium)"
}
},
"core/calendar": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
Expand Down Expand Up @@ -433,6 +409,30 @@
"text": "var(--wp--preset--color--main)"
},
"elements": {
"button": {
"border": {
"color": "var(--wp--preset--color--main)",
"radius": "0",
"style": "solid",
"width": "1px"
},
"color": {
"background": "var(--wp--preset--color--main)",
"text": "var(--wp--preset--color--base)"
},
"spacing": {
"padding": {
"top": "10px",
"right": "25px",
"bottom": "10px",
"left": "25px"
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"fontWeight": "var(--wp--custom--font-weight--medium)"
}
},
"h1": {
"typography": {
"fontSize": "var(--wp--preset--font-size--x-large)"
Expand Down

0 comments on commit c04a15d

Please sign in to comment.