From c3227c37763034beebc1ec3df691a080ecf54e66 Mon Sep 17 00:00:00 2001 From: audrasjb Date: Thu, 8 Sep 2022 22:42:13 +0000 Subject: [PATCH] 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 --- wp-content/themes/twentynineteen/style-editor.css | 2 ++ wp-content/themes/twentynineteen/style-editor.scss | 2 ++ wp-includes/version.php | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/wp-content/themes/twentynineteen/style-editor.css b/wp-content/themes/twentynineteen/style-editor.css index 522bb790b6..1e0bd69390 100644 --- a/wp-content/themes/twentynineteen/style-editor.css +++ b/wp-content/themes/twentynineteen/style-editor.css @@ -659,6 +659,8 @@ body .wp-block.aligncenter { /** === Base Typography === */ body { + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; font-size: 22px; font-family: "NonBreakingSpaceOverride", "Hoefler Text", Garamond, "Times New Roman", serif; line-height: 1.8; diff --git a/wp-content/themes/twentynineteen/style-editor.scss b/wp-content/themes/twentynineteen/style-editor.scss index db50c94383..8359aacacb 100644 --- a/wp-content/themes/twentynineteen/style-editor.scss +++ b/wp-content/themes/twentynineteen/style-editor.scss @@ -94,6 +94,8 @@ body { /** === Base Typography === */ body { + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; font-size: $font__size_base; @include font-family( $font__body ); line-height: $font__line-height-body; diff --git a/wp-includes/version.php b/wp-includes/version.php index a817be7b41..b8dc7cd9f5 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @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.