Skip to content

Commit

Permalink
Move Heading styles to elements.
Browse files Browse the repository at this point in the history
  • Loading branch information
bgardner committed Apr 18, 2023
1 parent 041eeee commit ecb2473
Showing 1 changed file with 7 additions and 18 deletions.
25 changes: 7 additions & 18 deletions theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -326,9 +326,6 @@
"bottom": "30px",
"top": "var(--wp--preset--spacing--medium)"
}
},
"typography": {
"fontWeight": "var(--wp--custom--font-weight--regular)"
}
},
"core/cover": {
Expand All @@ -341,12 +338,6 @@
}
}
},
"core/heading": {
"typography": {
"fontWeight": "var(--wp--custom--font-weight--regular)",
"lineHeight": "var(--wp--custom--line-height--heading)"
}
},
"core/image": {
"spacing": {
"margin": {
Expand Down Expand Up @@ -377,9 +368,7 @@
},
"core/post-title": {
"typography": {
"fontSize": "var(--wp--preset--font-size--max-36)",
"fontWeight": "var(--wp--custom--font-weight--regular)",
"lineHeight": "var(--wp--custom--line-height--heading)"
"fontSize": "var(--wp--preset--font-size--max-36)"
}
},
"core/preformatted": {
Expand Down Expand Up @@ -419,12 +408,6 @@
"fontSize": "var(--wp--preset--font-size--medium)"
}
},
"core/query-title": {
"typography": {
"fontWeight": "var(--wp--custom--font-weight--regular)",
"lineHeight": "var(--wp--custom--line-height--heading)"
}
},
"core/quote": {
"border": {
"color": "var(--wp--preset--color--contrast)",
Expand Down Expand Up @@ -523,6 +506,12 @@
"fontStyle": "inherit"
}
},
"heading": {
"typography": {
"fontWeight": "var(--wp--custom--font-weight--regular)",
"lineHeight": "var(--wp--custom--line-height--heading)"
}
},
"h1": {
"typography": {
"fontSize": "var(--wp--preset--font-size--max-36)"
Expand Down

0 comments on commit ecb2473

Please sign in to comment.