mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
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:
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user