Skip to content
This repository has been archived by the owner on Oct 28, 2022. It is now read-only.

Commit

Permalink
fix fluid typography and block font sizes (#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
madhusudhand authored Aug 24, 2022
1 parent 0a61ced commit fedbc06
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -233,25 +233,29 @@
"fontSizes": [
{
"fluid": {
"min": "0.875rem"
"min": "0.875rem",
"max": "1rem"
},
"size": "1rem",
"slug": "small"
},
{
"fluid": {
"min": "1rem"
"min": "1rem",
"max": "1.125rem"
},
"size": "1.125rem",
"slug": "medium"
},
{
"size": "1.75rem",
"slug": "large"
"slug": "large",
"fluid": false
},
{
"size": "2.25rem",
"slug": "x-large"
"slug": "x-large",
"fluid": false
},
{
"size": "10rem",
Expand Down Expand Up @@ -317,7 +321,7 @@
},
"core/post-excerpt": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
"fontSize": "var(--wp--preset--font-size--medium)"
}
},
"core/post-date": {
Expand All @@ -340,7 +344,6 @@
},
"core/post-title": {
"typography": {
"fontSize": "var(--wp--preset--font-size--large)",
"fontWeight": "400"
},
"elements": {
Expand Down

0 comments on commit fedbc06

Please sign in to comment.