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.



Built from https://develop.svn.wordpress.org/trunk@56131


git-svn-id: http://core.svn.wordpress.org/trunk@55643 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
audrasjb 2023-07-04 13:40:29 +00:00
parent bbfe308f33
commit 33133ad818
3 changed files with 6 additions and 13 deletions

View File

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

View File

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

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '6.3-beta3-56130'; $wp_version = '6.3-beta3-56131';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.