Twenty Nineteen: Add font smoothing to editor styles.

This brings consistency between editor and front-end typography.

Props laurelfulford, sabernhardt, audrasjb.
Fixes #45909.


git-svn-id: https://develop.svn.wordpress.org/trunk@54106 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jb Audras 2022-09-08 22:40:54 +00:00
parent 6b0c7c2f8a
commit e8b6aff9d7
2 changed files with 4 additions and 0 deletions

View File

@ -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;

View File

@ -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;