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

WordPress Trac noreply at wordpress.org
Thu May 5 23:18:56 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:  has-patch needs-screenshots  |     Focuses:  ui
-----------------------------------------+------------------

Comment (by netweb):

 Replying to [comment:13 helen]:
 > Replying to [comment:8 netweb]:
 > > in [attachment:36753.4.diff] I removed the quotes around font names
 that are not required per the CSS standards.
 >
 > I am oddly torn about these quotes. I think what I like about them is
 that they separate named fonts from system aliases. But, of course, being
 inconsistent with standards and internally is not good. Any thoughts on
 that?

 Pretty much what @Otto42 said @helen covers it on the technical front

 Currently the stylelint rule I'm using is `"font-family-name-quotes":
 "double-where-recommended",` which does only wrap quotes around font names
 with whitespace in them, we could change that to `"font-family-name-
 quotes": "double-unless-keyword",` which would satisfy your suggestion and
 would quote all named fonts, and not system aliases.

 http://stylelint.io/user-guide/rules/font-family-name-quotes/#single-
 unless-keyword-and-double-unless-keyword

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


More information about the wp-trac mailing list