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
Browse files Browse the repository at this point in the history
  • Loading branch information
madhusudhand committed Aug 24, 2022
1 parent c0a16ca commit 966b6bb
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 @@ -309,7 +313,7 @@
},
"core/post-excerpt": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
"fontSize": "var(--wp--preset--font-size--medium)"
}
},
"core/post-date": {
Expand All @@ -331,7 +335,6 @@
},
"core/post-title": {
"typography": {
"fontSize": "var(--wp--preset--font-size--large)",
"fontWeight": "400"
},
"elements": {
Expand Down

0 comments on commit 966b6bb

Please sign in to comment.