WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/04/2016 10:06:27 PM (4 years ago)
Author:
helen
Message:

Drop Open Sans in the admin in favor of system fonts.

Rejoice, for your admins will feel more native to your surrounding computing environment and likely load faster, especially when offline, as they no longer have to talk to The Google Overlord.

At the time of introduction in 3.8, there were not good system fonts common to all platforms at the time. In the years since, Windows, Android, OS X, iOS, Firefox OS, and various flavors of Linux have all gotten their own (good) system UI fonts.

There will definitely be visual bugs, mainly around alignment and spacing; these should be documented and reported on the ticket and fixed more atomically so that our current and future selves have a better understanding of what happened and why.

The style remains registered, as it is almost certainly in use by themes and plugins.

props mattmiklic.
see #36753.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/functions.php

    r37342 r37361  
    26682668            background: #fff;
    26692669            color: #444;
    2670             font-family: "Open Sans", sans-serif;
     2670            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif;
    26712671            margin: 2em auto;
    26722672            padding: 1em 2em;
     
    26792679            clear: both;
    26802680            color: #666;
    2681             font: 24px "Open Sans", sans-serif;
     2681            font-size: 24px;
    26822682            margin: 30px 0 0 0;
    26832683            padding: 0;
Note: See TracChangeset for help on using the changeset viewer.