Twenty Nineteen: Add font smoothing to editor styles.

This brings consistency between editor and front-end typography.

Props laurelfulford, sabernhardt, audrasjb.
Fixes #45909.

Built from https://develop.svn.wordpress.org/trunk@54106


git-svn-id: http://core.svn.wordpress.org/trunk@53665 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
audrasjb 2022-09-08 22:42:13 +00:00
parent ee5b219070
commit c3227c3776
3 changed files with 5 additions and 1 deletions

View File

@ -659,6 +659,8 @@ body .wp-block.aligncenter {
/** === Base Typography === */ /** === Base Typography === */
body { body {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-size: 22px; font-size: 22px;
font-family: "NonBreakingSpaceOverride", "Hoefler Text", Garamond, "Times New Roman", serif; font-family: "NonBreakingSpaceOverride", "Hoefler Text", Garamond, "Times New Roman", serif;
line-height: 1.8; line-height: 1.8;

View File

@ -94,6 +94,8 @@ body {
/** === Base Typography === */ /** === Base Typography === */
body { body {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-size: $font__size_base; font-size: $font__size_base;
@include font-family( $font__body ); @include font-family( $font__body );
line-height: $font__line-height-body; line-height: $font__line-height-body;

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '6.1-alpha-54105'; $wp_version = '6.1-alpha-54106';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.