[wp-trac] [WordPress Trac] #61807: Twenty Twenty-Four: Button block font weight does not reflect block setting
WordPress Trac
noreply at wordpress.org
Mon Dec 2 12:29:08 UTC 2024
#61807: Twenty Twenty-Four: Button block font weight does not reflect block setting
-------------------------------------------------+-------------------------
Reporter: viralsampat | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting
| Review
Component: Bundled Theme | Version: 6.4
Severity: normal | Resolution:
Keywords: dev-feedback needs-patch has- | Focuses: css
testing-info 2nd-opinion |
-------------------------------------------------+-------------------------
Changes (by poena):
* keywords: dev-feedback needs-patch has-testing-info commit => dev-
feedback needs-patch has-testing-info 2nd-opinion
Comment:
Looking closer, the variations inside the styles folder also adds font
appearances to the button. These styles are not the same as the defaults,
so {{{inherit}}} can not be used.
Let me try to explain it better:
In theme.json, inherit would work because the default styling of the block
would be unchanged.
In the style variations, inherit would not work because the style of the
block would be changed. The variations would loose a part of their design,
and this should be avoided.
Because of this, I don't think this can be solved in the theme.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61807#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list