Skip to content

Commit 35026b3

Browse files
shrivastavanoloshrivastavanolot-hamanoannezazu
authored andcommitted
Global Styles: Make Button element inherit all typography styles on the frontend (WordPress#70676)
* style: update theme.json to inherit button styles on frontend * docs: update backport changelog Co-authored-by: shrivastavanolo <shreya0shrivastava@git.wordpress.org> Co-authored-by: t-hamano <wildworks@git.wordpress.org> Co-authored-by: annezazu <annezazu@git.wordpress.org>
1 parent 3ecfef1 commit 35026b3

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

backport-changelog/6.9/9268.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
https://github.com/WordPress/wordpress-develop/pull/9268
2+
3+
* https://github.com/WordPress/gutenberg/pull/70676

lib/theme.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -384,6 +384,10 @@
384384
"typography": {
385385
"fontSize": "inherit",
386386
"fontFamily": "inherit",
387+
"fontStyle": "inherit",
388+
"fontWeight": "inherit",
389+
"letterSpacing": "inherit",
390+
"textTransform": "inherit",
387391
"lineHeight": "inherit",
388392
"textDecoration": "none"
389393
},

0 commit comments

Comments
 (0)