[wp-trac] [WordPress Trac] #58383: Twenty Twenty One: Paragraph / Buttons block font weight inconsistency

WordPress Trac noreply at wordpress.org
Tue May 23 20:56:51 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):

 [https://github.com/WordPress/twentytwentyone/pull/513 PR 513] purposely
 changed the front-end `font-weight` from `600` to `700` for `strong`
 elements before the theme went public. The editor's `font-weight` comes
 from `wp-admin/css/common.css`, but Twenty Twenty-One should override
 that. Should the [https://core.trac.wordpress.org/browser/trunk/src/wp-
 content/themes/twentytwentyone/assets/sass/style-editor.scss theme's
 editor style] import **all** of
 [https://core.trac.wordpress.org/browser/trunk/src/wp-
 content/themes/twentytwentyone/assets/sass/04-elements/misc.scss
 "04-elements/misc.scss"] or only `b, strong`?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/58383#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list