[wp-trac] [WordPress Trac] #58383: Twenty Twenty One: Paragraph / Buttons block font weight inconsistency
WordPress Trac
noreply at wordpress.org
Tue May 30 02:21:26 UTC 2023
#58383: Twenty Twenty One: Paragraph / Buttons block font weight inconsistency
-------------------------------------------------+-------------------------
Reporter: nkeller15 | Owner: audrasjb
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: 6.3
Component: Bundled Theme | Version:
Severity: normal | Resolution:
Keywords: has-screenshots has-patch changes- | Focuses: ui, css
requested |
-------------------------------------------------+-------------------------
Comment (by sabernhardt):
Admin pages have given `strong` elements a font-weight of `600` since
[26072], and it should stay that way (except within the editor canvas).
Themes that specify the weight on the front end should also set it in the
editor, though every bundled theme since Twenty Seventeen has the
discrepancy. Twenty Seventeen to Twenty Twenty-One set the weight to
either `700` or `bolder` in `style.css` without matching it in the editor;
the two block themes rely on browser defaults.
For another possibility, the
[https://github.com/WordPress/gutenberg/blob/trunk/packages/block-
library/src/reset.scss CSS reset] could include `font-weight: bold` for
`strong` and `b` elements in any theme.
Related: #56427, GB36435 and GB27269
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58383#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list