Skip to content

Commit 6ba1ca6

Browse files
committed
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
1 parent 1815f4c commit 6ba1ca6

File tree

2 files changed

+5
-12
lines changed

2 files changed

+5
-12
lines changed

src/wp-content/themes/twentytwentythree/styles/marigold.json

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,6 @@
153153
"elements": {
154154
"link": {
155155
"typography": {
156-
"fontSize": "var(--wp--preset--font-size--large)",
157156
"textDecoration": "none"
158157
},
159158
"color": {
@@ -168,6 +167,7 @@
168167
}
169168
},
170169
"typography": {
170+
"fontSize": "var(--wp--preset--font-size--large)",
171171
"fontWeight": "600"
172172
}
173173
},
@@ -203,14 +203,8 @@
203203
}
204204
},
205205
"core/site-title": {
206-
"elements": {
207-
"link": {
208-
"typography": {
209-
"fontSize": "var(--wp--preset--font-size--normal)"
210-
}
211-
}
212-
},
213206
"typography": {
207+
"fontSize": "var(--wp--preset--font-size--normal)",
214208
"textTransform": "lowercase"
215209
}
216210
}

src/wp-content/themes/twentytwentythree/styles/whisper.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -288,16 +288,15 @@
288288
}
289289
},
290290
"typography": {
291-
"fontFamily": "var(--wp--preset--font-family--dm-sans)",
292-
"fontSize": "var(--wp--preset--font-size--large)",
293-
"fontWeight": "700",
294-
"letterSpacing": "-0.01em",
295291
"textDecoration": "none"
296292
}
297293
}
298294
},
299295
"typography": {
296+
"fontFamily": "var(--wp--preset--font-family--dm-sans)",
300297
"fontSize": "var(--wp--preset--font-size--large)",
298+
"fontWeight": "700",
299+
"letterSpacing": "-0.01em",
301300
"lineHeight": "1.4",
302301
"textTransform": "capitalize"
303302
}

0 commit comments

Comments
 (0)