[wp-trac] [WordPress Trac] #36753: Use system fonts for a faster, more native-feeling admin

WordPress Trac noreply at wordpress.org
Thu May 12 17:13:52 UTC 2016


#36753: Use system fonts for a faster, more native-feeling admin
-------------------------------------------+------------------
 Reporter:  helen                          |       Owner:
     Type:  task (blessed)                 |      Status:  new
 Priority:  normal                         |   Milestone:  4.6
Component:  Administration                 |     Version:
 Severity:  normal                         |  Resolution:
 Keywords:  needs-screenshots needs-patch  |     Focuses:  ui
-------------------------------------------+------------------
Changes (by celloexpressions):

 * keywords:  has-patch needs-screenshots => needs-screenshots needs-patch


Comment:

 I noticed an issue in the customizer where text that has `font-weight:
 bold` is now bolder than text with `font-weight: 600` where they
 previously used the same font weight. In the case screenshoted above, this
 causes a visual reversal of the font hierarchy hierarchy (which also has a
 slightly smaller text size, but is now bolder). I believe that this
 happens because `bold` is equivalent to `700`, whereas we didn't have a
 `700` weight of Open Sans so it used the `600` weight when `bold` was
 used. In my case on Chrome/Windows, Segoe UI must have both weights.

 We will need to start being much more careful about usage of font weights
 since there may be variations across systems. My suggestion would be to
 update our CSS guidelines to require use of numerical font-weights. We
 also need to audit current uses and adjust them accordingly. Should I
 create a new ticket for this, or can we do it here? Will need to happen in
 4.6 since the change causes issues at least in one spot so far.

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


More information about the wp-trac mailing list