Twenty Twenty-Three: Allow changing Site Title font size in Marigold and Whisper styles.

This changeset moves font styling from link element to site title (or post title) block in Marigold and Whisper style variations, which allows to change Site 
Title block font size.

Props ryelle, shuvoaftab, sabernhardt, alvitazwar052, shailu25, poena, audrasjb.
Fixes #57971.




git-svn-id: https://develop.svn.wordpress.org/trunk@56131 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jb Audras
2023-07-04 13:38:56 +00:00
parent 1815f4c76c
commit 6ba1ca6ede
2 changed files with 5 additions and 12 deletions

View File

@@ -153,7 +153,6 @@
"elements": {
"link": {
"typography": {
"fontSize": "var(--wp--preset--font-size--large)",
"textDecoration": "none"
},
"color": {
@@ -168,6 +167,7 @@
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--large)",
"fontWeight": "600"
}
},
@@ -203,14 +203,8 @@
}
},
"core/site-title": {
"elements": {
"link": {
"typography": {
"fontSize": "var(--wp--preset--font-size--normal)"
}
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--normal)",
"textTransform": "lowercase"
}
}

View File

@@ -288,16 +288,15 @@
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--dm-sans)",
"fontSize": "var(--wp--preset--font-size--large)",
"fontWeight": "700",
"letterSpacing": "-0.01em",
"textDecoration": "none"
}
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--dm-sans)",
"fontSize": "var(--wp--preset--font-size--large)",
"fontWeight": "700",
"letterSpacing": "-0.01em",
"lineHeight": "1.4",
"textTransform": "capitalize"
}